Re: [PATCH net-next 4/6] net: mdio: scan bus based on bus capabilities for C22 and C45

From: Jesse Brandeburg
Date: Tue Jan 17 2023 - 20:14:18 EST


On 1/16/2023 4:55 AM, Michael Walle wrote:
From: Andrew Lunn <andrew@xxxxxxx>

Now that all MDIO bus drivers which set probe_capabilities to
MDIOBUS_C22_C45 have been converted to use the name API for C45
transactions, perform the scanning of the bus based on which methods
the bus provides.

Signed-off-by: Andrew Lunn <andrew@xxxxxxx>
Signed-off-by: Michael Walle <michael@xxxxxxxx>

Nice, cleanup is looking much better

Reviewed-by: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx>