The following reply was made to PR kern/158156; it has been noted by GNATS.
From: Marius Strobl <mar...@alchemy.franken.de> To: bug-follo...@freebsd.org, j...@ntu.edu.tw Cc: Subject: Re: kern/158156: [bce] bce driver shows "no carrier" on IBM blade (HS22 with BCM5709) Date: Mon, 8 Aug 2011 10:30:27 +0200 --7LkOrbQMr4cezO2T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Could you please test whether the attached patch fixes this? --7LkOrbQMr4cezO2T Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="mii_physubr_reset_default_may_power_down.diff" Index: mii_physubr.c =================================================================== --- mii_physubr.c (revision 224216) +++ mii_physubr.c (working copy) @@ -273,8 +273,8 @@ mii_phy_reset(struct mii_softc *sc) DELAY(1000); } - /* NB: a PHY may default to isolation. */ - reg &= ~BMCR_ISO; + /* NB: a PHY may default to being powered down and isolated. */ + reg &= ~(BMCR_PDOWN | BMCR_ISO); if ((sc->mii_flags & MIIF_NOISOLATE) == 0 && ((ife == NULL && sc->mii_inst != 0) || (ife != NULL && IFM_INST(ife->ifm_media) != sc->mii_inst))) --7LkOrbQMr4cezO2T-- _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"