kern/158156: [bce] bce driver shows "no carrier" on IBM blade (HS22 with BCM5709)

Marius Strobl marius at alchemy.franken.de
Mon Aug 8 08:40:12 UTC 2011


The following reply was made to PR kern/158156; it has been noted by GNATS.

From: Marius Strobl <marius at alchemy.franken.de>
To: bug-followup at FreeBSD.org, jsc at 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--


More information about the freebsd-net mailing list