[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250411120915.3864437-1-mwalle@kernel.org>
Date: Fri, 11 Apr 2025 14:09:13 +0200
From: Michael Walle <mwalle@...nel.org>
To: Saravana Kannan <saravanak@...gle.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Michael Walle <mwalle@...nel.org>
Subject: [PATCH net-next 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 | 27 +++++++++++++-----------
1 file changed, 15 insertions(+), 12 deletions(-)
--
2.39.5
Powered by blists - more mailing lists