diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-10-27 15:49:31 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-10-27 15:49:31 +0000 |
commit | d75aeaad3e7a1ecd4432648a97c2809fa0967b8c (patch) | |
tree | 48adb48c61ef2ac07f99e6f3ee634390217c647a /sys/arch/i386/pci/via8231.c | |
parent | 71ae89ffa55224bb644f2c58af17c824d7de6c01 (diff) |
apparently 8235 has 8 pci lines too (ommited from the docs); tested by jolan@
Diffstat (limited to 'sys/arch/i386/pci/via8231.c')
-rw-r--r-- | sys/arch/i386/pci/via8231.c | 5 |
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; |