Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/cmpcivar.h
RevisionDateAuthorComments
 1.12  27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.11  23-Nov-2011  jmcneill branches: 1.11.8;
Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From
the original ad-audiomp branch notes:

Add MP locking to the audio drivers.

Making the audio drivers MP safe is necessary before efforts
can be made to make the VM system MP safe.

The are two locks per device instance, an ISR lock and
a character device lock. The ISR lock replaces calls to
splaudio()/splx(), and will be held across calls to device
methods which were called at splaudio() before (e.g.
trigger_output). The character device lock is held across
calls to nearly all of the methods, excluding some only
used for initialization, e.g. get_locks.

Welcome to 5.99.57.
 1.10  04-Mar-2007  christos branches: 1.10.54; 1.10.76; 1.10.78;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.9  11-Dec-2005  christos branches: 1.9.26; 1.9.28;
merge ktrace-lwp.
 1.8  15-Jan-2005  kent branches: 1.8.10;
ansify and KNF
 1.7  10-Nov-2004  wiz Fix typo in comment; from Sergey Svishchev.
 1.6  04-Dec-2003  keihan netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
 1.5  22-Nov-2003  itohy - 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.
 1.4  04-Nov-2001  itohy branches: 1.4.16;
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.
 1.3  04-Sep-2001  itohy branches: 1.3.4;
- Add opl at cmpci attachment.
- Add mpu at cmpci attachment.
- Fix panic during attach on alpha.
- Change register of SPDIF input phase (but undocumented, either).
- Change code for mixer initialization.
- Return 1, not 0, when an interrupt is processed.

More changes to the mixer are pending....
 1.2  12-Feb-2001  tshiozak branches: 1.2.2; 1.2.4;
some improvement for cmpci; SPDIF supports, etc.
 1.1  30-Apr-2000  augustss branches: 1.1.6;
Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>
 1.1.6.3  12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.6.1  30-Apr-2000  bouyer file cmpcivar.h was added on branch thorpej_scsipi on 2000-11-20 11:42:15 +0000
 1.2.4.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.4.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.2.2.2  14-Nov-2001  nathanw Catch up to -current.
 1.2.2.1  21-Sep-2001  nathanw Catch up to -current.
 1.3.4.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.4.16.5  17-Jan-2005  skrll Sync with HEAD.
 1.4.16.4  14-Nov-2004  skrll Sync with HEAD.
 1.4.16.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.16.2  18-Sep-2004  skrll Sync with HEAD.
 1.4.16.1  03-Aug-2004  skrll Sync with HEAD
 1.8.10.1  03-Sep-2007  yamt sync with head.
 1.9.28.1  27-Feb-2007  ad Add MP locking for audio drivers.
 1.9.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.10.78.1  19-Nov-2011  jmcneill port ad-audiomp2 branch changes to 5.99.56
todo:
- port ad-audiomp2 pcppi changes
- these drivers need to be fixed:
- emuxki
- gcscaudio
- hdafg
- uaudio
- umidi
- MD audio drivers
 1.10.76.2  30-Oct-2012  yamt sync with head
 1.10.76.1  17-Apr-2012  yamt sync with head
 1.10.54.1  11-Dec-2008  ad Checkpoint work in progress.
 1.11.8.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC

RSS XML Feed