Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2004 16:32:11 +0300
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/68445: bge autonegotiation broken
Message-ID:  <E1BewF1-000Nbe-NG@new-dev.cs.huji.ac.il>
Resent-Message-ID: <200406281340.i5SDeNs3027848@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BewF1-000Nbe-NG>