From 212c84b1a5c1c337af385d8b0b940cabcfb5cc90 Mon Sep 17 00:00:00 2001 From: scottl Date: Fri, 13 Aug 2004 01:44:09 +0000 Subject: 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. --- sys/dev/aac/aac_pci.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'sys/dev/aac/aac_pci.c') 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 */ -- cgit v1.1