Re: [PATCH net-next] net: phy: Also request modules for C45 IDs

2018-11-30 Thread Andrew Lunn
> @@ -606,6 +606,18 @@ struct phy_device *phy_device_create(struct mii_bus > *bus, int addr, int phy_id, >* there's no driver _already_ loaded. >*/ > request_module(MDIO_MODULE_PREFIX MDIO_ID_FMT, MDIO_ID_ARGS(phy_id)); This line above is for C22. If you look at phy_bus_matc

[PATCH net-next] net: phy: Also request modules for C45 IDs

2018-11-30 Thread Jose Abreu
Logic of phy_device_create() requests PHY modules according to PHY ID but for C45 PHYs we use different field for the IDs. Let's also request the modules for these IDs. Signed-off-by: Jose Abreu Cc: Andrew Lunn Cc: Florian Fainelli Cc: "David S. Miller" Cc: Joao Pinto --- drivers/net/phy/ph