> > Do you need to disable interrupts? I suppose the real question is, is > > it guaranteed phy_disconnect() is called before the driver is removed? > The MAC driver should call phy_disconnect() when it is removed. Also, the > user should not be able to remove the PHY driver if is in uses. That was what i was thinking. But i've never unloaded a PHY driver, so i've no idea what actually happens. Andrew