summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2004-08-29 19:07:27 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2004-08-29 19:07:27 +0000
commit4675d4d975354204c9846d685d49d319da8a5b4e (patch)
treed238139a5dc2286e83d60e207e76236ed6a058ef /sys
parent353675086bbd61161e9bc1e329fbeb51aa83f8ff (diff)
Add Adaptec 2120S. ok deraadt@ mickey@
Found and tested by Alexei E. Suslikov <cruel at texnika.com.ua>
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/aac_pci.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/aac_pci.c b/sys/dev/pci/aac_pci.c
index 959dad798d4..961abbf7d4d 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.12 2004/05/28 15:49:44 marco Exp $ */
+/* $OpenBSD: aac_pci.c,v 1.13 2004/08/29 19:07:26 marco Exp $ */
/*-
* Copyright (c) 2000 Michael Smith
@@ -63,6 +63,7 @@ int aac_pci_probe(struct device *, void *, void *);
void aac_pci_attach(struct device *, struct device *, void *);
/* Adaptec */
+#define PCI_PRODUCT_ADP2_AACASR2120S 0x0286
#define PCI_PRODUCT_ADP2_AACADPSATA2C 0x0289
#define PCI_PRODUCT_ADP2_AACADPSATA4C 0x0290
#define PCI_PRODUCT_ADP2_AACADPSATA6C 0x0291
@@ -83,6 +84,7 @@ struct aac_sub_ident {
{ PCI_VENDOR_ADP2, PCI_PRODUCT_ADP2_AACADPSATA6C, "Adaptec 2610SA" },
{ PCI_VENDOR_ADP2, PCI_PRODUCT_ADP2_AACADPSATA8C, "Adaptec 2810SA" }, /* guess */
{ PCI_VENDOR_ADP2, PCI_PRODUCT_ADP2_AACADPSATA16C, "Adaptec 21610SA" }, /* guess */
+ { PCI_VENDOR_ADP2, PCI_PRODUCT_ADP2_AACASR2120S, "Adaptec 2120S" },
{ PCI_VENDOR_DELL, PCI_PRODUCT_ADP2_AACCERCSATA6C, "Dell CERC-SATA" },
{ PCI_VENDOR_DELL, PCI_PRODUCT_ADP2_AACPERC320DC, "Dell PERC 320/DC" },
{ 0, 0, "" }
@@ -158,6 +160,9 @@ struct aac_ident {
/* HP NetRAID-4M */
{ PCI_VENDOR_DEC, PCI_PRODUCT_DEC_CPQ42XX, PCI_VENDOR_HP,
PCI_PRODUCT_HP_NETRAID_4M, AAC_HWIF_STRONGARM },
+ /* Adaptec ASR-2120S */
+ { PCI_VENDOR_ADP2, PCI_PRODUCT_ADP2_ASR2200S, PCI_VENDOR_ADP2,
+ PCI_PRODUCT_ADP2_AACASR2120S, AAC_HWIF_I960RX },
{ 0, 0, 0, 0 }
};