*** mii_physubr.c.orig Fri Apr 23 10:01:32 2004 --- mii_physubr.c Fri Apr 23 10:03:13 2004 *************** *** 226,231 **** --- 226,242 ---- * See above. */ return (0); + } else { + /* + * If the link has gone down and we previously + * thought it was up, update our status and trigger + * a notification. + */ + if ((sc->mii_pdata->mii_media_status & + (IFM_AVALID|IFM_ACTIVE)) == (IFM_AVALID|IFM_ACTIVE)) { + sc->mii_pdata->mii_media_status &= ~IFM_ACTIVE; + mii_phy_update(sc, MII_TICK); + } } /*