[patch] Broadcom BCM5751F Gigabit Ethernet

Alexander Mogilny sg at astral.ntu-kpi.kiev.ua
Mon Jul 24 09:13:42 UTC 2006


I have recently installed FreeBSD 6.0 to IBM machine with subject
integrated NIC. It did not
work. The first decision I made is upgrading to RELENG_6_1. That also
did not help.
According to 'pciconf -lv' information I found that chipid of BCM5751F
NIC was not present in
bge driver so I added it and recompiled the kernel. NIC started
working. Here is the patch
with chipid:

--- if_bge.c.orig       Mon Jul 24 12:11:27 2006
+++ if_bge.c    Mon Jul 24 12:13:02 2006
@@ -172,6 +172,8 @@
                "Broadcom BCM5751 Gigabit Ethernet" },
        { BCOM_VENDORID, BCOM_DEVICEID_BCM5751M,
                "Broadcom BCM5751M Gigabit Ethernet" },
+       { BCOM_VENDORID, BCOM_DEVICEID_BCM5751F,
+               "Broadcom BCM5751F Gigabit Ethernet" },
        { BCOM_VENDORID, BCOM_DEVICEID_BCM5752,
                "Broadcom BCM5752 Gigabit Ethernet" },
        { BCOM_VENDORID, BCOM_DEVICEID_BCM5782,

--- if_bgereg.h.orig    Mon Jul 24 12:11:32 2006
+++ if_bgereg.h Mon Jul 24 12:12:17 2006
@@ -1955,6 +1955,7 @@
 #define BCOM_DEVICEID_BCM5750M         0x167C
 #define BCOM_DEVICEID_BCM5751          0x1677
 #define BCOM_DEVICEID_BCM5751M         0x167D
+#define BCOM_DEVICEID_BCM5751F         0x167E
 #define BCOM_DEVICEID_BCM5752          0x1600
 #define BCOM_DEVICEID_BCM5782          0x1696
 #define BCOM_DEVICEID_BCM5788          0x169C

-- 
AIM-UANIC             +-----[ FreeBSD ]-----+
Alexander Mogilny     | The Power to Serve! |
<> sg at portaone.com    +---------------------+


More information about the freebsd-current mailing list