Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2006 10:19:51 -0500 (EST)
From:      Vivek Khera <vivek@khera.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/94863: hack to get bge(4) working on IBM e326m
Message-ID:  <20060323151951.40927B81F@yertle.kcilink.com>
Resent-Message-ID: <200603231520.k2NFKFgZ004844@freefall.freebsd.org>

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

>Number:         94863
>Category:       kern
>Synopsis:       hack to get bge(4) working on IBM e326m
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 23 15:20:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Vivek Khera
>Release:        FreeBSD 6.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD yertle.int.kciLink.com 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #4: Thu Mar 2 13:53:40 EST 2006 khera@yertle.int.kciLink.com:/usr/obj/usr/src/sys/KCI64 amd64


	
>Description:
	

The IBM e326m Opteron server claims to have two Broadcom BCM5714 ethernet
controllers in it (according to the product literature PDF brochure).  FreeBSD
6.0-REL is unable to detect it upon boot, and reviewing the sources for HEAD
shows that there is not yet support for this device ID.

As a hack, I was able to make it recognize the chipset in this box by changing
the definition of the identifier values for BCM5714 in the driver:

In dev/bge/if_bgereg.h, change the definition of BGE_ASICREV_BCM5714 to 0x08
and the definition of BCOM_DEVICEID_BCM5714C to 0x166a.

I'm not sure how to make a full clean patch to support both versions of the
"BCM5714".  I was unable to find *anywhere* via google any info on this chip
ID.  Mostly my question is what naming to use for it?

Even the current release of linux (tried Ubuntu 5.10) doesn't recognize it.
The pre-installed RedHat supposedly did, but I never tried it before I wiped
it for FreeBSD :-)

>How-To-Repeat:
	

n/a

>Fix:

	


In dev/bge/if_bgereg.h, change the definition of BGE_ASICREV_BCM5714 to 0x08
and the definition of BCOM_DEVICEID_BCM5714C to 0x166a.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060323151951.40927B81F>