diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-10-26 22:01:34 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-10-26 22:01:34 +0000 |
commit | 448745d9ac73c5cdf25f22bcf734de22fcda2c79 (patch) | |
tree | 1b876951a2e7f6b9a103b8f8d95f643038311076 /sys/arch | |
parent | bdc3bf110f4897b6626f0ef4d525a9d3d519e526 (diff) |
reverse 8237 check to only match 8237
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/pci/via8231.c | 4 |
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; |