]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: smc911x: Automatically Update ethaddr with MAC
authorAdam Ford <aford173@gmail.com>
Tue, 18 Aug 2020 13:19:02 +0000 (08:19 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 20:48:18 +0000 (16:48 -0400)
commit387cbf096e443705fa66776027273ed257ec6ca3
tree6532cc9252b53c541d8c7d91b8c32344aa15daf6
parent66e036bab503cddd6afbfecc8b7fcd8941d8bd7d
net: smc911x: Automatically Update ethaddr with MAC

The ethernet controller can read the MAC from EEPROM and display it,
but if ethaddr is not set, the ethernet is still unavailable.

This patch checks will automatically set the MAC address if it has
not already been set.

Signed-off-by: Adam Ford <aford173@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/smc911x.c