summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-04-12 22:49:26 -0700
committerWolfgang Denk <wd@denx.de>2009-06-12 20:39:47 +0200
commit641e0925e4bf7adf8e2e04e3ad81b840fd71cadd (patch)
tree2ced1e5c623193212fb8204890ac9524ef5a866f /api
parentc790b04d230363d03939dc008bcc80f3ba4de1ae (diff)
downloadtalos-obmc-uboot-641e0925e4bf7adf8e2e04e3ad81b840fd71cadd.tar.gz
talos-obmc-uboot-641e0925e4bf7adf8e2e04e3ad81b840fd71cadd.zip
DaVinci Ethernet cleanup
Chips without the EMAC controller won't need the utilities it uses to read an Ethernet address from EEPROM; so don't include them needlessly. Use is_valid_ether() to validate the address from EEPROM. All-zero addresses aren't the only invalid addresses. A fully erased EEPROM returns all-ones, also invalid... Switch those Ethernet utilities to use "%pM" for printing MAC addresses; and not say ROM when they mean EEPROM. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Acked-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud