Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: source-changes
Date: 11/22/2003 16:48:14
Module Name:	src
Committed By:	itohy
Date:		Sat Nov 22 16:48:14 UTC 2003

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

Log Message:
- Correctly handle bit 24 of miscellaneous control register, which has
  different meanings for read and write.
  This fixes 48kHz playback to SPDIF.
- Fix the problem where the SPDIF output voltage setting (0.5V, 5V)
  was swapped.  The default value is changed from 0.5V to 5V, which
  correctly selects 5V (so the default physical behavior is unchanged).

Should fix PRs kern/16047 and kern/16817
(but not tested since I don't have other SPDIF hardware to test with).
Approved by tshiozak.


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 src/sys/dev/pci/cmpci.c
cvs rdiff -r1.4 -r1.5 src/sys/dev/pci/cmpcireg.h src/sys/dev/pci/cmpcivar.h

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