Message ID | 20240528075954.3608118-1-alexander.sverdlin@siemens.com (mailing list archive) |
---|---|
Headers | show |
Series | net: ethernet: ti: am65-cpsw-nuss: support stacked switches | expand |
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Tue, 28 May 2024 09:59:48 +0200 you wrote: > From: Alexander Sverdlin <alexander.sverdlin@siemens.com> > > Currently an external Ethernet switch connected to a am65-cpsw-nuss CPU > port will not be probed successfully because of_find_net_device_by_node() > will not be able to find the netdev of the CPU port. > > It's necessary to populate of_node of the struct device for the > am65-cpsw-nuss ports. DT nodes of the ports are already stored in per-port > private data, but because of some legacy reasons the naming ("phy_node") > was misleading. > > [...] Here is the summary with links: - [net-next,1/2] net: ethernet: ti: am65-cpsw-nuss: rename phy_node -> port_np https://git.kernel.org/netdev/net-next/c/78269025e192 - [net-next,2/2] net: ethernet: ti: am65-cpsw-nuss: populate netdev of_node https://git.kernel.org/netdev/net-next/c/29c71bf2a05a You are awesome, thank you!
From: Alexander Sverdlin <alexander.sverdlin@siemens.com> Currently an external Ethernet switch connected to a am65-cpsw-nuss CPU port will not be probed successfully because of_find_net_device_by_node() will not be able to find the netdev of the CPU port. It's necessary to populate of_node of the struct device for the am65-cpsw-nuss ports. DT nodes of the ports are already stored in per-port private data, but because of some legacy reasons the naming ("phy_node") was misleading. Alexander Sverdlin (2): net: ethernet: ti: am65-cpsw-nuss: rename phy_node -> port_np net: ethernet: ti: am65-cpsw-nuss: populate netdev of_node drivers/net/ethernet/ti/am65-cpsw-nuss.c | 7 ++++--- drivers/net/ethernet/ti/am65-cpsw-nuss.h | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-)