summaryrefslogtreecommitdiff
path: root/sys/dev/pci/cmpci.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-06-05 23:53:55 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-06-05 23:53:55 +0000
commit514f4a69aa95cb4c0e1a06c8d5aacbb5cb0da64f (patch)
tree907a851c389c7ec63a5be0ae5e3b18f792d1a58d /sys/dev/pci/cmpci.c
parent05cba48e6f3b19c47cbdbdf411d947a9e0455b50 (diff)
untils this is sync'ed, correctly set mixer_class for CMPCI_OUTPUT_CLASS.
Diffstat (limited to 'sys/dev/pci/cmpci.c')
-rw-r--r--sys/dev/pci/cmpci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/cmpci.c b/sys/dev/pci/cmpci.c
index c3605135f1c..1154e41aa99 100644
--- a/sys/dev/pci/cmpci.c
+++ b/sys/dev/pci/cmpci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmpci.c,v 1.10 2003/04/27 11:22:53 ho Exp $ */
+/* $OpenBSD: cmpci.c,v 1.11 2003/06/05 23:53:54 fgsch Exp $ */
/*
* Copyright (c) 2000 Takuya SHIOZAKI
@@ -830,7 +830,7 @@ cmpci_query_devinfo(handle, dip)
return 0;
case CMPCI_OUTPUT_CLASS:
dip->type = AUDIO_MIXER_CLASS;
- dip->mixer_class = CMPCI_INPUT_CLASS;
+ dip->mixer_class = CMPCI_OUTPUT_CLASS;
dip->next = dip->prev = AUDIO_MIXER_LAST;
strlcpy(dip->label.name, AudioCoutputs,
sizeof dip->label.name);