diff options
| author | 2003-06-26 00:47:47 +0000 | |
|---|---|---|
| committer | 2003-06-26 00:47:47 +0000 | |
| commit | 48675591f3fea435eabc5b6627ab563260691434 (patch) | |
| tree | 9e3509eae45de7abcd4503baef4c0a38aecf6ad0 /sys/dev/pci/isp_pci.c | |
| parent | it's better w/ a comma between irq and address (diff) | |
| download | wireguard-openbsd-48675591f3fea435eabc5b6627ab563260691434.tar.xz wireguard-openbsd-48675591f3fea435eabc5b6627ab563260691434.zip | |
fix probing for ami raid owned hba properly; mjacob@ ok
Diffstat (limited to 'sys/dev/pci/isp_pci.c')
| -rw-r--r-- | sys/dev/pci/isp_pci.c | 4 |
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); } } |
