summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-09-15 12:53:22 -0600
committerJoe Hershberger <joe.hershberger@ni.com>2016-10-13 12:25:40 -0500
commitc9abfbdd66ed97e1cac8553d0b31bd23f68480a9 (patch)
tree1209ed09d3a968c644226db8ab8eadf4b07c458e /include/configs
parent6a2981a7132c206e6099938fa0476301f4dfe3fd (diff)
net: smsc95xx: fix DM MAC address reading
eth-uclass.c expects DM-capable Ethernet adapters to implement ops-> read_rom_hwaddr(), or for some other mechanism to set pdata->enetaddr, or for the user to set environment variable $usbethaddr. Without any of these, it will refuse to initialize the device since no valid MAC address is known. Implement this function for the smsc95xx driver. With this feature implemented, there is no point smsc95xx_init_common() re-reading the MAC address from ROM, so ifdef out this code when DM_ETH is enabled. This allows (at least) the built-in Ethernet on the NVIDIA Harmony board to operate again. Fixes: 0990fcb77219 ("net: smsc95xx: Add driver-model support") Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/configs')
0 files changed, 0 insertions, 0 deletions