summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-06-26 00:47:48 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-06-26 00:47:48 +0000
commit0294ec9e46bb333fa5cde47d235fb52740ba7988 (patch)
treec011b9ae16423827cc1913dcacdd7c275918d730
parent58dbc8749637de7f8b37ffdee576e74d24d47f55 (diff)
fix probing for ami raid owned hba properly; mjacob@ ok
-rw-r--r--sys/dev/pci/isp_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/isp_pci.c b/sys/dev/pci/isp_pci.c
index e1dfd6253a7..195753c7fb5 100644
--- a/sys/dev/pci/isp_pci.c
+++ b/sys/dev/pci/isp_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp_pci.c,v 1.33 2003/03/03 18:27:11 mjacob Exp $ */
+/* $OpenBSD: isp_pci.c,v 1.34 2003/06/26 00:47:47 mickey Exp $ */
/*
* PCI specific probe and attach routines for Qlogic ISP SCSI adapters.
*
@@ -364,7 +364,7 @@ isp_pci_probe(struct device *parent, void *match, void *aux)
if (pa->pa_id == PCI_QLOGIC_ISP12160) {
pcireg_t subvid =
pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_SUBVEND_0);
- if (subvid == AMI_RAID_SUBVENDOR_ID) {
+ if (PCI_VENDOR(subvid) == AMI_RAID_SUBVENDOR_ID) {
return (0);
}
}