Skip to content

net: ethernet: ti: am65-cpsw: Fix MAC address fetching

Michael Walle lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied 2/2
  2. v12 patches 1 replySuperseded

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: ethernet: ti: am65-cpsw: set fwnode for portsdrivers/net/ethernet/ti/am65-cpsw-nuss.c+1 -10 repliesApplied
2/2net: ethernet: ti: am65-cpsw: handle -EPROBE_DEFERdrivers/net/ethernet/ti/am65-cpsw-nuss.c+13 -111 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSaravana KannanAndrew Lunn
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
2.39.5