Broadcom 5789

stefan at aeschbacher.ch stefan at aeschbacher.ch
Mon May 16 23:27:34 GMT 2005


Hi
I just setup a FreeBSD 5.4 stable on a machine using a Gigabyte
GA-8I915P Duo Pro motherboard. Contrary to the documentation, the
board I have does not use the Broadcom 5751 chip but the 5789 which
is not recognized by the bge(4) driver.

The 5788 is already in the list of supported chips by the bge
driver. From this I guessed that the driver could alsow work
with the 5789. I tried the following patch and at least from
my minimal testing (only 100Mbit) it looks as if it works.

Could someone with knowledge of the Broadcom ethernet chips
and the bge driver check if adding support for the 5789 is
really that easy and if yes, initiate the needed steps to get
the device id's in the kernel?

regards

Stefan Aeschbacher

The patches I used to get it working:

--- if_bge.c    Sun May 15 01:03:07 2005
+++ if_bge.c.new        Sun May 15 01:04:01 2005
@@ -169,6 +169,8 @@
                "Broadcom BCM5782 Gigabit Ethernet" },
        { BCOM_VENDORID, BCOM_DEVICEID_BCM5788,
                "Broadcom BCM5788 Gigabit Ethernet" },
+       { BCOM_VENDORID, BCOM_DEVICEID_BCM5789,
+               "Broadcom BCM5789 Gigabit Ethernet" },
        { BCOM_VENDORID, BCOM_DEVICEID_BCM5901,
                "Broadcom BCM5901 Fast Ethernet" },
        { BCOM_VENDORID, BCOM_DEVICEID_BCM5901A2,
--- if_bgereg.h Sun May 15 01:03:19 2005
+++ if_bgereg.h.new     Sun May 15 01:04:01 2005
@@ -1874,6 +1874,7 @@
 #define BCOM_DEVICEID_BCM5751M         0x167D
 #define BCOM_DEVICEID_BCM5782          0x1696
 #define BCOM_DEVICEID_BCM5788          0x169C
+#define BCOM_DEVICEID_BCM5789          0x169D
 #define BCOM_DEVICEID_BCM5901          0x170D
 #define BCOM_DEVICEID_BCM5901A2                0x170E


More information about the freebsd-hackers mailing list