Skip to content
Commit b743bbd2 authored by Thierry Reding's avatar Thierry Reding Committed by Joe Hershberger
Browse files

net: eth-uclass: Write MAC address to hardware after probe



In order for the device to use the proper MAC address, which can have
been configured in the environment prior to the device being registered,
ensure that the MAC address is written after the device has been probed.
For devices that are registered before the network stack is initialized,
this is already done during eth_initialize(). If the Ethernet device is
on a bus that is not initialized on early boot, such as PCI, the device
is not available at the time eth_initialize() is called, so we need the
MAC address programming to also happen after probe.

Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 8a802a2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment