summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2003-10-16 18:38:41 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2003-10-16 18:38:41 +0000
commit6de39c1db38f80c85c7732a354b55ced69017146 (patch)
treef9763bfe3a292b3e2b4429620055c718474d34ff
parent8ff1b2fd8c875cd9a6f9fc94d972b3b03415aeae (diff)
VIA VT8231 support; from matthew.gream@pobox.com in PR 3523
-rw-r--r--sys/dev/pci/viaenv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/viaenv.c b/sys/dev/pci/viaenv.c
index c01d363ab9d..76498c84256 100644
--- a/sys/dev/pci/viaenv.c
+++ b/sys/dev/pci/viaenv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: viaenv.c,v 1.1 2003/04/25 21:46:44 grange Exp $ */
+/* $OpenBSD: viaenv.c,v 1.2 2003/10/16 18:38:40 grange Exp $ */
/* $NetBSD: viaenv.c,v 1.9 2002/10/02 16:51:59 thorpej Exp $ */
/*
@@ -94,7 +94,8 @@ viaenv_match(struct device *parent, void *match, void *aux)
struct pci_attach_args *pa = aux;
if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_VIATECH &&
- PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VT82C686A_SMB)
+ (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VT82C686A_SMB ||
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VT8231_PWR))
return (1);
return (0);