[patch] Broadcom BCM5751F Gigabit Ethernet

From: Alexander Mogilny <sg_at_astral.ntu-kpi.kiev.ua>
Date: Mon, 24 Jul 2006 12:13:39 +0300
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
_at__at_ -172,6 +172,8 _at__at_
                "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
_at__at_ -1955,6 +1955,7 _at__at_
 #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    +---------------------+
Received on Mon Jul 24 2006 - 07:13:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:58 UTC