[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YGtksD5p5JVpnazu@lunn.ch>
Date: Mon, 5 Apr 2021 21:27:44 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Danilo Krummrich <danilokrummrich@...develop.de>
Cc: Russell King - ARM Linux admin <linux@...linux.org.uk>,
davem@...emloft.net, hkallweit1@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, jeremy.linton@....com
Subject: Re: [PATCH 2/2] net: mdio: support c45 peripherals on c22 busses
> Now, instead of encoding this information of the bus' capabilities at both
> places, I'd propose just checking the mii_bus->capabilities field in the
> mdiobus_c45_*() functions. IMHO this would be a little cleaner, than having two
> places where this information is stored. What do you think about that?
You will need to review all the MDIO bus drivers to make sure they
correctly set the capabilities. There is something like 55 using
of_mdiobus_register() and 45 using mdiobus_register(). So you have 100
drivers to review.
Andrew
Powered by blists - more mailing lists