diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-09-07 20:27:40 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-09-07 20:27:40 +0000 |
commit | ca48f25217dc33c4dc9e64790b02967a5501633e (patch) | |
tree | d18853c1876144254a902627267beb7bee7552cb /sys/dev/isp | |
parent | 8f61c4dbd79d23de85c76580d3d3ba47219a0f38 (diff) | |
download | FreeBSD-src-ca48f25217dc33c4dc9e64790b02967a5501633e.zip FreeBSD-src-ca48f25217dc33c4dc9e64790b02967a5501633e.tar.gz |
Per msmith's request, don't attach to Qlogic 12160 id'd cards that have
a certain SubVendorID.
Diffstat (limited to 'sys/dev/isp')
-rw-r--r-- | sys/dev/isp/isp_pci.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index 86ee964..8861df2 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -207,6 +207,11 @@ static struct ispmdvec mdvec_2200 = { #define PCI_QLOGIC_ISP2200 \ ((PCI_PRODUCT_QLOGIC_ISP2200 << 16) | PCI_VENDOR_QLOGIC) +/* + * Odd case for some AMI raid cards... We need to *not* attach to this. + */ +#define AMI_RAID_SUBVENDOR_ID 0x101e + #define IO_MAP_REG 0x10 #define MEM_MAP_REG 0x14 @@ -262,6 +267,9 @@ isp_pci_probe(device_t dev) device_set_desc(dev, "Qlogic ISP 1280 PCI SCSI Adapter"); break; case PCI_QLOGIC_ISP12160: + if (pci_get_subvendor(dev) == AMI_RAID_SUBVENDOR_ID) { + return (ENXIO); + } device_set_desc(dev, "Qlogic ISP 12160 PCI SCSI Adapter"); break; case PCI_QLOGIC_ISP2100: |