summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-02-05 17:18:34 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-02-05 17:18:34 +0000
commitb2e4fb64f5edda956ef4b25a0e437b290093271f (patch)
tree98c979aa74d2cc5c94cf12b5dde6f88b4ca827f1 /sys/arch
parenta319e76534731ba50e876d1a47f5db74e9fb6659 (diff)
Sigh. Another horrible abuse in this file..
When checking if this is a pci-eisa bridge check the VENDOR too, don't just assume that no other vendor will do a sia with product id PCI_PRODUCT_INTEL_PCEB.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/pci/sio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/alpha/pci/sio.c b/sys/arch/alpha/pci/sio.c
index 45178486460..4779286f950 100644
--- a/sys/arch/alpha/pci/sio.c
+++ b/sys/arch/alpha/pci/sio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sio.c,v 1.18 2001/02/05 17:14:40 art Exp $ */
+/* $OpenBSD: sio.c,v 1.19 2001/02/05 17:18:33 art Exp $ */
/* $NetBSD: sio.c,v 1.15 1996/12/05 01:39:36 cgd Exp $ */
/*
@@ -153,7 +153,8 @@ sioattach(parent, self, aux)
sc->sc_iot = pa->pa_iot;
sc->sc_memt = pa->pa_memt;
- sc->sc_haseisa = (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_PCEB);
+ sc->sc_haseisa = (PCI_VENDOR(pa->pa_id) == PC_VENDOR_INTEL &&
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_PCEB);
#ifdef EVCNT_COUNTERS
evcnt_attach(&sc->sc_dv, "intr", &sio_intr_evcnt);