[PATCH net-next v2 0/2] net: ethernet: ti: am65-cpsw: Fix MAC address fetching

Michael Walle posted 2 patches 8 months, 1 week ago
drivers/net/ethernet/ti/am65-cpsw-nuss.c | 26 +++++++++++++-----------
1 file changed, 14 insertions(+), 12 deletions(-)
[PATCH net-next v2 0/2] net: ethernet: ti: am65-cpsw: Fix MAC address fetching
Posted by Michael Walle 8 months, 1 week ago
MAC addresses can be fetched from a NVMEM device. of_get_mac_address()
will return EPROBE_DEFER if that device is not available yet. That
isn't handled correctly by the driver and it will always fall back
to either a random MAC address or it's own "fetch by fuse" method.

Also, if the ethernet (sub)node has a link to the nvmem device,
it will fail to create a device link as the fwnode parameter isn't
populated. That's fixed in the first patch.

Michael Walle (2):
  net: ethernet: ti: am65-cpsw: set fwnode for ports
  net: ethernet: ti: am65-cpsw: handle -EPROBE_DEFER

 drivers/net/ethernet/ti/am65-cpsw-nuss.c | 26 +++++++++++++-----------
 1 file changed, 14 insertions(+), 12 deletions(-)

-- 
2.39.5