From 0294ec9e46bb333fa5cde47d235fb52740ba7988 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 26 Jun 2003 00:47:48 +0000 Subject: fix probing for ami raid owned hba properly; mjacob@ ok --- sys/dev/pci/isp_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci') 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); } } -- cgit v1.2.3