diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-05-08 18:33:54 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-05-08 18:33:54 +0000 |
commit | 9ed60e70514997046f75cdda67002d9f60c143d0 (patch) | |
tree | 6ba5beb820b6f2213947814895982fd7bf235d19 /sys/dev | |
parent | a503fc5111ad05c7d7943834f0be998a48ae2c9d (diff) |
kt266 is reported to be doing auvia alright by Ian McWilliam <ianm@cit.uws.edu.au>
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/auvia.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/sys/dev/pci/auvia.c b/sys/dev/pci/auvia.c index 6b8695e6694..85b4faf7fa6 100644 --- a/sys/dev/pci/auvia.c +++ b/sys/dev/pci/auvia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auvia.c,v 1.15 2002/03/14 01:26:58 millert Exp $ */ +/* $OpenBSD: auvia.c,v 1.16 2002/05/08 18:33:53 mickey Exp $ */ /* $NetBSD: auvia.c,v 1.7 2000/11/15 21:06:33 jdolecek Exp $ */ /*- @@ -201,10 +201,15 @@ auvia_match(struct device *parent, void *match, void *aux) if (PCI_VENDOR(pa->pa_id) != PCI_VENDOR_VIATECH) return 0; - if (PCI_PRODUCT(pa->pa_id) != PCI_PRODUCT_VIATECH_VT82C686A_AC97) - return 0; - return 1; + switch(PCI_PRODUCT(pa->pa_id)) { + case PCI_PRODUCT_VIATECH_VT82C686A_AC97: + return 1; + case PCI_PRODUCT_VIATECH_VT8233_AC97: + return 1; + default: + return 0; + } } |