Messages in this thread Patch in this message | | | From | Michael Walle <> | Subject | [PATCH RFC net-next v2 2/8] net: phy: mscc-miim: add probe_capabilities | Date | Fri, 25 Mar 2022 22:35:12 +0100 |
| |
The driver is currently only capable of doing c22 accesses. Add the corresponding probe_capabilities.
Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> --- drivers/net/mdio/mdio-mscc-miim.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/net/mdio/mdio-mscc-miim.c b/drivers/net/mdio/mdio-mscc-miim.c index 582969751b4c..c9efcfa2a1ce 100644 --- a/drivers/net/mdio/mdio-mscc-miim.c +++ b/drivers/net/mdio/mdio-mscc-miim.c @@ -225,6 +225,7 @@ int mscc_miim_setup(struct device *dev, struct mii_bus **pbus, const char *name, bus->read = mscc_miim_read; bus->write = mscc_miim_write; bus->reset = mscc_miim_reset; + bus->probe_capabilities = MDIOBUS_C22; snprintf(bus->id, MII_BUS_ID_SIZE, "%s-mii", dev_name(dev)); bus->parent = dev; -- 2.30.2
| |