Deleted Added
full compact
97c97
< "$FreeBSD: head/sys/dev/mii/tlphy.c 95667 2002-04-28 19:25:07Z phk $";
---
> "$FreeBSD: head/sys/dev/mii/tlphy.c 95722 2002-04-29 13:07:38Z phk $";
107d106
< static int tlphy_detach (device_t);
113c112
< DEVMETHOD(device_detach, tlphy_detach),
---
> DEVMETHOD(device_detach, mii_phy_detach),
229,242d227
< static int tlphy_detach(dev)
< device_t dev;
< {
< struct tlphy_softc *sc;
< struct mii_data *mii;
<
< sc = device_get_softc(dev);
< mii = device_get_softc(device_get_parent(dev));
< sc->sc_mii.mii_dev = NULL;
< LIST_REMOVE(&sc->sc_mii, mii_list);
<
< return(0);
< }
<