DragonFly BSD
DragonFly submit List (threaded) for 2005-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: bge patch


From: Pablo Méndez Hernández <pablomh@xxxxxxxxx>
Date: Tue, 21 Jun 2005 02:14:47 +0200

Pablo Méndez Hernández wrote:

I've installed DF in my laptop but I'm without net: my bge card isn't recognized and my iwi card needs the firmware to work. I've prepared this patch based in OpenBSD (where it works) but I haven't tested it in DF.

It seems Outlook Express fscked the patch in some browsers. Here is another version (hope this time it's OK).



Greetings.
Index: src/sys/bus/pci/pcidevs
===================================================================
RCS file: /home/cvsroot/DragonFlyBSD/src/sys/bus/pci/pcidevs,v
retrieving revision 1.8
diff -u -r1.8 pcidevs
--- src/sys/bus/pci/pcidevs	28 Feb 2005 16:33:58 -0000	1.8
+++ src/sys/bus/pci/pcidevs	20 Jun 2005 23:22:02 -0000
@@ -1075,6 +1075,7 @@
 product BROADCOM BCM5705	0x1653	BCM5705 10/100/1000 Ethernet
 product BROADCOM BCM5705M	0x165d	BCM5705M 10/100/1000 Ethernet
 product BROADCOM BCM5705_ALT	0x165e	BCM5705 10/100/1000 Ethernet
+product BROADCOM BCM5751	0x1677	BCM5751 10/100/1000 Ethernet
 product BROADCOM BCM5782	0x1696	BCM5782 10/100/1000 Ethernet
 product BROADCOM BCM5901	0x170d	BCM5901 10/100 Ethernet
 product BROADCOM BCM5901A2	0x170e	BCM5901A 10/100 Ethernet
Index: src/sys/bus/pci/pcidevs.h
===================================================================
RCS file: /home/cvsroot/DragonFlyBSD/src/sys/bus/pci/pcidevs.h,v
retrieving revision 1.8
diff -u -r1.8 pcidevs.h
--- src/sys/bus/pci/pcidevs.h	28 Feb 2005 16:34:34 -0000	1.8
+++ src/sys/bus/pci/pcidevs.h	20 Jun 2005 23:29:10 -0000
@@ -4,7 +4,7 @@
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	DragonFly: src/sys/bus/pci/pcidevs,v 1.8 2005/02/28 16:33:58 joerg Exp 
+ *	DragonFly
  */
 /* $NetBSD: pcidevs,v 1.606 2004/01/06 19:44:17 matt Exp $ */
 
@@ -1082,6 +1082,7 @@
 #define	PCI_PRODUCT_BROADCOM_BCM5705	0x1653		/* BCM5705 10/100/1000 Ethernet */
 #define	PCI_PRODUCT_BROADCOM_BCM5705M	0x165d		/* BCM5705M 10/100/1000 Ethernet */
 #define	PCI_PRODUCT_BROADCOM_BCM5705_ALT	0x165e		/* BCM5705 10/100/1000 Ethernet */
+#define	PCI_PRODUCT_BROADCOM_BCM5751	0x1677		/* BCM5751 10/100/1000 Ethernet */
 #define	PCI_PRODUCT_BROADCOM_BCM5782	0x1696		/* BCM5782 10/100/1000 Ethernet */
 #define	PCI_PRODUCT_BROADCOM_BCM5901	0x170d		/* BCM5901 10/100 Ethernet */
 #define	PCI_PRODUCT_BROADCOM_BCM5901A2	0x170e		/* BCM5901A 10/100 Ethernet */
Index: src/sys/bus/pci/pcidevs_data.h
===================================================================
RCS file: /home/cvsroot/DragonFlyBSD/src/sys/bus/pci/pcidevs_data.h,v
retrieving revision 1.8
diff -u -r1.8 pcidevs_data.h
--- src/sys/bus/pci/pcidevs_data.h	28 Feb 2005 16:34:34 -0000	1.8
+++ src/sys/bus/pci/pcidevs_data.h	20 Jun 2005 23:29:22 -0000
@@ -4,7 +4,7 @@
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	DragonFly: src/sys/bus/pci/pcidevs,v 1.8 2005/02/28 16:33:58 joerg Exp 
+ *	DragonFly
  */
 /* $NetBSD: pcidevs,v 1.606 2004/01/06 19:44:17 matt Exp $ */
 
@@ -2361,6 +2361,12 @@
 	    0,
 	    "Broadcom Corporation",
 	    "BCM5705 10/100/1000 Ethernet",
+	},
+	{
+	    PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM5751,
+	    0,
+	    "Broadcom Corporation",
+	    "BCM5751 10/100/1000 Ethernet",
 	},
 	{
 	    PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM5782,
Index: src/sys/dev/netif/bge/if_bge.c
===================================================================
RCS file: /home/cvsroot/DragonFlyBSD/src/sys/dev/netif/bge/if_bge.c,v
retrieving revision 1.40
diff -u -r1.40 if_bge.c
--- src/sys/dev/netif/bge/if_bge.c	14 Jun 2005 14:19:22 -0000	1.40
+++ src/sys/dev/netif/bge/if_bge.c	20 Jun 2005 23:25:09 -0000
@@ -155,6 +155,8 @@
 		"Broadcom BCM5705M Gigabit Ethernet" },
 	{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM5705_ALT,
 		"Broadcom BCM5705M Gigabit Ethernet" },
+	{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM5751,
+		"Broadcom BCM5751 Gigabit Ethernet" },
 	{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM5782,
 		"Broadcom BCM5782 Gigabit Ethernet" },
 	{ PCI_VENDOR_BROADCOM, BCOM_DEVICEID_BCM5788,


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]