Home | History | Annotate | Download | only in isapnp
History log of /src/sys/dev/isapnp/mpu_isapnp.c
RevisionDateAuthorComments
 1.21  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.20  07-Dec-2011  jakllsch branches: 1.20.48; 1.20.52;
We need to hold the lock during mpu_find().
 1.19  24-Nov-2011  mrg branches: 1.19.2;
put back IPL_AUDIO and splaudio(), at the request of rmind. they are
aliases and now we can easily revert audio to IPL_VM if necessary,
without having to revert the whole branch.
 1.18  23-Nov-2011  jmcneill 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  27-Mar-2008  xtraeme branches: 1.17.16; 1.17.38; 1.17.40;
Split device_t/softc for mpu(4) and its attachments, plus other
related cosmetic changes.

Reviewed by cube@.
 1.16  19-Oct-2007  ad branches: 1.16.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.15  16-Nov-2006  christos branches: 1.15.8; 1.15.22; 1.15.24; 1.15.28;
__unused removal on arguments; approved by core.
 1.14  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.13  13-Apr-2006  christos branches: 1.13.8; 1.13.10;
Fix the MPU attachment on Aztech 1020 that has a separate mpu pnp device
instead of having the mpu in io[1]. From doomwarriorx at gmail dot com.
 1.12  29-Mar-2006  thorpej Use device_private().
 1.11  11-Dec-2005  christos branches: 1.11.4; 1.11.6; 1.11.8; 1.11.10; 1.11.12;
merge ktrace-lwp.
 1.10  27-Feb-2005  perry branches: 1.10.4;
nuke trailing whitespace
 1.9  04-Feb-2005  perry de-__P
 1.8  02-Oct-2002  thorpej branches: 1.8.6; 1.8.14; 1.8.16;
Add trailing ; to CFATTACH_DECL.
 1.7  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.6  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.5  13-Nov-2001  lukem add RCSID
 1.4  01-Aug-1999  augustss branches: 1.4.14; 1.4.16;
Move the MPU driver isa/ to ic/.
(I didn't move it in the repository because the revision history
is very short and uninteresting. :)
 1.3  22-Mar-1999  mycroft branches: 1.3.4;
Reject variant numbers which are too large (so that a new version of isapnpdevs
with an old driver will not lose mysteriously).
 1.2  22-Mar-1999  mycroft Update callers of isapnp_devmatch().
 1.1  22-Mar-1999  mycroft Add a mpu_isapnp attachment.
 1.3.4.1  02-Aug-1999  thorpej Update from trunk.
 1.4.16.2  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.4.16.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.14.2  18-Oct-2002  nathanw Catch up to -current.
 1.4.14.1  14-Nov-2001  nathanw Catch up to -current.
 1.8.16.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.8.16.1  12-Feb-2005  yamt sync with head.
 1.8.14.1  29-Apr-2005  kent sync with -current
 1.8.6.2  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.8.6.1  04-Feb-2005  skrll Sync with HEAD.
 1.10.4.3  27-Oct-2007  yamt sync with head.
 1.10.4.2  30-Dec-2006  yamt sync with head.
 1.10.4.1  21-Jun-2006  yamt sync with head.
 1.11.12.2  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.11.12.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.11.10.1  19-Apr-2006  elad sync with head.
 1.11.8.2  24-May-2006  yamt sync with head.
 1.11.8.1  01-Apr-2006  yamt sync with head.
 1.11.6.1  22-Apr-2006  simonb Sync with head.
 1.11.4.1  09-Sep-2006  rpaulo sync with head
 1.13.10.2  10-Dec-2006  yamt sync with head.
 1.13.10.1  22-Oct-2006  yamt sync with head
 1.13.8.1  18-Nov-2006  ad Sync with head.
 1.15.28.1  25-Oct-2007  bouyer Sync with HEAD.
 1.15.24.1  06-Nov-2007  matt sync with HEAD
 1.15.22.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.15.8.1  23-Oct-2007  ad Sync with head.
 1.16.16.1  03-Apr-2008  mjf Sync with HEAD.
 1.17.40.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.38.1  17-Apr-2012  yamt sync with head
 1.17.16.1  12-Dec-2008  ad Checkpoint work in progress.
 1.19.2.1  18-Feb-2012  mrg merge to -current.
 1.20.52.2  04-May-2019  isaki Move dev/audio_if.h -> dev/audio/audio_if.h
 1.20.52.1  03-May-2019  isaki Remove dev/auconv.[ch].
Now it is handled in dev/audio/audio.c and dev/audio/linear.c.
Remove dev/mulaw.h.
It already have been just a link to dev/audio/mulaw.h in this
branch.
 1.20.48.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed