summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-02-05 17:14:41 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-02-05 17:14:41 +0000
commita319e76534731ba50e876d1a47f5db74e9fb6659 (patch)
treef3d7ad7521b1916cf7ac3daf5f02d65b601da720 /sys/arch/alpha
parent544f33095defe67f633bd657d5d9883372772e13 (diff)
reverse the logic in pcebmatch to match other match functions.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/pci/sio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/alpha/pci/sio.c b/sys/arch/alpha/pci/sio.c
index 201a21254ea..45178486460 100644
--- a/sys/arch/alpha/pci/sio.c
+++ b/sys/arch/alpha/pci/sio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sio.c,v 1.17 2001/02/05 17:10:16 art Exp $ */
+/* $OpenBSD: sio.c,v 1.18 2001/02/05 17:14:40 art Exp $ */
/* $NetBSD: sio.c,v 1.15 1996/12/05 01:39:36 cgd Exp $ */
/*
@@ -134,11 +134,11 @@ pcebmatch(parent, match, aux)
{
struct pci_attach_args *pa = aux;
- if (PCI_VENDOR(pa->pa_id) != PCI_VENDOR_INTEL ||
- PCI_PRODUCT(pa->pa_id) != PCI_PRODUCT_INTEL_PCEB)
- return (0);
+ if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_INTEL &&
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_PCEB)
+ return (1);
- return (1);
+ return (0);
}
void