History log of /src/sys/dev/isa/pas.c |
Revision | | Date | Author | Comments |
1.73 |
| 27-Dec-2019 |
msaitoh | s/suport/support/
|
1.72 |
| 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.71 |
| 16-Mar-2019 |
isaki | branches: 1.71.2; Use C99 style struct initializer to audio_hw_if.
|
1.70 |
| 24-Nov-2011 |
mrg | branches: 1.70.50; 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.69 |
| 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.68 |
| 24-Mar-2010 |
dyoung | branches: 1.68.8; 1.68.10; Do not use unitialized bus_space_tag_t's. Use the tag(s) from the attachment arguments.
|
1.67 |
| 15-Mar-2008 |
cube | branches: 1.67.4; 1.67.16; 1.67.24; 1.67.26; Split device_t and softc for sb(4) and all its attachments.
|
1.66 |
| 19-Oct-2007 |
ad | branches: 1.66.12; 1.66.16; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.65 |
| 16-Nov-2006 |
christos | branches: 1.65.6; 1.65.8; 1.65.22; 1.65.24; 1.65.28; __unused removal on arguments; approved by core.
|
1.64 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.63 |
| 03-Sep-2006 |
christos | branches: 1.63.2; 1.63.4; add missing initializers
|
1.62 |
| 11-Dec-2005 |
christos | branches: 1.62.4; 1.62.8; merge ktrace-lwp.
|
1.61 |
| 14-Jan-2005 |
kent | branches: 1.61.10; ansify and KNF
|
1.60 |
| 29-Oct-2004 |
yamt | constify audio_hw_if, midi_hw_if, and radio_hw_if.
|
1.59 |
| 14-Sep-2004 |
drochner | Separate the namespace for default (ie unspecified) locators used by the isa.c bus driver and the "address/whatever not specified" argument passed to leaf device drivers. The former is "ISACF_XXX_DEFAULT" as generaterd by config(8), the latter "ISA_UNKNOWN_XXX", defined in isavar.h. This way we save a dependency of every ISA device driver on "locators.h".
|
1.58 |
| 22-Apr-2004 |
itojun | sprintf -> snprintf
|
1.57 |
| 03-May-2003 |
wiz | branches: 1.57.2; DMA, not dma nor Dma.
|
1.56 |
| 02-Oct-2002 |
thorpej | Fix sizeof and whitespace bug from the script I'm using to do the CFATTACH_DECL conversion. (Grumble.)
|
1.55 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.54 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.53 |
| 11-Jan-2002 |
jdolecek | Resurrect the 'sc->sc_sbdsp.sc_dev.dv_cfdata = match' in pasprobe(), it's needed for sbdsp.c:sbdsp_probe().
|
1.52 |
| 07-Jan-2002 |
thorpej | Overhaul of the ISA autoconfiguration code to support direct configuration of devices logically attached to the ISA bus:
* Change the isa_attach_args to have arrays of io, mem, irq, drq resources. * Add a "pnpnames" and a linked list of "pnpcompatnames" to the isa_attach_args. If either of these members are non-NULL, direct configuration of the bus is being performed. Add an ISA_DIRECT_CONFIG() macro to test for this. * Drivers are not allowed to modify the isa_attach_args unless direct configuration is not being performed and the probe fucntion is returning success. * Adapt device drivers -- currently, all driver probe routines return "no match" if ISA_DIRECT_CONFIG() evaluates to true.
|
1.51 |
| 13-Nov-2001 |
lukem | add RCSID
|
1.50 |
| 03-Oct-2001 |
augustss | Add a new optional method, dev_ioctl, to the audio hardware driver interface. It is called when an unrecognized ioctl() is performed on a device, thus allowing ioctl()s that frob the hardware driver (like loading microcode).
|
1.49 |
| 18-Jul-2001 |
thorpej | branches: 1.49.2; bzero -> memset
|
1.48 |
| 15-May-2001 |
lukem | branches: 1.48.2; delint: () protect some macro args
|
1.47 |
| 28-Apr-2000 |
jdolecek | branches: 1.47.6; pasfind(): avoid silly bug - if bus_space_map() of SB I/O space failed, we used bad label and tried to bus_space_unmap() invalid memory region
Fixes port-i386/9992 by Jarkko Teppo <jate@uwasa.fi>.
|
1.46 |
| 18-Feb-1999 |
mycroft | branches: 1.46.2; 1.46.8; Add separate halt_output and halt_input routines.
|
1.45 |
| 17-Feb-1999 |
mycroft | Pass the direction to the allocm and round_buffersize methods. Some drivers need this to properly allocate DMAable memory.
|
1.44 |
| 17-Aug-1998 |
augustss | * Redo the way the way the MIDI driver attaches to audio devices. * Improve the midisyn layer a little. * Add a driver for the Yamaha OPL[23] FM synths. The opl driver is not finished yet; it sounds pretty awful.
For some strange reason I cannot get any FM sound from my SB64 cards, but a regular SB16 works fine.
|
1.43 |
| 10-Aug-1998 |
mycroft | Use the new trigger_{in,out}put interface. Also, even on the SB1, we can leave the DMA controller in auto-initalize mode and just send a command to the board for each block. This may help prevent FIFO underruns.
|
1.42 |
| 22-Jun-1998 |
augustss | Make PAS driver work again. From "John F. Woods" <jfw@jfwhome.funhouse.com>.
|
1.41 |
| 09-Jun-1998 |
thorpej | Nuke __BROKEN_INDIRECT_CONFIG.
|
1.40 |
| 09-Jun-1998 |
thorpej | Adjust for changes to the ISA DMA API.
|
1.39 |
| 23-Mar-1998 |
augustss | Update for __BROKEN_INDIRECT_CONFIG. Still untested since it is so hard to find testers for these old cards.
|
1.38 |
| 22-Mar-1998 |
drochner | Make this file compile without BROKRN_INDIRECT_CONFIG. (Brute force - device probe always returns 0. Should be fixed soon.)
|
1.37 |
| 12-Jan-1998 |
thorpej | Update for config changes.
|
1.36 |
| 19-Oct-1997 |
augustss | Make the audio API (almost) SunOS compatible. The changes is to allow some limited mixer manipulation through the audio device (instead of the mixer device). This rendered 4 methods in audio_hw_if unused so garbage collect these.
|
1.35 |
| 14-Sep-1997 |
augustss | Get rid of `register'.
|
1.34 |
| 19-Aug-1997 |
augustss | Change the MI audio driver so it attaches to the MD driver in the normal way. This requires adding a line to the config files to get audio to work again.
|
1.33 |
| 31-Jul-1997 |
augustss | Audio changes: - Change the way attach and open works to allow multiple audio devices. - Split the mulaw.c file into two to avoid dragging in mulaw convertsion when they are not needed. Add 16 bit alaw/mulaw tables. - Change the way audio properties are gotten. - Recognize more versions os SoundBlaster.
|
1.32 |
| 28-Jul-1997 |
augustss | branches: 1.32.2; Audio: Remove the machine dependant code I put in audio.c by mistake. This adds another method to audio_hw_if. Also remove a field from audio_hw_if that was not read-only.
|
1.31 |
| 28-Jul-1997 |
augustss | audio: Minor cleanup and enable looping DMA for PSS and PAS.
|
1.30 |
| 27-Jul-1997 |
augustss | audio: Simplify handling of AUDIO_SETFD and committing of encoding mode.
|
1.29 |
| 27-Jul-1997 |
augustss | Changes to the sudio system: - It is now possible to handle devices that want "looping" DMA, e.g. the SoundBlaster correctly. The WSS and SB drivers use this. To do this several new methods were introduced in audio_hw_if. - Different silence handling (forced by previous change). - The audio driver can now be mmap()-ed, but due to problems in the VM system only for writing for now. - The OSS (Linux) audio emulation takes advantage of some of the new features.
|
1.28 |
| 25-Jul-1997 |
augustss | Make PAS audio work again. From John F. Woods, PR #3859.
|
1.27 |
| 06-Jun-1997 |
thorpej | Pull thorpej-bus-dma branch into mainline.
|
1.26 |
| 09-May-1997 |
augustss | branches: 1.26.2; Change the interface between high and lowlevel audio drivers again: Set the encoding parameters slightly differently. Remove the SW encoding/decodinf functions from this interface and move them to the audio_parameter struct; this is both more efficient and flexible.
|
1.25 |
| 29-Apr-1997 |
augustss | Change the interface between the high and low level audio drivers so that all audio encoding parameters are set at once. This simplifies the interface and make error checking easier.
|
1.24 |
| 06-Apr-1997 |
augustss | Make sure the bus tag is set where we need it.
|
1.23 |
| 24-Mar-1997 |
jtk | use new name sc_drq8 and initialize sc_drq16 (reflect changes to SB driver)
|
1.22 |
| 20-Mar-1997 |
mycroft | Combine set_encoding and set_precision into a single set_format interface.
|
1.21 |
| 13-Mar-1997 |
mycroft | Don't share the silence block between devices. Make silence filling work for more encodings, and make it device-independent. From Lennart Augustsson, in PR kern/3305.
|
1.20 |
| 12-Nov-1996 |
mikel | Use device struct from sbdsp_softc, eliminate redundant softc members. Fixes PR kern/2237.
|
1.19 |
| 13-Oct-1996 |
christos | backout kprintf changes
|
1.18 |
| 10-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.17 |
| 12-May-1996 |
mycroft | Use intr.h.
|
1.16 |
| 29-Apr-1996 |
christos | - prototype fixes
|
1.15 |
| 11-Apr-1996 |
cgd | update for addition of a machine-dependent cookie as the first argument to isa_intr_{,dis}establish().
|
1.14 |
| 17-Mar-1996 |
thorpej | New device attachment scheme:
- split softc size and match/attach out from cfdriver into a new struct cfattach.
- new "attach" directive for files.*. May specify the name of the cfattach structure, so that devices may be easily attached to parents with different autoconfiguration semantics.
|
1.13 |
| 01-Mar-1996 |
mycroft | Add support to the ISA DMA framework for auto-initialize mode. Add experimental SB16 code, disabled for now.
|
1.12 |
| 16-Feb-1996 |
mycroft | Prototype the probe and attach functions.
|
1.11 |
| 24-Dec-1995 |
mycroft | The IST_* and IPL_* constants are not bus-specific; don't treat them as such. Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
|
1.10 |
| 10-Nov-1995 |
mycroft | Convert IRQ, DRQ, and port numbers to int.
|
1.9 |
| 19-Jul-1995 |
brezak | GUS audio driver from John Kohl.
|
1.8 |
| 07-Jul-1995 |
brezak | Cleanup
|
1.7 |
| 08-May-1995 |
brezak | Remove strings
|
1.6 |
| 17-Apr-1995 |
cgd | update for new locations
|
1.5 |
| 17-Apr-1995 |
cgd | clean up several ISA device interfaces: autoconfiguration, header inclusion, and interrupt configuration. more work still needs to be done, but it's getting better...
|
1.4 |
| 25-Mar-1995 |
mycroft | Use void* rather than caddr_t in many places.
|
1.3 |
| 14-Mar-1995 |
brezak | Fixes defect port-i386/864 from John Woods (jfw@jfwhome.funhouse.com) with supplied patch. pas.c doesn't recognize ProAudio Spectrum 16 Basic card.
|
1.2 |
| 28-Feb-1995 |
brezak | Use irq directly not as a mask
|
1.1 |
| 21-Feb-1995 |
brezak | PAS driver; uses SB emulation for now
|
1.26.2.1 |
| 13-May-1997 |
thorpej | Adapt to new software interface to the on-board ISA DMA controller.
|
1.32.2.2 |
| 16-Sep-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.32.2.1 |
| 23-Aug-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.46.8.1 |
| 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.46.2.1 |
| 30-Apr-2000 |
he | Pull up revision 1.47 (requested by jdolecek): Fix bug related to allocation / deallocation of bus_space region if map of SB I/O space failed. Fixes PR#9992.
|
1.47.6.7 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.47.6.6 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.47.6.5 |
| 11-Jan-2002 |
nathanw | More catchup.
|
1.47.6.4 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.47.6.3 |
| 08-Oct-2001 |
nathanw | Catch up to -current.
|
1.47.6.2 |
| 24-Aug-2001 |
nathanw | Catch up with -current.
|
1.47.6.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.48.2.4 |
| 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.48.2.3 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.48.2.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.48.2.1 |
| 03-Aug-2001 |
lukem | update to -current
|
1.49.2.1 |
| 11-Oct-2001 |
fvdl | Catch up with -current. Fix some bogons in the sparc64 kbd/ms attach code. cd18xx conversion provided by mrg.
|
1.57.2.5 |
| 17-Jan-2005 |
skrll | Sync with HEAD.
|
1.57.2.4 |
| 02-Nov-2004 |
skrll | Sync with HEAD.
|
1.57.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.57.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.57.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.61.10.3 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.61.10.2 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.61.10.1 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.62.8.1 |
| 03-Sep-2006 |
yamt | sync with head.
|
1.62.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.63.4.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.63.4.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.63.2.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.65.28.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.65.24.2 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.65.24.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.65.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.65.8.1 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.65.6.1 |
| 27-Feb-2007 |
ad | Add MP locking for audio drivers.
|
1.66.16.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.66.12.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.67.26.1 |
| 30-May-2010 |
rmind | sync with head
|
1.67.24.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.67.16.1 |
| 08-Dec-2008 |
ad | Convert some more drivers.
|
1.67.4.1 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.68.10.2 |
| 22-Nov-2011 |
jmcneill | get rid of unused 'powerstate' callback in audio_hw_if
|
1.68.10.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.68.8.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.70.50.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.70.50.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.71.2.2 |
| 04-May-2019 |
isaki | Move dev/audio_if.h -> dev/audio/audio_if.h
|
1.71.2.1 |
| 03-May-2019 |
isaki | Adapt sbdsp to audio2. - Use new query_format/set_format interfaces. The formats are created from sb[pr]modes tables. - Drop INDEPENDENT property for models proir to SB_16.
|