Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/emuxkivar.h
RevisionDateAuthorComments
 1.16  07-Sep-2022  khorben emuxki(4): import a list of board definitions

This is inspired by the cxdtv(4) driver.

Tested on NetBSD/amd64 with a Sound Blaster Live! Value (CT4870, PCI)
and with a Sound Blaster Audigy Rx 7.1 (SB1550, PCIe).

Additional sound cards sponsored by the NetBSD Foundation; thanks!
 1.15  07-Sep-2022  khorben emuxki(4): place struct emuxki_softc into its own file

NFCI
 1.14  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.13  23-Nov-2011  jmcneill branches: 1.13.50; 1.13.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.12  09-Jun-2009  tsutsui branches: 1.12.12; 1.12.14;
Split device_t/softc.

Tested on:
emuxki0 at pci2 dev 7 function 0: Creative Labs SBLive! EMU 10000
(audio multimedia, revision 0x05)
 1.11  28-Apr-2008  martin branches: 1.11.12; 1.11.14;
Remove clause 3 and 4 from TNF licenses
 1.10  04-Mar-2007  christos branches: 1.10.36; 1.10.38; 1.10.40;
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  27-May-2004  christos PR/25731: Adam K kirchhoff: Audigy support with the emuxki driver.
 1.6  03-May-2003  wiz branches: 1.6.2;
DMA, not dma nor Dma.
 1.5  26-Apr-2003  wiz Management, not managment. Mostly from jmc@openbsd.
 1.4  18-Feb-2003  wiz s/intial/initial/, from jmc in .pl in PR 20414.
 1.3  23-Dec-2001  jdolecek branches: 1.3.2; 1.3.4;
Merge in changes sent by Michael Shalayeff, from OpenBSD port of this driver:
- use better default for DAC level (previous produced distorted output)
- preserve DAC setting in between openings
 1.2  23-Dec-2001  jdolecek Whitespace cleanup, streight from Yannick Montulet.
 1.1  17-Oct-2001  jdolecek branches: 1.1.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.
 1.1.2.3  08-Jan-2002  nathanw Catch up to -current.
 1.1.2.2  22-Oct-2001  nathanw Catch up to -current.
 1.1.2.1  17-Oct-2001  nathanw file emuxkivar.h was added on branch nathanw_sa on 2001-10-22 20:41:23 +0000
 1.3.4.2  19-Jan-2002  he Pull up revisions 1.1-1.3 (new, requested by he):
Add driver for Creative Labs SBLive! EMU10000 and (probably) PCI512.
Fixes PR#15260.
 1.3.4.1  23-Dec-2001  he file emuxkivar.h was added on branch netbsd-1-5 on 2002-01-19 21:54:48 +0000
 1.3.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.2.1  23-Dec-2001  thorpej file emuxkivar.h was added on branch kqueue on 2002-01-10 19:56:32 +0000
 1.6.2.4  17-Jan-2005  skrll Sync with HEAD.
 1.6.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.6.2.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.40.2  20-Jun-2009  yamt sync with head
 1.10.40.1  16-May-2008  yamt sync with head.
 1.10.38.1  18-May-2008  yamt sync with head.
 1.10.36.1  02-Jun-2008  mjf Sync with HEAD.
 1.11.14.1  23-Jul-2009  jym Sync with HEAD.
 1.11.12.1  11-Dec-2008  ad Checkpoint work in progress.
 1.12.14.2  21-Nov-2011  jakllsch Make emuxki(4) work w/ audiomp changes.
 1.12.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.12.12.1  17-Apr-2012  yamt sync with head
 1.13.54.1  01-May-2019  isaki Reimplement emuxki driver.
- Use single voice per playback and per recording.
- Use fixed format, 2ch/48kHz, to simplify.
- Fix several problems in previous driver.
And now it works even on alpha!
The driver is written by Y.Sugahara. Thanks!
 1.13.50.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed