[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220216175543.l6smw26vl4qencau@skbuf>
Date: Wed, 16 Feb 2022 19:55:43 +0200
From: Vladimir Oltean <olteanv@...il.com>
To: Måns Rullgård <mans@...sr.com>
Cc: Florian Fainelli <f.fainelli@...il.com>, netdev@...r.kernel.org,
Egil Hjelmeland <privat@...l-hjelmeland.no>,
Andrew Lunn <andrew@...n.ch>,
Juergen Borleis <jbe@...gutronix.de>,
Grygorii Strashko <grygorii.strashko@...com>,
lorenzo@...nel.org
Subject: Re: DSA using cpsw and lan9303
On Wed, Feb 16, 2022 at 05:47:32PM +0000, Måns Rullgård wrote:
> The LAN9303 has (R)MII for port 0 and internal PHYs for ports 1/2, so
> there's really only one sensible way to connect it, even though the
> switch core has identical functionality for all ports.
As strange as it may seem to you, people are connecting other switches
to a Beaglebone Black and using one of the internal PHY ports as a CPU
port. That driver did not need any modification for that particular
aspect (the port number), even though that use case was not directly planned:
https://patchwork.kernel.org/project/netdevbpf/patch/20210814025003.2449143-11-colin.foster@in-advantage.com/#24380929
Powered by blists - more mailing lists