From 6de39c1db38f80c85c7732a354b55ced69017146 Mon Sep 17 00:00:00 2001 From: Alexander Yurchenko Date: Thu, 16 Oct 2003 18:38:41 +0000 Subject: VIA VT8231 support; from matthew.gream@pobox.com in PR 3523 --- sys/dev/pci/viaenv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys') 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); -- cgit v1.2.3