Date: Tue, 12 Feb 2008 21:36:32 GMT From: Sean Bruno <sbruno@miralink.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/120569: Update dev id's for bge Message-ID: <200802122136.m1CLaWpv050502@www.freebsd.org> Resent-Message-ID: <200802122140.m1CLe3t2080039@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 120569 >Category: kern >Synopsis: Update dev id's for bge >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Feb 12 21:40:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Sean Bruno >Release: RELENG_6 >Organization: Miralink Inc >Environment: FreeBSD desdemona.office.miralink.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 >Description: The IBM x3250 M comes with 2 Broadcom NIC's. They appear to be completely different chip sets! Once of which is not supported by FreeBSD and one that is. The proposed patch adds support for the NIC's that does not work: bge0@pci2:0:0: class=0x020000 card=0x03781014 chip=0x165a14e4 rev=0x00 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme BCM5722 Gigabit Ethernet PCIe' class = network subclass = ethernet cap 01[48] = powerspec 3 supports D0 D3 current D0 cap 03[50] = VPD cap 09[58] = vendor (length 120) cap 05[e8] = MSI supports 1 message, 64 bit cap 10[d0] = PCI-Express 1 endpoint bge1@pci3:1:0: class=0x020000 card=0x026f1014 chip=0x16c714e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5703A3 NetXtreme Gigabit Ethernet' class = network subclass = ethernet cap 07[40] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split transaction cap 01[48] = powerspec 2 supports D0 D3 current D0 cap 03[50] = VPD cap 05[58] = MSI supports 8 messages, 64 bit >How-To-Repeat: Not applicable >Fix: Apply attached unified diff. Patch attached with submission follows: Index: /trunk/src/ankeny/src/FreeBSD_RELENG6/sys/dev/bge/if_bgereg.h =================================================================== --- /trunk/src/ankeny/src/FreeBSD_RELENG6/sys/dev/bge/if_bgereg.h (revision 3333) +++ /trunk/src/ankeny/src/FreeBSD_RELENG6/sys/dev/bge/if_bgereg.h (revision 5097) @@ -278,4 +278,5 @@ #define BGE_CHIPID_BCM5755_A1 0xa0010000 #define BGE_CHIPID_BCM5755_A2 0xa0020000 +#define BGE_CHIPID_BCM5722_A2 0xa2000000 #define BGE_CHIPID_BCM5754_A0 0xb0000000 #define BGE_CHIPID_BCM5754_A1 0xb0010000 @@ -2010,4 +2011,5 @@ #define BCOM_DEVICEID_BCM5720 0x1658 #define BCOM_DEVICEID_BCM5721 0x1659 +#define BCOM_DEVICEID_BCM5722 0x165A #define BCOM_DEVICEID_BCM5750 0x1676 #define BCOM_DEVICEID_BCM5750M 0x167C Index: /trunk/src/ankeny/src/FreeBSD_RELENG6/sys/dev/bge/if_bge.c =================================================================== --- /trunk/src/ankeny/src/FreeBSD_RELENG6/sys/dev/bge/if_bge.c (revision 3457) +++ /trunk/src/ankeny/src/FreeBSD_RELENG6/sys/dev/bge/if_bge.c (revision 5097) @@ -163,4 +163,5 @@ { BCOM_VENDORID, BCOM_DEVICEID_BCM5720 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM5721 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM5722 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM5750 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM5750M }, @@ -241,4 +242,5 @@ { BGE_CHIPID_BCM5705_A2, "BCM5705 A2" }, { BGE_CHIPID_BCM5705_A3, "BCM5705 A3" }, + { BGE_CHIPID_BCM5722_A2, "BCM5722 A2" }, { BGE_CHIPID_BCM5750_A0, "BCM5750 A0" }, { BGE_CHIPID_BCM5750_A1, "BCM5750 A1" }, >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802122136.m1CLaWpv050502>