summaryrefslogtreecommitdiff
path: root/sys/dev/pci/auvia.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-05-31 20:28:39 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-05-31 20:28:39 +0000
commitf14685e3b1083c33445dbd5c5b7633998f52daa7 (patch)
tree31de83bed17100cfec7d5fa84a9f24b299970fb7 /sys/dev/pci/auvia.c
parent4e6bddd6e3152412a364c32fd7b8f7125838c94f (diff)
put the right thing into the audio name; pt out by Sebastian Stark <seb@todesplanet.de>
Diffstat (limited to 'sys/dev/pci/auvia.c')
-rw-r--r--sys/dev/pci/auvia.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/auvia.c b/sys/dev/pci/auvia.c
index c2551d6064e..de0afe759a6 100644
--- a/sys/dev/pci/auvia.c
+++ b/sys/dev/pci/auvia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auvia.c,v 1.17 2002/05/30 15:13:20 mickey Exp $ */
+/* $OpenBSD: auvia.c,v 1.18 2002/05/31 20:28:38 mickey Exp $ */
/* $NetBSD: auvia.c,v 1.7 2000/11/15 21:06:33 jdolecek Exp $ */
/*-
@@ -665,7 +665,9 @@ auvia_getdev(void *addr, struct audio_device *retp)
struct auvia_softc *sc = addr;
if (retp) {
- strncpy(retp->name, "VIA VT82C686A", sizeof(retp->name));
+ strncpy(retp->name,
+ sc->sc_flags & AUVIA_FLAGS_VT8233? "VIA VT8233" :
+ "VIA VT82C686A", sizeof(retp->name));
strncpy(retp->version, sc->sc_revision, sizeof(retp->version));
strncpy(retp->config, "auvia", sizeof(retp->config));
}