summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-10-26 22:01:34 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-10-26 22:01:34 +0000
commit448745d9ac73c5cdf25f22bcf734de22fcda2c79 (patch)
tree1b876951a2e7f6b9a103b8f8d95f643038311076 /sys/arch
parentbdc3bf110f4897b6626f0ef4d525a9d3d519e526 (diff)
reverse 8237 check to only match 8237
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/pci/via8231.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/via8231.c b/sys/arch/i386/pci/via8231.c
index c4a688e1183..ee25768453d 100644
--- a/sys/arch/i386/pci/via8231.c
+++ b/sys/arch/i386/pci/via8231.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: via8231.c,v 1.3 2005/10/26 21:47:48 mickey Exp $ */
+/* $OpenBSD: via8231.c,v 1.4 2005/10/26 22:01:33 mickey Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -159,7 +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_VT8231_ISA? 0 : VT8237;
+ PCI_PRODUCT(id) == PCI_PRODUCT_VIATECH_VT8237_ISA? VT8237 : 0;
*ptagp = &via8231_pci_icu;
*phandp = ph;