summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-02-28 00:51:37 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-02-28 00:51:37 +0000
commitcb61f4ee3661783b6469af1a8ca5098bfe43d584 (patch)
treea82750fb87e1bb0041d5fef25dc80626f7caa0f4
parentbc05686f3d30f4c16d5446b8830a68b869f9a1ba (diff)
add support for 3cr990 (not 3cr990a,b,c, etc) and 3cr990-fx; from linux driver
-rw-r--r--sys/dev/pci/if_txp.c4
-rw-r--r--sys/dev/pci/pcidevs.h4
-rw-r--r--sys/dev/pci/pcidevs_data.h10
3 files changed, 15 insertions, 3 deletions
diff --git a/sys/dev/pci/if_txp.c b/sys/dev/pci/if_txp.c
index 94fcd01fefb..db26d54c43c 100644
--- a/sys/dev/pci/if_txp.c
+++ b/sys/dev/pci/if_txp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_txp.c,v 1.67 2002/11/19 18:40:17 jason Exp $ */
+/* $OpenBSD: if_txp.c,v 1.68 2003/02/28 00:51:36 jason Exp $ */
/*
* Copyright (c) 2001
@@ -145,12 +145,14 @@ struct cfdriver txp_cd = {
};
const struct pci_matchid txp_devices[] = {
+ { PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990 },
{ PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990TX95 },
{ PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990TX97 },
{ PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990SVR95 },
{ PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990SVR97 },
{ PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C990BTXM },
{ PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C990BSVR },
+ { PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990FX },
};
int
diff --git a/sys/dev/pci/pcidevs.h b/sys/dev/pci/pcidevs.h
index 729ce97cdf5..37764197c26 100644
--- a/sys/dev/pci/pcidevs.h
+++ b/sys/dev/pci/pcidevs.h
@@ -2,7 +2,7 @@
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
- * OpenBSD: pcidevs,v 1.600 2003/02/27 18:25:51 grange Exp
+ * OpenBSD: pcidevs,v 1.601 2003/02/28 00:48:58 jason Exp
*/
/* $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $ */
@@ -649,9 +649,11 @@
#define PCI_PRODUCT_3COM_3CSHO100BTX 0x9300 /* 3cSOHO 100B-TX */
#define PCI_PRODUCT_3COM_3C980TX 0x9800 /* 3c980 100Base-TX */
#define PCI_PRODUCT_3COM_3C980CTX 0x9805 /* 3c980C 100Base-TX */
+#define PCI_PRODUCT_3COM_3CR990 0x9900 /* 3cr990 */
#define PCI_PRODUCT_3COM_3CR990TX95 0x9902 /* 3cr990-TX-95 */
#define PCI_PRODUCT_3COM_3CR990TX97 0x9903 /* 3cr990-TX-97 */
#define PCI_PRODUCT_3COM_3C990BTXM 0x9904 /* 3c990b-TX-M */
+#define PCI_PRODUCT_3COM_3CR990FX 0x9905 /* 3cr990-FX */
#define PCI_PRODUCT_3COM_3CR990SVR95 0x9908 /* 3cr990SVR95 */
#define PCI_PRODUCT_3COM_3CR990SVR97 0x9909 /* 3cr990SVR97 */
#define PCI_PRODUCT_3COM_3C990BSVR 0x990a /* 3c990BSVR */
diff --git a/sys/dev/pci/pcidevs_data.h b/sys/dev/pci/pcidevs_data.h
index a08b6310831..775bcab8673 100644
--- a/sys/dev/pci/pcidevs_data.h
+++ b/sys/dev/pci/pcidevs_data.h
@@ -2,7 +2,7 @@
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
- * OpenBSD: pcidevs,v 1.600 2003/02/27 18:25:51 grange Exp
+ * OpenBSD: pcidevs,v 1.601 2003/02/28 00:48:58 jason Exp
*/
/* $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $ */
@@ -191,6 +191,10 @@ static const struct pci_known_product pci_known_products[] = {
"3c980C 100Base-TX",
},
{
+ PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990,
+ "3cr990",
+ },
+ {
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990TX95,
"3cr990-TX-95",
},
@@ -203,6 +207,10 @@ static const struct pci_known_product pci_known_products[] = {
"3c990b-TX-M",
},
{
+ PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990FX,
+ "3cr990-FX",
+ },
+ {
PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3CR990SVR95,
"3cr990SVR95",
},