> Yes, after reverting this commit I no longer get the kernel crash.

And i guess you don't have a specific PHY driver for you PHYs. You are
using the generic PHY driver?

Could you try modifying phy_attach_direct() such that the
try_module_get() is after:

       /* Assume that if there is no driver, that it doesn't
         * exist, and we should use the genphy driver.
         */
        if (!d->driver) {
        <snip>
        } 

Thanks
        Andrew

Reply via email to