Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/auviavar.h
RevisionDateAuthorComments
 1.17  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.16  23-Nov-2011  jmcneill branches: 1.16.50; 1.16.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.15  06-May-2009  cegger branches: 1.15.12; 1.15.14;
device_t/softc split
tested by jakllsch@
 1.14  28-Apr-2008  martin branches: 1.14.12; 1.14.14;
Remove clause 3 and 4 from TNF licenses
 1.13  23-Feb-2008  dyoung branches: 1.13.2; 1.13.4;
Detach self and children. Use device_t and accessors. Use PMF_FN_*.
 1.12  09-Dec-2007  jmcneill branches: 1.12.6; 1.12.10;
Merge jmcneill-pm branch.
 1.11  21-Feb-2007  thorpej branches: 1.11.2; 1.11.16; 1.11.18; 1.11.26; 1.11.28;
Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
 1.10  27-Jul-2006  kent branches: 1.10.10;
add support for AC'97 S/PDIF
 1.9  11-Dec-2005  christos branches: 1.9.4; 1.9.8;
merge ktrace-lwp.
 1.8  13-Nov-2004  kent branches: 1.8.12;
adopt auconv_set_converter()
 1.7  10-Nov-2004  kent move IS_FIXED_RATE(), SUPPORTS_4CH(), and SUPPORTS_6CH to ac97var.h
 1.6  17-Oct-2004  kent add support for suspending/resuming.
patch provided by Rhialto in PR#26432
 1.5  16-Oct-2002  kent branches: 1.5.6; 1.5.10;
Support for 4ch/6ch audio playback with VT8233/VT8235.
 1.4  08-Oct-2002  kent - Enable in-kernel sampling rate conversion for fixed-rate codec
- Remove VRA/VRM enabling in auvia_attach()
- Use ac97_codec_if::set_rate()
- Return no AUDIO_PROPS_MMAP for fixed-rate codec
- Remove unused variables in auvia_softc
 1.3  05-Oct-2002  kent Add support for VIA VT8233/VT8235. The patch was provided by Ola Eriksson
<ola at mreriksson dot net> in PR kern/18375. It is based on auvia of
OpenBSD.
 1.2  10-Dec-2000  jdolecek branches: 1.2.2;
do not try to get/set sample rate on codecs which don't support variable
rate audio - always report/use fixed rate of 44100 for them, so that the
other audio code DTRT
 1.1  31-Mar-2000  tsarna branches: 1.1.6;
Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.
 1.1.6.3  13-Dec-2000  bouyer Sync with HEAD (for UBC fixes).
 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  31-Mar-2000  bouyer file auviavar.h was added on branch thorpej_scsipi on 2000-11-20 11:42:14 +0000
 1.2.2.1  18-Oct-2002  nathanw Catch up to -current.
 1.5.10.1  30-Jan-2005  he Pull up revision 1.6 (requested by kent in ticket #949):
Add support for suspending/resuming. Fixes PR#26432.
 1.5.6.3  29-Nov-2004  skrll Sync with HEAD.
 1.5.6.2  14-Nov-2004  skrll Sync with HEAD.
 1.5.6.1  19-Oct-2004  skrll Sync with HEAD
 1.8.12.4  27-Feb-2008  yamt sync with head.
 1.8.12.3  21-Jan-2008  yamt sync with head
 1.8.12.2  26-Feb-2007  yamt sync with head.
 1.8.12.1  30-Dec-2006  yamt sync with head.
 1.9.8.1  11-Aug-2006  yamt sync with head
 1.9.4.1  09-Sep-2006  rpaulo sync with head
 1.10.10.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.11.28.1  11-Dec-2007  yamt sync with head.
 1.11.26.1  26-Dec-2007  ad Sync with head.
 1.11.18.2  23-Mar-2008  matt sync with HEAD
 1.11.18.1  09-Jan-2008  matt sync with HEAD
 1.11.16.1  04-Oct-2007  joerg Convert auvia(4) to PNP power management.
 1.11.2.1  27-Feb-2007  ad Add MP locking for audio drivers.
 1.12.10.2  02-Jun-2008  mjf Sync with HEAD.
 1.12.10.1  03-Apr-2008  mjf Sync with HEAD.
 1.12.6.1  24-Mar-2008  keiichi sync with head.
 1.13.4.2  16-May-2009  yamt sync with head
 1.13.4.1  16-May-2008  yamt sync with head.
 1.13.2.1  18-May-2008  yamt sync with head.
 1.14.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.14.12.2  11-Dec-2008  ad Checkpoint work in progress.
 1.14.12.1  08-Dec-2008  ad Convert some more drivers.
 1.15.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.15.12.1  17-Apr-2012  yamt sync with head
 1.16.54.1  27-Apr-2019  isaki Adapt to audio2.
- auvia_set_params_sub is also renamed because caller auvia_set_params
is renamed to auvia_set_format.
 1.16.50.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed