History log of /src/sys/arch/zaurus/dev/zaudio.c |
Revision | | Date | Author | Comments |
1.23 |
| 08-Jun-2019 |
isaki | Clean get_props(). - Make get_props() return AUDIO_PROP_{PLAYBACK,CAPTURE} properly. This eliminates need for audio.c to take care of such (old) drivers which don't return both of PLAYBACK and CAPTURE. - All get_props() doesn't need to return AUDIO_PROP_MMAP. It is handled in the audio layer now.
|
1.22 |
| 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.21 |
| 23-Sep-2014 |
nonaka | branches: 1.21.20; 1.21.22; Apply WM8731 support patch from TOYOKURA Atsushi, arranged by me.
- SL-C700: work fine - SL-C750: attach failed - SL-C860: not tested
|
1.20 |
| 27-Oct-2012 |
chs | split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.19 |
| 29-Jan-2012 |
tsutsui | branches: 1.19.6; Add PXA25x based Zaurus SL-C700/750/760/860 support.
All porting work was done by TOYOKURA Atsushi, with several minor adjustments for integration by me and nonaka@.
His SL-C700 first running NetBSD/zaurus was demonstrated on NetBSD booth at Open Source Canference 2011 Tokyo/Fall: http://www.NetBSD.org/gallery/events.html#opensourceconf2011-tokyofall
Note GENERIC kernel works on SL-C750/760/860 (and C1000/3x00) but for now SL-C700 requires its own kernel with special KERNEL_BASE_PHYS address due to zbsdmod.o loader restriction (probably caused its small 32MB RAM).
|
1.18 |
| 25-Jan-2012 |
tsutsui | Defer device initializations which implicitly depend on scoop or ioexp via config_finalize_register(9).
|
1.17 |
| 21-Jan-2012 |
nonaka | fix my license notice.
|
1.16 |
| 23-Nov-2011 |
jmcneill | branches: 1.16.2; 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 |
| 23-Jun-2011 |
nonaka | branches: 1.15.2; 1.15.4; set PXA2X0_I2C_BASE to sc->sc_addr in the correct position.
|
1.14 |
| 22-Jun-2011 |
kiyohara | Add member sc_addr to struct pxa2x0_i2c_softc. And use sc_addr to bus_space_map() instead of macro-directly.
|
1.13 |
| 19-Jun-2011 |
nonaka | more support SL-C1000.
|
1.12 |
| 24-Feb-2010 |
dyoung | branches: 1.12.8; A pointer typedef entails trading too much flexibility to declare const and non-const types, and the kernel uses both const and non-const PMF qualifiers and device suspensors, so change the pmf_qual_t and device_suspensor_t typedefs from "pointers to const" to non-pointer, non-const types.
|
1.11 |
| 08-Jan-2010 |
dyoung | branches: 1.11.2; Expand PMF_FN_* macros.
|
1.10 |
| 18-Apr-2009 |
nonaka | zaudio(4): Support recording.
|
1.9 |
| 13-Mar-2009 |
nonaka | zaudio(4) works now.
|
1.8 |
| 11-Mar-2009 |
nonaka | fix typo.
|
1.7 |
| 29-Jan-2009 |
nonaka | branches: 1.7.2; Use pmf(9) instead of powerhook_*.
|
1.6 |
| 29-Jan-2009 |
nonaka | - device_t/softc split. - use aprint_* function.
|
1.5 |
| 17-Oct-2007 |
garbled | branches: 1.5.20; 1.5.28; Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here.
TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted.
NOTES: pmppc was removed as an arch, and moved to a evbppc target.
|
1.4 |
| 09-Jul-2007 |
ad | branches: 1.4.10; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
1.3 |
| 22-Feb-2007 |
thorpej | branches: 1.3.4; 1.3.6; 1.3.12; TRUE -> true, FALSE -> false
|
1.2 |
| 17-Dec-2006 |
peter | branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8; Update from the latest Zaurus source from NONAKA Kimihiro.
- LCD screen and keyboard are working now. - Add bootstrap loader.
|
1.1 |
| 16-Dec-2006 |
ober | Zaurus Port from OpenBSD by Nonaka Kimihiro OK gimpy
|
1.2.8.1 |
| 27-Feb-2007 |
yamt | - sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
|
1.2.6.2 |
| 12-Jan-2007 |
ad | Sync with head.
|
1.2.6.1 |
| 17-Dec-2006 |
ad | file zaudio.c was added on branch newlock2 on 2007-01-12 01:01:03 +0000
|
1.2.4.4 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.2.4.3 |
| 26-Feb-2007 |
yamt | sync with head.
|
1.2.4.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.2.4.1 |
| 17-Dec-2006 |
yamt | file zaudio.c was added on branch yamt-lazymbuf on 2006-12-30 20:47:28 +0000
|
1.2.2.2 |
| 18-Dec-2006 |
yamt | sync with head.
|
1.2.2.1 |
| 17-Dec-2006 |
yamt | file zaudio.c was added on branch yamt-splraiseipl on 2006-12-18 11:42:09 +0000
|
1.3.12.1 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
1.3.6.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.3.4.1 |
| 01-Jul-2007 |
ad | Adapt to callout API change.
|
1.4.10.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.5.28.2 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.5.28.1 |
| 03-Mar-2009 |
skrll | Sync with HEAD.
|
1.5.20.2 |
| 11-Mar-2010 |
yamt | sync with head
|
1.5.20.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.7.2.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.11.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.12.8.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.15.4.3 |
| 22-Nov-2011 |
jmcneill | get rid of unused 'powerstate' callback in audio_hw_if
|
1.15.4.2 |
| 20-Nov-2011 |
jmcneill | port zaudio to audiomp api changes for real this time
|
1.15.4.1 |
| 20-Nov-2011 |
jmcneill | adapt to audiomp api changes
|
1.15.2.2 |
| 30-Oct-2012 |
yamt | sync with head
|
1.15.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.16.2.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.19.6.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.19.6.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.21.22.2 |
| 04-May-2019 |
isaki | Move dev/audio_if.h -> dev/audio/audio_if.h
|
1.21.22.1 |
| 24-Apr-2019 |
isaki | Adapt zaudio family to audio2. - wm8731 and wm8750 can share zaudio_formats[]. - Drop INDEPENDENT property. These share sample rate in play and rec. - pxa2x0_i2s_setspeed() no longer needs to writeback sample rate.
|
1.21.20.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|