summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-02-24 02:05:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-02-24 02:05:21 +0000
commit773800d56b0f385160485fa235b411a9f814494d (patch)
tree6256af574d2610a39404906d2715950c1092da6e /sys/arch
parent40fb5d0c5bad5a2838b80673a846e31f48f73518 (diff)
Support PCI_PRODUCT_CONTAQ_SIO for 164SX. Based on patch by ragge@ludd.luth.se.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/pci/sio.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/sys/arch/alpha/pci/sio.c b/sys/arch/alpha/pci/sio.c
index fd9116be60b..d166adfbf9d 100644
--- a/sys/arch/alpha/pci/sio.c
+++ b/sys/arch/alpha/pci/sio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sio.c,v 1.12 1998/01/07 07:39:58 niklas Exp $ */
+/* $OpenBSD: sio.c,v 1.13 1998/02/24 02:05:20 millert Exp $ */
/* $NetBSD: sio.c,v 1.15 1996/12/05 01:39:36 cgd Exp $ */
/*
@@ -110,11 +110,16 @@ siomatch(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_SIO)
- return (0);
+ if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_CONTAQ &&
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_CONTAQ_SIO &&
+ pa->pa_function == 0)
+ return (1);
- return (1);
+ if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_INTEL &&
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_SIO)
+ return (1);
+
+ return (0);
}
int