Deleted Added
full compact
32c32
< * $FreeBSD: head/sys/dev/mii/mlphy.c 95705 2002-04-29 06:48:20Z phk $
---
> * $FreeBSD: head/sys/dev/mii/mlphy.c 95722 2002-04-29 13:07:38Z phk $
77d76
< static int mlphy_detach (device_t);
83c82
< DEVMETHOD(device_detach, mlphy_detach),
---
> DEVMETHOD(device_detach, mii_phy_detach),
177,191d175
< static int mlphy_detach(dev)
< device_t dev;
< {
< struct mlphy_softc *sc;
< struct mii_data *mii;
<
< sc = device_get_softc(dev);
< mii = device_get_softc(device_get_parent(dev));
< mii_phy_auto_stop(&sc->ml_mii);
< sc->ml_mii.mii_dev = NULL;
< LIST_REMOVE(&sc->ml_mii, mii_list);
<
< return(0);
< }
<