mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
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>
This commit is contained in:
parent
389b89c70f
commit
99dd6ab405
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue