History log of /src/sys/dev/pci/cs428x.h |
Revision | | Date | Author | Comments |
1.18 |
| 03-Feb-2021 |
isaki | Remove code no longer used. The code that used sc->{halt_input,halt_output} function pointer was removed in 2004. (see cs428x.c rev 1.7)
|
1.17 |
| 08-May-2019 |
isaki | branches: 1.17.10; Merge isaki-audio2 branch, the overhaul of audio subsystem. - Interrupt-oriented system rather than thread-oriented. - Improve stability, quality and performance. - Split playback and record cleanly. Improve halfduplex support. - Many bugs are fixed including deadlocks, resource leaks, abuses, etc. - Simplify audio filter mechanism. The encoding/channels/frequency conversions are completely handled in the upper layer. So the hard- ware driver only converts its hardware encoding (if necessary). - audio_hw_if changes: - Obsoletes query_encoding and add query_format instead. - Obsoletes set_params and add set_format instead. - Remove drain, setfd, mappage. - The call sequences are changed. - ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted. - ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced. - cleanup config attributes: au*conv and mulaw. - All hardware drivers should follow it (I've done as much as possible).
Some file paths are changed: - dev/audio.c -> dev/audio/audio.c (rewritten) - dev/audiovar.h -> dev/audio/audiovar.h - dev/audio_dai.h -> dev/audio/audio_dai.h - dev/audio_if.h -> dev/audio/audio_if.h - dev/audiobell.c -> dev/audio/audiobell.c - dev/audiobellvar.h -> dev/audio/audiobellvar.h - dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c
|
1.16 |
| 27-Oct-2012 |
chs | branches: 1.16.38; 1.16.42; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.15 |
| 23-Nov-2011 |
jmcneill | branches: 1.15.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.14 |
| 09-Dec-2007 |
jmcneill | branches: 1.14.26; 1.14.48; 1.14.50; Merge jmcneill-pm branch.
|
1.13 |
| 15-Jun-2007 |
joerg | branches: 1.13.6; 1.13.8; 1.13.16; 1.13.18; Fix ACPI suspend/resume support of clcs and clct. Based on auich and hints from jmcneill@.
|
1.12 |
| 04-Mar-2007 |
christos | branches: 1.12.2; 1.12.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.11 |
| 06-Aug-2006 |
jmcneill | branches: 1.11.8; 1.11.10; 1.11.12; 1.11.14; PR/12843: Workaround for CS4280 on IBM ThinkPads. From Stephane Witzmann.
Note: This workaround conflicts with piixpm(4); you will need to disable the piixpm driver if you need this fix.
|
1.10 |
| 15-Apr-2006 |
jmcneill | Add support for the Turtle Beach Santa Cruz. Special thanks to Stephane Witzmann for spending so much time debugging this.
Fixes: kern/18880, kern/24488, port-i386/14260, kern/12603, kern/12723, kern/24957, kern/23584
Tested on i386 (Stephane Witzmann), alpha (me).
|
1.9 |
| 11-Dec-2005 |
christos | branches: 1.9.4; 1.9.6; 1.9.8; 1.9.10; 1.9.12; merge ktrace-lwp.
|
1.8 |
| 15-Jan-2005 |
kent | branches: 1.8.10; ansify and KNF
|
1.7 |
| 10-Jan-2005 |
kent | merge kent-audio1 branch, which introduces audio filter pipeline to the MI audio framework
Summary of changes:
* struct audio_params - remove sw_code, factor, factor_denom, hw_sample_rate, hw_encoding ,hw_precision, and hw_channels. Conversion information is conveyed by stream_filter_list_t. - change the type of sample_rate: u_long -> u_int - add `validbits,' which represents the valid data size in precision bits. It is required in order to distinguish 24/32bit from 24/24bit or 32/32bit.
* audio_hw_if - add two parameters to set_params() stream_filter_list_t *pfil, stream_filter_list *rfil A HW driver should set filter recipes for requested formats - constify audio_params parameters of trigger_output() and trigger_input(). They represent audio formats for the hardware. - make open() and close() optional - add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters to round_blocksize()
* sw_code is replaced with stream_filter_t. stream_filer_t converts audio data in an input buffer and writes into another output buffer unlike sw_code, which converts data in single buffer. converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c, dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are reimplemented as stream_filter_t
* MI audio - audiosetinfo() builds filter pipelines from stream_filter_list_t filled by audio_hw_if::set_params() - audiosetinfo() returns with EINVAL if mmapped and set_params() requests filters - audio_write(), audio_pint(), and audio_rint() invoke a filter pipeline. - ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS, AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for AUDIO_GETINFO handle values for a buffer nearest to userland.
* add `struct device *' parameter to ac97_attach()
* all of audio HW drivers follow audio_hw_if and ac97 changes
|
1.6 |
| 03-May-2003 |
wiz | branches: 1.6.2; 1.6.6; DMA, not dma nor Dma.
|
1.5 |
| 01-Feb-2003 |
thorpej | Add extensible malloc types, adapted from FreeBSD. This turns malloc types into a structure, a pointer to which is passed around, instead of an int constant. Allow the limit to be adjusted when the malloc type is defined, or with a function call, as suggested by Jonathan Stone.
|
1.4 |
| 18-Apr-2001 |
tacha | branches: 1.4.2; rewrite suspend/resume routine. If you suspend while playing audio, clcs and clct continue playing when resume.
|
1.3 |
| 07-Feb-2001 |
tacha | branches: 1.3.2; 1.3.4; Split out common code to cs428x.c and cosmetic change to introduce higher symmetry between cs4280.c and cs4281.c.
Also fix the problem rebooting from Windows. Relevant patch is contributed from Shingo WATANABE <nabe@nabechan.org>.
|
1.2 |
| 22-Jan-2001 |
augustss | Clean up a little.
|
1.1 |
| 22-Jan-2001 |
augustss | Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281. Driver written by Tatoku Ogaito.
|
1.3.4.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.3.2.3 |
| 21-Apr-2001 |
bouyer | Sync with HEAD
|
1.3.2.2 |
| 11-Feb-2001 |
bouyer | Sync with HEAD.
|
1.3.2.1 |
| 07-Feb-2001 |
bouyer | file cs428x.h was added on branch thorpej_scsipi on 2001-02-11 19:15:52 +0000
|
1.4.2.2 |
| 06-May-2001 |
he | Pull up revisions 1.1-1.4 (new, requested by he): Add driver for Cirrus Logic CrystalClear PCI Audio CS4281.
|
1.4.2.1 |
| 18-Apr-2001 |
he | file cs428x.h was added on branch netbsd-1-5 on 2001-05-06 15:12:48 +0000
|
1.6.6.1 |
| 09-Jan-2005 |
kent | audio_hw_if change * make open() and close() optional * add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters to round_blocksize()
|
1.6.2.1 |
| 17-Jan-2005 |
skrll | Sync with HEAD.
|
1.8.10.4 |
| 21-Jan-2008 |
yamt | sync with head
|
1.8.10.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.8.10.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.8.10.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.9.12.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.9.10.1 |
| 19-Apr-2006 |
elad | sync with head.
|
1.9.8.2 |
| 11-Aug-2006 |
yamt | sync with head
|
1.9.8.1 |
| 24-May-2006 |
yamt | sync with head.
|
1.9.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.9.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.11.14.1 |
| 03-Sep-2007 |
wrstuden | Sync w/ NetBSD-4-RC_1
|
1.11.12.1 |
| 27-Feb-2007 |
ad | Add MP locking for audio drivers.
|
1.11.10.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.11.8.1 |
| 18-Jun-2007 |
liamjfoy | Pull up following revision(s) (requested by joerg in ticket #733): sys/dev/pci/cs4280.c: revision 1.46 sys/dev/pci/cs4281.c: revision 1.34 sys/dev/pci/cs428x.h: revision 1.13 Fix ACPI suspend/resume support of clcs and clct. Based on auich and hints from jmcneill@.
|
1.12.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.12.2.1 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.13.18.1 |
| 11-Dec-2007 |
yamt | sync with head.
|
1.13.16.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.13.8.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.13.6.1 |
| 04-Oct-2007 |
joerg | Convert clcs(4) and clct(4) to PNP power management. This should also allow more then one instance of each to resume correctly.
|
1.14.50.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.14.48.2 |
| 30-Oct-2012 |
yamt | sync with head
|
1.14.48.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.14.26.2 |
| 12-Dec-2008 |
ad | Checkpoint work in progress.
|
1.14.26.1 |
| 11-Dec-2008 |
ad | Checkpoint work in progress.
|
1.15.8.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.16.42.2 |
| 05-May-2019 |
isaki | Remove encoding conversions on recording. These are handled in the upper layer now.
|
1.16.42.1 |
| 21-Apr-2019 |
isaki | Adapt cs428x families to audio2. - recording on cs4280 seems to have its own conversion. I will see it later but first make it compilable.
|
1.16.38.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.17.10.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|