From 514f4a69aa95cb4c0e1a06c8d5aacbb5cb0da64f Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Thu, 5 Jun 2003 23:53:55 +0000 Subject: untils this is sync'ed, correctly set mixer_class for CMPCI_OUTPUT_CLASS. --- sys/dev/pci/cmpci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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); -- cgit v1.2.3