Deleted Added
full compact
29c29
< * $FreeBSD: head/sys/dev/mii/inphy.c 95718 2002-04-29 11:57:30Z phk $
---
> * $FreeBSD: head/sys/dev/mii/inphy.c 95722 2002-04-29 13:07:38Z phk $
56d55
< static int inphy_detach(device_t dev);
62c61
< DEVMETHOD(device_detach, inphy_detach),
---
> DEVMETHOD(device_detach, mii_phy_detach),
156,170d154
< inphy_detach(device_t dev)
< {
< struct mii_softc *sc;
< struct mii_data *mii;
<
< sc = device_get_softc(dev);
< mii = device_get_softc(device_get_softc(dev));
< mii_phy_auto_stop(sc);
< sc->mii_dev = NULL;
< LIST_REMOVE(sc, mii_list);
<
< return (0);
< }
<
< static int