From: Marek Vasut Date: Sat, 11 Oct 2014 16:42:58 +0000 (+0200) Subject: net: smc911x: Keep MAC programmed X-Git-Tag: v2015.01-rc1~30 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=99dd6ab40505d2b11424dc8750f12e32ccb478f4;p=u-boot net: smc911x: Keep MAC programmed Make sure to keep the MAC address programmed in the SMC911x ADDRH and ADDRL registers. Linux can read those registers to determine the MAC address on EEPROM-less configurations. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Tom Rini --- diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index b097c1a56f..5959672370 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -187,6 +187,7 @@ static int smc911x_send(struct eth_device *dev, void *packet, int length) static void smc911x_halt(struct eth_device *dev) { smc911x_reset(dev); + smc911x_handle_mac_address(dev); } static int smc911x_rx(struct eth_device *dev)