summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-10-27 16:41:07 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-10-27 16:41:07 +0000
commit6150661b94fcbad3d94147f3118fd9daebac55cb (patch)
treead8abd9e4086c9ee2353053ee9d7f4b1199c8e9f /sys/arch/i386
parent88558a4e5e5064b586ce4aa901e479ab5e0e75c6 (diff)
ironically everything past 8231 has 8 pci lines (we assume)
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/pci/via8231.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/i386/pci/via8231.c b/sys/arch/i386/pci/via8231.c
index 17956fa0a82..aa3e529d384 100644
--- a/sys/arch/i386/pci/via8231.c
+++ b/sys/arch/i386/pci/via8231.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: via8231.c,v 1.5 2005/10/27 15:49:30 mickey Exp $ */
+/* $OpenBSD: via8231.c,v 1.6 2005/10/27 16:41:06 mickey Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -159,8 +159,7 @@ via8231_init(pc, iot, tag, ptagp, phandp)
ph->ph_tag = tag;
id = pci_conf_read(pc, tag, PCI_ID_REG);
ph->flags = PCI_VENDOR(id) == PCI_VENDOR_VIATECH &&
- (PCI_PRODUCT(id) == PCI_PRODUCT_VIATECH_VT8235_ISA ||
- PCI_PRODUCT(id) == PCI_PRODUCT_VIATECH_VT8237_ISA)? VT8237 : 0;
+ PCI_PRODUCT(id) == PCI_PRODUCT_VIATECH_VT8231_ISA? 0 : VT8237;
*ptagp = &via8231_pci_icu;
*phandp = ph;