]> git.baikalelectronics.ru Git - uboot.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)
commit38734ec668251c57556291fc9b8092e7f86662f4
treea84845eee8704ed68cd06c9db292279ef227f640
parent4b2572d6b3989dd02de12506d3da9a3904a05dc8
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