From a319e76534731ba50e876d1a47f5db74e9fb6659 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Mon, 5 Feb 2001 17:14:41 +0000 Subject: reverse the logic in pcebmatch to match other match functions. --- sys/arch/alpha/pci/sio.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/arch/alpha') 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 -- cgit v1.2.3