kern/68445: bge autonegotiation broken

Danny Braniss danny at cs.huji.ac.il
Mon Jun 28 06:40:24 PDT 2004


>Number:         68445
>Category:       kern
>Synopsis:       bge autonegotiation broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 28 13:40:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Danny Braniss
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD bmos-13 5.2-CURRENT FreeBSD 5.2-CURRENT #12: Mon Jun 28 13:26:27 IDT 2004 danny at new-dev:/r+d/obj/new-dev/r+d/5.2/src/sys/HUJI i386

>Description:
	bge is recognized but doesn't work.
	pr kern/67598, broke this, at least for the IBM/Intel blade with
	Broadcom BCM5704S Dual Gigabit Ethernet, ASIC rev. 0x2002
>How-To-Repeat:
	
>Fix:
	this is NOT a FIX, it just works for me,

--- if_bge.c.orig       Thu Jun 10 17:18:01 2004
+++ if_bge.c    Mon Jun 28 13:21:34 2004
@@ -3328,6 +3330,7 @@
                        return(EINVAL);
                switch(IFM_SUBTYPE(ifm->ifm_media)) {
                case IFM_AUTO:
+#if 0
                        /*
                         * The BCM5704 ASIC appears to have a special
                         * mechanism for programming the autoneg
@@ -3345,6 +3348,7 @@
                                DELAY(5);
                                CSR_WRITE_4(sc, BGE_SGDIG_CFG, sgdig);
                        }
+#endif
                        break;
                case IFM_1000_SX:
                        if ((ifm->ifm_media & IFM_GMASK) == IFM_FDX) {
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list