summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aac_pci.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-08-13 01:44:09 +0000
committerscottl <scottl@FreeBSD.org>2004-08-13 01:44:09 +0000
commit212c84b1a5c1c337af385d8b0b940cabcfb5cc90 (patch)
treeb680ed2cf8bb931c47c77d00ab1735fd99963d28 /sys/dev/aac/aac_pci.c
parent9ab7967d3cca5c6250f1504cbec7fa644968d652 (diff)
downloadFreeBSD-src-212c84b1a5c1c337af385d8b0b940cabcfb5cc90.zip
FreeBSD-src-212c84b1a5c1c337af385d8b0b940cabcfb5cc90.tar.gz
Add support for the Adaptec RAID-On-Chip architecture. This in turn
provides support for the Adaptec 2130S adapter. Thanks to Adaptec for providing hardware for this.
Diffstat (limited to 'sys/dev/aac/aac_pci.c')
-rw-r--r--sys/dev/aac/aac_pci.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c
index aebeeb6..582d0ef 100644
--- a/sys/dev/aac/aac_pci.c
+++ b/sys/dev/aac/aac_pci.c
@@ -132,6 +132,8 @@ struct aac_ident
"Dell CERC SATA RAID 2"},
{0x9005, 0x0285, 0x9005, 0x0292, AAC_HWIF_I960RX, AAC_FLAGS_NO4GB,
"Adaptec SCSI RAID 2810SA"},
+ {0x9005, 0x0286, 0x9005, 0x028d, AAC_HWIF_RKT, 0,
+ "Adaptec SCSI RAID 2130S"},
{0, 0, 0, 0, 0, 0, 0}
};
@@ -265,7 +267,6 @@ aac_pci_attach(device_t dev)
* Detect the hardware interface version, set up the bus interface
* indirection.
*/
- sc->aac_hwif = AAC_HWIF_UNKNOWN;
for (i = 0; aac_identifiers[i].vendor != 0; i++) {
if ((aac_identifiers[i].vendor == pci_get_vendor(dev)) &&
(aac_identifiers[i].device == pci_get_device(dev)) &&
@@ -277,7 +278,6 @@ aac_pci_attach(device_t dev)
debug(2, "set hardware up for i960Rx");
sc->aac_if = aac_rx_interface;
break;
-
case AAC_HWIF_STRONGARM:
debug(2, "set hardware up for StrongARM");
sc->aac_if = aac_sa_interface;
@@ -286,6 +286,13 @@ aac_pci_attach(device_t dev)
debug(2, "set hardware up for Falcon/PPC");
sc->aac_if = aac_fa_interface;
break;
+ case AAC_HWIF_RKT:
+ debug(2, "setu hardware up for Rocket/MIPS");
+ sc->aac_if = aac_rkt_interface;
+ break;
+ default:
+ sc->aac_hwif = AAC_HWIF_UNKNOWN;
+ break;
}
/* Set up quirks */
OpenPOWER on IntegriCloud