summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2006-07-27 10:49:27 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2006-07-27 10:49:27 +0000
commiteaf0bf929374715a5681fd2bdd2e3a276d0a5ad5 (patch)
tree67b00dacf9478c0dfabeb4e7b808639976b1fe94
parentaf568271c2af8a342d5cde3424c3c5be13d50196 (diff)
new twe; reported by Randal Harisch <azar@eyeonvideo.com>
-rw-r--r--sys/dev/pci/pcidevs.h3
-rw-r--r--sys/dev/pci/pcidevs_data.h6
-rw-r--r--sys/dev/pci/twe_pci.c5
3 files changed, 10 insertions, 4 deletions
diff --git a/sys/dev/pci/pcidevs.h b/sys/dev/pci/pcidevs.h
index ff87f1855f0..cb10ae65293 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.1112 2006/07/23 01:36:26 brad Exp
+ * OpenBSD: pcidevs,v 1.1114 2006/07/27 10:48:08 mickey Exp
*/
/* $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $ */
@@ -410,6 +410,7 @@
/* 3Ware products */
#define PCI_PRODUCT_TRIWARE_ESCALADE 0x1000 /* Escalade IDE RAID */
#define PCI_PRODUCT_TRIWARE_ESCALADE_ASIC 0x1001 /* Escalade IDE RAID */
+#define PCI_PRODUCT_TRIWARE_ESCALADE_9500 0x1002 /* Escalade IDE RAID */
/* Abocom products */
#define PCI_PRODUCT_ABOCOM_FE2500 0xab02 /* FE2500 10/100 */
diff --git a/sys/dev/pci/pcidevs_data.h b/sys/dev/pci/pcidevs_data.h
index 07bd11008d7..04d272ede63 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.1112 2006/07/23 01:36:26 brad Exp
+ * OpenBSD: pcidevs,v 1.1114 2006/07/27 10:48:08 mickey Exp
*/
/* $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $ */
@@ -375,6 +375,10 @@ static const struct pci_known_product pci_known_products[] = {
"Escalade IDE RAID",
},
{
+ PCI_VENDOR_TRIWARE, PCI_PRODUCT_TRIWARE_ESCALADE_9500,
+ "Escalade IDE RAID",
+ },
+ {
PCI_VENDOR_ABOCOM, PCI_PRODUCT_ABOCOM_FE2500,
"FE2500 10/100",
},
diff --git a/sys/dev/pci/twe_pci.c b/sys/dev/pci/twe_pci.c
index b5ee20a1ce1..7fec8c1b18a 100644
--- a/sys/dev/pci/twe_pci.c
+++ b/sys/dev/pci/twe_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: twe_pci.c,v 1.9 2005/11/15 11:08:47 mickey Exp $ */
+/* $OpenBSD: twe_pci.c,v 1.10 2006/07/27 10:49:26 mickey Exp $ */
/*
* Copyright (c) 2000 Michael Shalayeff
@@ -63,7 +63,8 @@ twe_pci_match(parent, match, aux)
if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_TRIWARE &&
(PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_TRIWARE_ESCALADE ||
- PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_TRIWARE_ESCALADE_ASIC))
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_TRIWARE_ESCALADE_ASIC ||
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_TRIWARE_ESCALADE_9500))
return 1;
return 0;