On 2020-12-03, Florian Fainelli <f.faine...@gmail.com> wrote: > You would have to have a local hack that intercepts the macb_ioctl() > and instead of calling phylink_mii_ioctl() it would have to > implement a custom ioctl() that does what > drivers/net/phy/phy.c::phy_mii_ioctl does except the mdiobus should > be pointed to the MACB MDIO bus instance and not be derived from the > phy_device instance (because that one points to the fixed PHY).
So I can avoid my local hack to macb_main.c by doing a doing a local hack to macb_main.c? -- Grant