]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: e1000: implement eth_write_hwaddr
authorHannu Lounento <hannu.lounento@ge.com>
Wed, 10 Jan 2018 19:31:26 +0000 (20:31 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 4 Feb 2018 11:00:58 +0000 (12:00 +0100)
commit8d9bde0dbb1972f7cfff3757238abe311e21d4d0
treea84845eee8704ed68cd06c9db292279ef227f640
parente0a75fed9e5940d976dd10f2c27194e5fd5f7944
net: e1000: implement eth_write_hwaddr

Implement programming MAC address to the hardware, i.e. external flash
seen as EEPROM.

MAC address is only written if it differs from what is already stored in
flash or if reading the current MAC address fails.

Signed-off-by: Hannu Lounento <hannu.lounento@ge.com>
CC: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/net/e1000.c