History log of /src/sys/dev/pci/esmvar.h |
Revision | | Date | Author | Comments |
1.20 |
| 09-Feb-2024 |
andvar | fix spelling mistakes, mainly in comments and log messages.
|
1.19 |
| 08-May-2019 |
isaki | 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.18 |
| 23-Nov-2011 |
jmcneill | branches: 1.18.50; 1.18.54; 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.17 |
| 07-May-2009 |
cegger | branches: 1.17.12; 1.17.14; device_t/softc split patch presented on tech-kern@, no comments on it
|
1.16 |
| 23-Feb-2008 |
dyoung | branches: 1.16.4; 1.16.16; 1.16.18; Detach self and children. Make some functions static. Use device_t and accessors. Use PMF_FN_*.
|
1.15 |
| 09-Dec-2007 |
jmcneill | branches: 1.15.6; 1.15.10; Merge jmcneill-pm branch.
|
1.14 |
| 04-Mar-2007 |
christos | branches: 1.14.14; 1.14.16; 1.14.24; 1.14.26; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.13 |
| 11-Dec-2005 |
christos | branches: 1.13.26; 1.13.28; merge ktrace-lwp.
|
1.12 |
| 15-Jan-2005 |
kent | branches: 1.12.10; ansify and KNF
|
1.11 |
| 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.10 |
| 22-Sep-2004 |
kent | branches: 1.10.2; ac97_host_if::reset() returns non-zero value if codec reset fails, and ac97 is not attached in that case.
PR: kern/26973
|
1.9 |
| 04-Dec-2003 |
keihan | branches: 1.9.2; 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.8 |
| 01-Feb-2003 |
thorpej | branches: 1.8.2; 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.7 |
| 31-Dec-2002 |
fredette | Removed esm_freemem(), which isn't used any more.
|
1.6 |
| 30-Dec-2002 |
fredette | First cut at recording support for the ESS Maestro-2 and 2e. 16-bit mono recording seems to work OK. 16-bit stereo recording is missing the left channel for reasons unknown, fixes welcome. 8-bit recording still unsupported.
|
1.5 |
| 31-Dec-2001 |
thorpej | Avoid an "unmamed fields" warning (gcc 3.1).
|
1.4 |
| 12-Feb-2001 |
ichiro | branches: 1.4.2; 1.4.4; 1.4.6; Power Management Hook esm_powerhook();
|
1.3 |
| 18-Jan-2001 |
tv | No-op commit to force update to a non-"-kk" revision.
|
1.2 |
| 09-Jan-2001 |
rh | branches: 1.2.2; Add a quirk table for specific implementations. Change the NEC-specific subvendor test for GPIO initialization into a more generic quirk table flag. Add a quirk flag for hardware that has left and right channels reversed (currently the COMPAL 38W2 a.k.a. Dell Inspiron 5000e) Clean up PCM channel initialization and add channel swapping option.
|
1.1 |
| 08-Jan-2001 |
rh | Initial import of the Maestro 2/2e 'esm' PCI audio driver. This driver is based on the FreeBSD 'maestro' driver by Taku YAMAMOTO <taku@cent.saitama-u.ac.jp>
|
1.2.2.3 |
| 12-Mar-2001 |
bouyer | Sync with HEAD.
|
1.2.2.2 |
| 18-Jan-2001 |
bouyer | Sync with head (for UBC+NFS fixes, mostly).
|
1.2.2.1 |
| 09-Jan-2001 |
bouyer | file esmvar.h was added on branch thorpej_scsipi on 2001-01-18 09:23:25 +0000
|
1.4.6.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.4.4.2 |
| 03-May-2001 |
he | Pull up revisions 1.1-1.4 (new, requested by skrll): Add a driver for the ESS Technology Maestro-1/2/2E AC97 audio chips, ES1968 and ES1978.
|
1.4.4.1 |
| 12-Feb-2001 |
he | file esmvar.h was added on branch netbsd-1-5 on 2001-05-03 20:57:46 +0000
|
1.4.2.2 |
| 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.4.2.1 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.8.2.5 |
| 17-Jan-2005 |
skrll | Sync with HEAD.
|
1.8.2.4 |
| 24-Sep-2004 |
skrll | Sync with HEAD.
|
1.8.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.8.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.8.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.9.2.1 |
| 22-Sep-2004 |
jmc | Pullup rev 1.10 (requested by kent in ticket #867)
ac97_host_if::reset() returns non-zero value if codec reset fails, and ac97 is not attached in that case. PR#26973
|
1.10.2.2 |
| 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.10.2.1 |
| 02-Jan-2005 |
kent | * adopt the filter pipeline framework * follow ac97_attach() change
|
1.12.10.3 |
| 27-Feb-2008 |
yamt | sync with head.
|
1.12.10.2 |
| 21-Jan-2008 |
yamt | sync with head
|
1.12.10.1 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.13.28.1 |
| 27-Feb-2007 |
ad | Add MP locking for audio drivers.
|
1.13.26.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.14.26.1 |
| 11-Dec-2007 |
yamt | sync with head.
|
1.14.24.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.14.16.2 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.14.16.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.14.14.1 |
| 05-Oct-2007 |
joerg | Nuke some unused prototypes and softc members after PNP conversion.
|
1.15.10.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.15.6.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.16.18.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.16.16.2 |
| 12-Dec-2008 |
ad | Checkpoint work in progress.
|
1.16.16.1 |
| 08-Dec-2008 |
ad | Convert some more drivers.
|
1.16.4.1 |
| 16-May-2009 |
yamt | sync with head
|
1.17.14.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.17.12.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.18.54.1 |
| 28-Apr-2019 |
isaki | Adapt to audio2. - Recording seems a bit tricky so I left it untouched. (It should work on audio2 as well if it works on -current/-8.)
|
1.18.50.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|