Commit 99dd6ab40505d2b11424dc8750f12e32ccb478f4

Authored by Marek Vasut
Committed by Tom Rini
1 parent 389b89c70f

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 <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Tom Rini <trini@ti.com>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/net/smc911x.c
... ... @@ -187,6 +187,7 @@
187 187 static void smc911x_halt(struct eth_device *dev)
188 188 {
189 189 smc911x_reset(dev);
  190 + smc911x_handle_mac_address(dev);
190 191 }
191 192  
192 193 static int smc911x_rx(struct eth_device *dev)