summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/pci')
-rw-r--r--sys/arch/i386/pci/via8231.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/via8231.c b/sys/arch/i386/pci/via8231.c
index ee25768453d..17956fa0a82 100644
--- a/sys/arch/i386/pci/via8231.c
+++ b/sys/arch/i386/pci/via8231.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: via8231.c,v 1.4 2005/10/26 22:01:33 mickey Exp $ */
+/* $OpenBSD: via8231.c,v 1.5 2005/10/27 15:49:30 mickey Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -159,7 +159,8 @@ 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_VT8237_ISA? VT8237 : 0;
+ (PCI_PRODUCT(id) == PCI_PRODUCT_VIATECH_VT8235_ISA ||
+ PCI_PRODUCT(id) == PCI_PRODUCT_VIATECH_VT8237_ISA)? VT8237 : 0;
*ptagp = &via8231_pci_icu;
*phandp = ph;