Additional Broadcom Chipset Support

Carl Schmidt carl at carlschmidt.net
Thu Jun 30 19:36:36 PDT 2005


I've updated the bfe driver to recognize the 4401B0 chipset.  The
patches are attached.
Index: sys/dev/netif/bfe/if_bfe.c
===================================================================
RCS file: /home/carl/cvs/dfbsd/sys/dev/netif/bfe/if_bfe.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sys/dev/netif/bfe/if_bfe.c	13 Jun 2005 21:07:55 -0000	1.1
+++ sys/dev/netif/bfe/if_bfe.c	30 Jun 2005 21:27:31 -0000	1.2
@@ -84,6 +84,8 @@
 static struct bfe_type bfe_devs[] = {
 	{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM4401,
 	    "Broadcom BCM4401 Fast Ethernet" },
+	{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM4401B0,
+	    "Broadcom BCM4401-B0 Fast Ethernet" },
 	{ 0, 0, NULL }
 };
 
Index: sys/bus/pci/pcidevs
===================================================================
RCS file: /home/carl/cvs/dfbsd/sys/bus/pci/pcidevs,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sys/bus/pci/pcidevs	21 Jun 2005 15:24:04 -0000	1.1
+++ sys/bus/pci/pcidevs	30 Jun 2005 21:22:14 -0000	1.2
@@ -1080,6 +1080,7 @@
 product BROADCOM BCM5901	0x170d	BCM5901 10/100 Ethernet
 product BROADCOM BCM5901A2	0x170e	BCM5901A 10/100 Ethernet
 product BROADCOM BCM4401	0x4401	BCM4401 10/100 Ethernet
+product BROADCOM BCM4401B0	0x170c	BCM4401-B0 10/100 Ethernet
 product BROADCOM 5801		0x5801	5801 Security processor
 product BROADCOM 5802		0x5802	5802 Security processor
 product BROADCOM 5805		0x5805	5805 Security processor
Index: sys/bus/pci/pcidevs.h
===================================================================
RCS file: /home/carl/cvs/dfbsd/sys/bus/pci/pcidevs.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sys/bus/pci/pcidevs.h	21 Jun 2005 15:25:56 -0000	1.1
+++ sys/bus/pci/pcidevs.h	30 Jun 2005 21:22:15 -0000	1.2
@@ -1,4 +1,4 @@
-/*	$DragonFly: src/sys/bus/pci/pcidevs.h,v 1.9 2005/06/21 15:25:56 joerg Exp $	*/
+/*	$DragonFly$	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -1087,6 +1087,7 @@
 #define	PCI_PRODUCT_BROADCOM_BCM5901	0x170d		/* BCM5901 10/100 Ethernet */
 #define	PCI_PRODUCT_BROADCOM_BCM5901A2	0x170e		/* BCM5901A 10/100 Ethernet */
 #define	PCI_PRODUCT_BROADCOM_BCM4401	0x4401		/* BCM4401 10/100 Ethernet */
+#define	PCI_PRODUCT_BROADCOM_BCM4401B0	0x170c		/* BCM4401-B0 10/100 Ethernet */
 #define	PCI_PRODUCT_BROADCOM_5801	0x5801		/* 5801 Security processor */
 #define	PCI_PRODUCT_BROADCOM_5802	0x5802		/* 5802 Security processor */
 #define	PCI_PRODUCT_BROADCOM_5805	0x5805		/* 5805 Security processor */
Index: sys/bus/pci/pcidevs_data.h
===================================================================
RCS file: /home/carl/cvs/dfbsd/sys/bus/pci/pcidevs_data.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sys/bus/pci/pcidevs_data.h	21 Jun 2005 15:25:56 -0000	1.1
+++ sys/bus/pci/pcidevs_data.h	30 Jun 2005 21:22:15 -0000	1.2
@@ -1,4 +1,4 @@
-/*	$DragonFly: src/sys/bus/pci/pcidevs_data.h,v 1.9 2005/06/21 15:25:56 joerg Exp $	*/
+/*	$DragonFly$	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -2393,6 +2393,12 @@
 	    "BCM4401 10/100 Ethernet",
 	},
 	{
+	    PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM4401B0,
+	    0,
+	    "Broadcom Corporation",
+	    "BCM4401-B0 10/100 Ethernet",
+	},
+	{
 	    PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_5801,
 	    0,
 	    "Broadcom Corporation",




More information about the Submit mailing list