[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240528075954.3608118-1-alexander.sverdlin@siemens.com>
Date: Tue, 28 May 2024 09:59:48 +0200
From: "A. Sverdlin" <alexander.sverdlin@...mens.com>
To: netdev@...r.kernel.org
Cc: Alexander Sverdlin <alexander.sverdlin@...mens.com>,
Roger Quadros <rogerq@...nel.org>,
Grygorii Strashko <grygorii.strashko@...com>,
Chintan Vankar <c-vankar@...com>
Subject: [PATCH net-next 0/2] net: ethernet: ti: am65-cpsw-nuss: support stacked switches
From: Alexander Sverdlin <alexander.sverdlin@...mens.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(-)
--
2.45.0
Powered by blists - more mailing lists