Subject: CVS commit: syssrc/sys/dev/pci
To: None <source-changes@netbsd.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: source-changes
Date: 11/04/2001 08:57:41
Module Name:	syssrc
Committed By:	itohy
Date:		Sun Nov  4 06:57:41 UTC 2001

Modified Files:
	syssrc/sys/dev/pci: cmpci.c cmpcireg.h cmpcivar.h

Log Message:
Re-implement the mixer
 o  Implement SPDIF selection/monitoring function.
    Now, say, playback to both analog output and SPDIF is possible.

 o  Implement support of AUX input, MIC preamp and MIC recording gain.

 o  L-R selection of record source doesn't seem to work on cmpci.
    Therefore, the *.swap mixer functions are and deleted.

 o  Following SB mixer registers don't exist on cmpci, and they are removed.
	input gain, output gain, AGC, equalization (bass, treble)

 o  Other mixer changes, including
	inputs.XXX.mute -> (deleted)
	outputs.XXX.mute -> inputs.XXX.mute
	inputs.pc_speaker -> inputs.speaker
	spdif.* -> reorganized to spdif.input.*, spdif.output.*

 o  Current status:
      I have tested these and confirmed to work fine.
	- Output and recording from Line-in, AUX, CD and MIC analog inputs,
	- Output and recording from FM synthesizer,
	- Output from PC speaker input,
	- Output wave playback.
	- SPDIF (44.1kHz) input selection (#1, #2 (6ch version only),
	  wave to spdin), phase selection, monitoring and recording,
	- SPDIF (44.1kHz) playback, through (SPDIF in to SPDIF out)
	  and monitoring.

      I haven't tested these but may work.
	- SPDIF 48kHz input and output,
	- Full-duplex operation,
	- Recording wave output.

      I don't think these are working.
	- Legacy (wave + FM synthesizer) to SPDIF output (and the monitoring),
	- Exchanging front and rear outputs,
	- Surround.

      These are not implemented.
	- 4ch / 6ch support,
	- Joystick port support.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 syssrc/sys/dev/pci/cmpci.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/dev/pci/cmpcireg.h \
    syssrc/sys/dev/pci/cmpcivar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.