summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aac_pci.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2002-02-06 01:34:09 +0000
committerscottl <scottl@FreeBSD.org>2002-02-06 01:34:09 +0000
commit2ccafe67719df1396683dbe7ad031f38c13eac67 (patch)
tree2c29666f75c1b8f758defbca6609bded1c3a739e /sys/dev/aac/aac_pci.c
parent9371a9a23b6795e0a824d3f629c1e32aaa07513d (diff)
downloadFreeBSD-src-2ccafe67719df1396683dbe7ad031f38c13eac67.zip
FreeBSD-src-2ccafe67719df1396683dbe7ad031f38c13eac67.tar.gz
Don't attach to Dell PERC2/QC cards that have a firmware rev of 1.x. This
check is complicated by the fact that the Adaptec 5400S cards claim to use 1.x firmware also. PERC2/QC 1.x firmware is not compatible with this driver and will cause a system hang. MFC after: 3 days
Diffstat (limited to 'sys/dev/aac/aac_pci.c')
-rw-r--r--sys/dev/aac/aac_pci.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c
index c5d9dc6..35625c3 100644
--- a/sys/dev/aac/aac_pci.c
+++ b/sys/dev/aac/aac_pci.c
@@ -295,6 +295,14 @@ aac_pci_attach(device_t dev)
goto out;
}
+
+ /*
+ * Check for quirky hardware
+ */
+ if (pci_get_subdevice(dev) == 0x1364 &&
+ pci_get_subvendor(dev) == 0x9005)
+ sc->quirks |= AAC_QUIRK_PERC2QC;
+
/*
* Do bus-independent initialisation.
*/
OpenPOWER on IntegriCloud