On 12/30/20 5:00 PM, Andrew Lunn wrote:
+static int ks8851_mdio_read(struct mii_bus *bus, int phy_id, int reg) +{ + struct ks8851_net *ks = bus->priv; + + if (phy_id != 0) + return 0xffffffff; +Please check for C45 and return -EOPNOTSUPP.
The ks8851_reg_read() does all the register checking already.