diff options
author | scottl <scottl@FreeBSD.org> | 2002-02-06 01:34:09 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2002-02-06 01:34:09 +0000 |
commit | 2ccafe67719df1396683dbe7ad031f38c13eac67 (patch) | |
tree | 2c29666f75c1b8f758defbca6609bded1c3a739e /sys/dev/aac/aac_pci.c | |
parent | 9371a9a23b6795e0a824d3f629c1e32aaa07513d (diff) | |
download | FreeBSD-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.c | 8 |
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. */ |