summaryrefslogtreecommitdiff
path: root/sys/dev/pci/aac_pci.c
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2009-03-06 08:04:32 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2009-03-06 08:04:32 +0000
commit45d97da207f0956c434198ce598b01a0b4e5fb88 (patch)
tree87fed6ce372a59cc72188a4b255042e08a080d32 /sys/dev/pci/aac_pci.c
parent78cf3a47f9b91ad0e232e937e44f7a37dce3f491 (diff)
Bring a few more PCI IDs from freebsd to match IBM ServeRAID 8i and 8s.
Not tested but should work.
Diffstat (limited to 'sys/dev/pci/aac_pci.c')
-rw-r--r--sys/dev/pci/aac_pci.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/sys/dev/pci/aac_pci.c b/sys/dev/pci/aac_pci.c
index eff5372ba51..d849d9ce2b3 100644
--- a/sys/dev/pci/aac_pci.c
+++ b/sys/dev/pci/aac_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aac_pci.c,v 1.22 2009/03/05 21:19:04 grange Exp $ */
+/* $OpenBSD: aac_pci.c,v 1.23 2009/03/06 08:04:31 grange Exp $ */
/*-
* Copyright (c) 2000 Michael Smith
@@ -80,7 +80,10 @@ void aac_pci_attach(struct device *, struct device *, void *);
#define PCI_PRODUCT_ADP2_AACPERC320DC 0x0287
/* IBM */
+#define PCI_PRODUCT_ADP2_AACSERVERAID8I 0x02f2
+#define PCI_PRODUCT_ADP2_AACSERVERAID8I_2 0x0312
#define PCI_PRODUCT_ADP2_AACSERVERAID8K 0x9580
+#define PCI_PRODUCT_ADP2_AACSERVERAID8S 0x034d
struct aac_sub_ident {
u_int16_t subvendor;
@@ -98,7 +101,10 @@ struct aac_sub_ident {
{ PCI_VENDOR_ADP2, PCI_PRODUCT_ADP2_AACASR2200S, "Adaptec 2200S" },
{ PCI_VENDOR_DELL, PCI_PRODUCT_ADP2_AACCERCSATA6C, "Dell CERC-SATA" },
{ PCI_VENDOR_DELL, PCI_PRODUCT_ADP2_AACPERC320DC, "Dell PERC 320/DC" },
+ { PCI_VENDOR_IBM, PCI_PRODUCT_ADP2_AACSERVERAID8I, "IBM ServeRAID-8i" },
+ { PCI_VENDOR_IBM, PCI_PRODUCT_ADP2_AACSERVERAID8I_2, "IBM ServeRAID-8i" },
{ PCI_VENDOR_IBM, PCI_PRODUCT_ADP2_AACSERVERAID8K, "IBM ServeRAID-8k" },
+ { PCI_VENDOR_IBM, PCI_PRODUCT_ADP2_AACSERVERAID8S, "IBM ServeRAID-8s" },
{ 0, 0, "" }
};
@@ -176,9 +182,15 @@ struct aac_ident {
PCI_PRODUCT_ADP2_AACASR2130S, AAC_HWIF_RKT },
{ PCI_VENDOR_ADP2, PCI_PRODUCT_ADP2_AACASR2120S, PCI_VENDOR_ADP2,
PCI_PRODUCT_ADP2_AACASR2230S, AAC_HWIF_RKT },
- /* IBM ServeRAID */
+ /* IBM ServeRAID-8i/8k/8s */
+ { PCI_VENDOR_ADP2, PCI_PRODUCT_ADP2_AACASR2200S, PCI_VENDOR_IBM,
+ PCI_PRODUCT_ADP2_AACSERVERAID8I, AAC_HWIF_I960RX },
+ { PCI_VENDOR_ADP2, PCI_PRODUCT_ADP2_AACASR2200S, PCI_VENDOR_IBM,
+ PCI_PRODUCT_ADP2_AACSERVERAID8I_2, AAC_HWIF_I960RX },
{ PCI_VENDOR_ADP2, PCI_PRODUCT_ADP2_AACASR2120S, PCI_VENDOR_IBM,
PCI_PRODUCT_ADP2_AACSERVERAID8K, AAC_HWIF_RKT },
+ { PCI_VENDOR_ADP2, PCI_PRODUCT_ADP2_AACASR2200S, PCI_VENDOR_IBM,
+ PCI_PRODUCT_ADP2_AACSERVERAID8S, AAC_HWIF_I960RX },
{ 0, 0, 0, 0 }
};