]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: rtl8139: Read HW address from EEPROM only on probe
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 9 May 2020 20:34:43 +0000 (22:34 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jun 2020 17:17:23 +0000 (13:17 -0400)
commitd8afb8b28efb5af640d693e7f848732141482cfb
treee648e6451cc3c88b155b41f93e5093b9def96832
parent2df3a51510758dc6208ecf36f5e4b929d01f2dd1
net: rtl8139: Read HW address from EEPROM only on probe

Do not re-read the HW address from the EEPROM on every start of
transfer, otherwise the user will not be able to adjust ethaddr
as needed. Read the address only once, when the card is detected.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/rtl8139.c