History log of /src/sys/dev/isa/sbdsp.c |
Revision | | Date | Author | Comments |
1.142 |
| 24-Jul-2021 |
andvar | Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889. Also fixed some additional typos in comments, found on review of same files or typos.
|
1.141 |
| 08-Jun-2019 |
isaki | branches: 1.141.14; 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.140 |
| 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.139 |
| 03-Feb-2019 |
mrg | branches: 1.139.2; - add or adjust /* FALLTHROUGH */ where appropriate - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
|
1.138 |
| 03-Sep-2018 |
riastradh | Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name min/max should not silently truncate to 32 bits on 64-bit systems. This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these may invite multiple evaluation bugs, these do _not_ cause integer truncation.
To avoid `fixing' these cases, I first changed the name in libkern, and then compile-tested every file where min/max occurred in order to confirm that it failed -- and thus confirm that nothing shadowed min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax acorn32/if_ie.c (not included in any kernels) macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of doing things fails safe, and the goal here, after all, is to _avoid_ silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that never silently truncate. But we should avoid doing that for a while, so that existing code has a chance to be detected by the compiler for conversion to uimin/uimax without changing the semantics until we can properly audit it all. (Who knows, maybe in some cases integer truncation is actually intended!)
|
1.137 |
| 04-Nov-2017 |
nat | branches: 1.137.2; 1.137.4; Add AUDIO_ENCODING_SLINEAR to supported encodings. This allows sb, sbpro & sb16 to configure with 8-bit precision.
Tested in games/mame with a 486DX emulation.
|
1.136 |
| 11-Jul-2016 |
msaitoh | branches: 1.136.10; KNF. No functional change.
|
1.135 |
| 23-Nov-2011 |
jmcneill | branches: 1.135.8; 1.135.26; 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.134 |
| 24-Feb-2010 |
dyoung | branches: 1.134.10; 1.134.12; 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.133 |
| 08-Jan-2010 |
dyoung | branches: 1.133.2; Expand PMF_FN_* macros.
|
1.132 |
| 01-Sep-2009 |
jmcneill | aprint-ify
|
1.131 |
| 28-Apr-2008 |
martin | branches: 1.131.12; Remove clause 3 and 4 from TNF licenses
|
1.130 |
| 11-Apr-2008 |
cegger | branches: 1.130.2; 1.130.4; convert to pmf(9) ok jmcneill
|
1.129 |
| 01-Apr-2008 |
xtraeme | Fix fallout from device_t/softc split to mpu(4): always pass the mpu_softc to mpu_intr(). Found by Takeshi Nakayama.
|
1.128 |
| 15-Mar-2008 |
cube | Split device_t and softc for sb(4) and all its attachments.
|
1.127 |
| 19-Oct-2007 |
ad | branches: 1.127.12; 1.127.16; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.126 |
| 16-Nov-2006 |
christos | branches: 1.126.6; 1.126.8; 1.126.22; 1.126.24; 1.126.28; __unused removal on arguments; approved by core.
|
1.125 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.124 |
| 24-Sep-2006 |
jmcneill | Add "name" parameter to powerhook_establish, to aid debugging. No objections on tech-kern@
|
1.123 |
| 03-Sep-2006 |
christos | branches: 1.123.2; 1.123.4; add missing initializers
|
1.122 |
| 14-May-2006 |
elad | integrate kauth.
|
1.121 |
| 13-Apr-2006 |
christos | Coverity CID 1320: Don't try to use drq16 as an index in an array if it is -1
|
1.120 |
| 29-Mar-2006 |
thorpej | Use device_cfdata().
|
1.119 |
| 08-Mar-2006 |
lukem | branches: 1.119.2; Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings. Add a space between numbers and Hz unit.
|
1.118 |
| 11-Dec-2005 |
christos | branches: 1.118.4; 1.118.6; 1.118.8; 1.118.10; merge ktrace-lwp.
|
1.117 |
| 27-Feb-2005 |
perry | branches: 1.117.4; nuke trailing whitespace
|
1.116 |
| 01-Feb-2005 |
gson | Update printf format in debug printf to account for sample_rate now being an unsigned int.
|
1.115 |
| 13-Jan-2005 |
kent | branches: 1.115.2; 1.115.4; ansify and KNF
|
1.114 |
| 10-Jan-2005 |
kent | merge kent-audio1 branch, which introduces audio filter pipeline to the MI audio framework
Summary of changes:
* struct audio_params - remove sw_code, factor, factor_denom, hw_sample_rate, hw_encoding ,hw_precision, and hw_channels. Conversion information is conveyed by stream_filter_list_t. - change the type of sample_rate: u_long -> u_int - add `validbits,' which represents the valid data size in precision bits. It is required in order to distinguish 24/32bit from 24/24bit or 32/32bit.
* audio_hw_if - add two parameters to set_params() stream_filter_list_t *pfil, stream_filter_list *rfil A HW driver should set filter recipes for requested formats - constify audio_params parameters of trigger_output() and trigger_input(). They represent audio formats for the hardware. - make open() and close() optional - add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters to round_blocksize()
* sw_code is replaced with stream_filter_t. stream_filer_t converts audio data in an input buffer and writes into another output buffer unlike sw_code, which converts data in single buffer. converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c, dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are reimplemented as stream_filter_t
* MI audio - audiosetinfo() builds filter pipelines from stream_filter_list_t filled by audio_hw_if::set_params() - audiosetinfo() returns with EINVAL if mmapped and set_params() requests filters - audio_write(), audio_pint(), and audio_rint() invoke a filter pipeline. - ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS, AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for AUDIO_GETINFO handle values for a buffer nearest to userland.
* add `struct device *' parameter to ac97_attach()
* all of audio HW drivers follow audio_hw_if and ac97 changes
|
1.113 |
| 09-Jul-2004 |
mycroft | branches: 1.113.2; Remove junk code.
|
1.112 |
| 09-May-2003 |
fvdl | branches: 1.112.2; A few ISA sound drivers like to share dma channels, and hence deferred isa_dmamap_create() calls to their open/close entrypoints. This worked with some luck, but broke on i386 when _bus_dmamap_create started to allocate bounce buffers upfront, since memory below 16M may well not be available when the sound devices is opened for the Nth time.
To fix this, create a new simple interface, isa_drq_alloc/isa_drq_free, wrappers around already existing bitmask macros. These are expected to be used before an isa_dmamap_create call, and after an isa_dmamap_destroy call, respectively. For the sb and ad1848 drivers, they're deferred until open/close.
All isa_dmamap_create calls can now use BUS_DMA_ALLOCNOW and be done at attach time.
|
1.111 |
| 03-May-2003 |
wiz | DMA, not dma nor Dma.
|
1.110 |
| 01-Feb-2003 |
thorpej | Add extensible malloc types, adapted from FreeBSD. This turns malloc types into a structure, a pointer to which is passed around, instead of an int constant. Allow the limit to be adjusted when the malloc type is defined, or with a function call, as suggested by Jonathan Stone.
|
1.109 |
| 06-Jan-2002 |
augustss | Increase max sampling rate on SB16. It seems almost all models supports it.
|
1.108 |
| 13-Nov-2001 |
lukem | add RCSID
|
1.107 |
| 22-Feb-2001 |
minoura | branches: 1.107.2; 1.107.4; Reset the mixer when resume from suspend. This is required on some laptops with a buggy APM BIOS. Code from Inoue Yoshinari <pf5y-inue@asahi-net.or.jp>.
|
1.106 |
| 28-Jun-2000 |
mrg | remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
1.105 |
| 26-Jun-2000 |
simonb | Change the kernel mmap interface so that the offset to map is an "off_t" and the return value is a "paddr_t" to allow mappings at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
|
1.104 |
| 07-Feb-2000 |
thorpej | branches: 1.104.4; Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns the maximum transfer size for the specified DMA channel. Make all clients of ISA DMA use this call to determine their maximum transfer size.
|
1.103 |
| 20-Jan-2000 |
thorpej | Simplify sbdsp_pause().
|
1.102 |
| 01-Nov-1999 |
augustss | Make little endian and big endian version of all functions that deal with 16 bit samples. Let the drivers decide which ones to use.
|
1.101 |
| 10-Oct-1999 |
mycroft | branches: 1.101.2; 1.101.4; Fix one more #ifdef, and now it actually compiles again. *sigh*
|
1.100 |
| 04-Aug-1999 |
augustss | branches: 1.100.2; Use NMPU not NMIDI around call to mpu_intr.
|
1.99 |
| 02-Aug-1999 |
augustss | Move the mpu device declaration to conf/files. Let the mpu device attach at the sb device, and then midi at the mpu. Update the mpu at eso attachment.
|
1.98 |
| 22-Mar-1999 |
mycroft | branches: 1.98.4; Make sure we clean up any DMA maps if the open fails.
|
1.97 |
| 22-Mar-1999 |
mycroft | Several things: * Rearrange the speed mapping table and adjust the code so that the highest rate can actually be used. Previously we ended up rounding up slightly lower speeds and then losing because set_params couldn't set the mode back to the current one. * Allow 260 as a valid I/O address, since the SB1 can be jumpered to this. * Change the MPU-401 code so it can be attached as a separate device. (XXX Really, the SB code ought to just attach a subdevice itself.) * Do not attach an OPL on the SB1. Writing to the OPL registers at SB_base+0 on this card wedges my machine. (XXX Should we access it at 388 instead? The Creative web site claims that this board *does* have an OPL2, but I haven't played with this extensively.) * Allocate the SB DMA channels at open time, rather than attach time, so that a single DRQ can be used for multiple cards (if only one is in use at a given time). (XXX Let me tell you why this is a horrible hack. If the ISA DMA code tries to allocate a bounce buffer after boot time, it will generally fail, because there is no contiguous memory below 16MB and the code to allocate contiguous pages doesn't know how to move things around. Now, we shouldn't ever be using bounce buffers here, because we use isa_dmamem_alloc(). So we just turn off BUS_DMA_ALLOCNOW and we don't actually try to. That's cool, and it even works, but isa_dmamem_alloc() has the same problem. It just happens that we allocate the ring buffers at boot time, and whenever we reallocate them (due to the buffer size changing), we just deallocated the previous (contiguous) buffer, so we get lucky. This is absolutely disgusting and needs to be fixed.)
|
1.96 |
| 22-Feb-1999 |
mycroft | Use DMAMODE_LOOPDEMAND. Tested on a ViBRA16.
|
1.95 |
| 18-Feb-1999 |
mycroft | spaces -> tabs
|
1.94 |
| 18-Feb-1999 |
mycroft | Remove some superfluous softc elements.
|
1.93 |
| 18-Feb-1999 |
mycroft | Add separate halt_output and halt_input routines.
|
1.92 |
| 17-Feb-1999 |
mycroft | Fix slight ommission in previous.
|
1.91 |
| 17-Feb-1999 |
mycroft | Pass the direction to the allocm and round_buffersize methods. Some drivers need this to properly allocate DMAable memory.
|
1.90 |
| 17-Feb-1999 |
mycroft | If we have an 8-bit DRQ, always pass that to isa_malloc().
|
1.89 |
| 08-Jan-1999 |
augustss | Avoid arithmetic on `void *' since that's not ANSI C.
|
1.88 |
| 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.87 |
| 10-Aug-1998 |
augustss | Fix typo.
|
1.86 |
| 10-Aug-1998 |
mycroft | Minor change.
|
1.85 |
| 10-Aug-1998 |
mycroft | Slow down, Wilbur.
|
1.84 |
| 10-Aug-1998 |
mycroft | Fix a typo I introduced in the MIDI code.
|
1.83 |
| 10-Aug-1998 |
mycroft | For models prior to the SB16, there is only one clock divider, so couple the sample rates. However, only do this if both play and record are being used simultaneously; otherwise we can't play 22KHz on the SB1.
|
1.82 |
| 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.81 |
| 07-Aug-1998 |
augustss | Add MIDI support. The MIDI devices can be accessed as ``raw'' through the /dev/rmidiN devices, or with a sequencer interface via /dev/music. So far the only supported MIDI device is the MPU401 port on SoundBlaster (and only on SB on isapnp, since we do not have locators with multiple values yet).
|
1.80 |
| 09-Jun-1998 |
thorpej | Adjust for changes to the ISA DMA API.
|
1.79 |
| 04-Mar-1998 |
augustss | Use lower case "agc" for consistency.
|
1.78 |
| 30-Jan-1998 |
bouyer | Fix for the vibra16x from Lennart Augusts: saying that the dsp4.16 was a SB64 was just a guess. The vibra16x is really a sb16.
|
1.77 |
| 02-Dec-1997 |
mycroft | Set the gain to 1/2 by default; 3/4 is too loud and can damage headphones and speakers.
|
1.76 |
| 19-Oct-1997 |
augustss | branches: 1.76.2; 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.75 |
| 16-Oct-1997 |
augustss | Make sure the 'input' class is used even for the 1345 mixer.
|
1.74 |
| 11-Oct-1997 |
mycroft | AudioElinear -> AudioEslinear
|
1.73 |
| 11-Oct-1997 |
mycroft | AudioC[A-Z] -> AudioC[a-z]
|
1.72 |
| 06-Oct-1997 |
augustss | Keep filter when setting source on SB Pro. Close PR 2593.
|
1.71 |
| 09-Sep-1997 |
augustss | Change the way we determine what interrupt routine to use to make it work when drq8 == drq16.
|
1.70 |
| 29-Aug-1997 |
augustss | Substantial rewrite of the SB driver to make it do full duplex on an SB16. Because of the braindead design of the SB the input and output have to use different precisions (8 and 16 bits). It is possible to set the driver to use 8 bits on both and it will the emulate 8 bits on the output by expanding it to 16 bits.
|
1.69 |
| 24-Aug-1997 |
augustss | Add mute and channels swap to the mixer capabilites.
|
1.68 |
| 24-Aug-1997 |
augustss | - Change audio_hw_if a little: set_param now sets the play and record modes at the same time instead by using two different calls. This enables it to check more easily if the combined mode is all right. - Improve the error checking in audio.c. - Add a new audio property, AUDIO_PROP_INDEPENDENT, show if the play and record settings are independent. - Fix some buglets in audio.c.
|
1.67 |
| 19-Aug-1997 |
augustss | Avoid munging audio_defaults.
|
1.66 |
| 11-Aug-1997 |
augustss | Round mixer values correctly when setting them. This is important for the OSS emulation since OSS uses a different range of values for the mixer.
|
1.65 |
| 04-Aug-1997 |
augustss | Audio: * Make it possible to use software assisted encodings that expand the sample size. * Use 16 bits per sample when emulating mulaw coding on the SB. * Prepare for SB16 without CT1745 mixer.
|
1.64 |
| 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.63 |
| 28-Jul-1997 |
augustss | branches: 1.63.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.62 |
| 28-Jul-1997 |
augustss | audio: Minor cleanup and enable looping DMA for PSS and PAS.
|
1.61 |
| 27-Jul-1997 |
augustss | audio: Simplify handling of AUDIO_SETFD and committing of encoding mode.
|
1.60 |
| 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.59 |
| 15-Jul-1997 |
augustss | In the name of backwards compatibility AUDIO_ENCODING_LINEAR has been renamed AUDIO_ENCODING_SLINEAR and AUDIO_ENCODING_LINEAR reverts to the NetBSD 1.2 sematics. A kernel with COMPAT_12 defined will accept AUDIO_ENCODING_LINEAR and treat it as before, without COMPAT_12 it will be rejected.
|
1.58 |
| 13-Jun-1997 |
augustss | Fix a braino in record source selection and a pasto in detecting 16 bit mode recording.
|
1.57 |
| 06-Jun-1997 |
thorpej | Pull thorpej-bus-dma branch into mainline.
|
1.56 |
| 29-May-1997 |
jtk | make Jazz16 16-bit output work properly again. Still hangs somewhere (not yet diagnosed) on occasion in high-speed mode, but a ^C will exit immediately--no 30-second drainage timeout.
|
1.55 |
| 28-May-1997 |
augustss | Add Alaw encoding emulation.
|
1.54 |
| 27-May-1997 |
augustss | A cosmetic name change.
|
1.53 |
| 26-May-1997 |
mycroft | Minor corrections to previous. Notably, make recording work on SBPro again.
|
1.52 |
| 23-May-1997 |
augustss | Redo the way selecting the mode for SB cards is done completely. It is now table driven since there are so many different variations of SB cards out there. Also fix a bug that stopped SB2 and SBPro from working.
|
1.51 |
| 20-May-1997 |
augustss | Make the audio default parameters into a globally accessible constant.
|
1.50 |
| 19-May-1997 |
augustss | Redo the SB mixer code. The driver can now distinguish between the four different mixer options: none, CT1335, CT1345, and CT1745. It should now be possible to access most of the SB16 functionality.
|
1.49 |
| 18-May-1997 |
augustss | Mask the level registers as the documentation suggests.
|
1.48 |
| 17-May-1997 |
augustss | Change lowater calculation a little. Fix mixer setting bug and add some missing splaudio(). Set SB drq16 to 5 and don't pretend to be SB v1.0.
|
1.47 |
| 16-May-1997 |
augustss | Back to pretending to be a SB v1.0 again, the mixer code for higher versions is buggy.
|
1.46 |
| 13-May-1997 |
augustss | Clean up emulation code, SB, and GUS drivers and add some more encoding emulation to SB.
|
1.45 |
| 09-May-1997 |
augustss | branches: 1.45.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.44 |
| 07-May-1997 |
augustss | Convert to new orthogonal audio encoding scheme and implement some of the new encodings. The change to ioctl AUDIO_GETENC is NOT backwards compatible.
|
1.43 |
| 07-May-1997 |
mikel | update sb_printsc() to match current reality.
|
1.42 |
| 30-Apr-1997 |
augustss | XXX Pretend that all SB cards are of model 1. XXX This way you can at least use SB cards until the real fixes go in.
|
1.41 |
| 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.40 |
| 29-Mar-1997 |
jtk | partial fix for PR 3385: correctly identify JAZZ-16 when AUDIO_DEBUG is enabled
|
1.39 |
| 20-Mar-1997 |
mycroft | Use autoinitialize DMA mode on the SB2 and later. Partly from Torsten Duwe.
|
1.38 |
| 20-Mar-1997 |
mycroft | Make sure we round the block size to a multiple of the sample size.
|
1.37 |
| 20-Mar-1997 |
mycroft | Remove bogus block rounding code. If the application sets a block size explicitly, it had better know what it's doing. From PR 2587, by Robert Baron.
|
1.36 |
| 20-Mar-1997 |
mycroft | Turn off a debugging printf().
|
1.35 |
| 20-Mar-1997 |
mycroft | Add 16-bit DRQ support on PnP, and enable 16-bit output.
|
1.34 |
| 20-Mar-1997 |
mycroft | Combine set_encoding and set_precision into a single set_format interface.
|
1.33 |
| 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.32 |
| 03-Mar-1997 |
christos | Fix bug introduced in the conversion to bus_*(). Don't always say that we are a JASS16. From enami tsugutomo.
|
1.31 |
| 16-Jan-1997 |
christos | branches: 1.31.2; - convert to bus_space_* - split attachment code to sb_isa.c
|
1.30 |
| 25-Oct-1996 |
fvdl | branches: 1.30.2; Move 'not finished' printf within AUDIO_DEBUG ifdefs, it should normally be silent about this and caused confusion with stray interrupts.
|
1.29 |
| 16-Oct-1996 |
jtk | fix PR 2851: make it compile under -Wformat
|
1.28 |
| 13-Oct-1996 |
christos | backout kprintf changes
|
1.27 |
| 10-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.26 |
| 12-May-1996 |
mycroft | Use intr.h.
|
1.25 |
| 29-Apr-1996 |
christos | - prototype fixes
|
1.24 |
| 16-Mar-1996 |
jtk | add MediaVision Jazz16 chipset support. It must be configured with 'flags 1' on the sb? kernel configuration file line (because it frobs a noncontiguous IO port to configure the Jazz16 extensions).
Also, remove static sb_device structure and fill in user's buffer on each request.
|
1.23 |
| 01-Mar-1996 |
mycroft | Add support to the ISA DMA framework for auto-initialize mode. Add experimental SB16 code, disabled for now.
|
1.22 |
| 20-Feb-1996 |
mycroft | Do not allow the gain to be changed on an original SoundBlaster.
|
1.21 |
| 20-Feb-1996 |
mycroft | Fix mono volume adjustment.
|
1.20 |
| 20-Feb-1996 |
mycroft | XXX This is a kluge. Check to see if the DMA transfer is finished; if not, don't do interrupt processing.
|
1.19 |
| 18-Feb-1996 |
mycroft | Declare a variable...
|
1.18 |
| 18-Feb-1996 |
mycroft | Clean this up a bit.
|
1.17 |
| 18-Feb-1996 |
jtk | Add bass/treble input filter adjustment controls to SB (Pro) driver
|
1.16 |
| 16-Feb-1996 |
mycroft | Various: * Snap the sample rate when setting it, and remember only the time constant. * Set the time constant when changing between play/record. * Always return the actual sample rate with AUDIO_GETINFO.
|
1.15 |
| 16-Feb-1996 |
mycroft | Various, including: * Add more delays while writing registers. * Replace sc_dma{in,out}_inprogress with sc_dmadir. * Eliminate the need for sc_locked. * Add more DPRINTF()s.
|
1.14 |
| 10-Nov-1995 |
mycroft | Convert IRQ, DRQ, and port numbers to int.
|
1.13 |
| 19-Jul-1995 |
brezak | GUS audio driver from John Kohl.
|
1.12 |
| 07-Jul-1995 |
brezak | Cleanup
|
1.11 |
| 08-May-1995 |
brezak | Remove strings
|
1.10 |
| 08-May-1995 |
brezak | Fix holes in device index space. PR#1028
|
1.9 |
| 26-Apr-1995 |
brezak | Fix nits from Mike Long <mike.long@analog.com> PR#996
|
1.8 |
| 17-Apr-1995 |
mycroft | Fix obvious bug in reading from SB_MIC_PORT.
|
1.7 |
| 17-Apr-1995 |
cgd | update for new locations
|
1.6 |
| 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.5 |
| 25-Mar-1995 |
mycroft | Use void* rather than caddr_t in many places.
|
1.4 |
| 14-Mar-1995 |
brezak | Fixes defect port-i386/860 from John Woods (jfw@jfwhome.funhouse.com) with supplied patch. Kernel will not link with only ProAudio Spectrum driver specified.
|
1.3 |
| 13-Mar-1995 |
brezak | Fix SB8 playback. From David Gluss <david@pure.com>
|
1.2 |
| 08-Mar-1995 |
brezak | Cleanup for SB16 (From Jan Sparud)
|
1.1 |
| 21-Feb-1995 |
brezak | SoundBlaster driver for SB, SB16 and SBPRO
|
1.30.2.1 |
| 18-Jan-1997 |
thorpej | Update from trunk.
|
1.31.2.1 |
| 12-Mar-1997 |
is | Merge in changes from The Trunk
|
1.45.2.4 |
| 01-Jun-1997 |
thorpej | Update from trunk.
|
1.45.2.3 |
| 24-May-1997 |
thorpej | Update from trunk.
|
1.45.2.2 |
| 19-May-1997 |
thorpej | Update from trunk.
|
1.45.2.1 |
| 13-May-1997 |
thorpej | Adapt to new software interface to the on-board ISA DMA controller.
|
1.63.2.5 |
| 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.63.2.4 |
| 16-Sep-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.63.2.3 |
| 01-Sep-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.63.2.2 |
| 27-Aug-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.63.2.1 |
| 23-Aug-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.76.2.2 |
| 07-Feb-1998 |
mellon | Pull up 1.78 (manuel)
|
1.76.2.1 |
| 09-Dec-1997 |
thorpej | Sync w/ trunk (mycroft)
|
1.98.4.1 |
| 02-Aug-1999 |
thorpej | Update from trunk.
|
1.100.2.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.101.4.1 |
| 15-Nov-1999 |
fvdl | Sync with -current
|
1.101.2.2 |
| 12-Mar-2001 |
bouyer | Sync with HEAD.
|
1.101.2.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.104.4.1 |
| 30-Jun-2000 |
simonb | Pull up mmap paddr_t/off_t changes from trunk.
|
1.107.4.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.107.2.3 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.107.2.2 |
| 11-Jan-2002 |
nathanw | More catchup.
|
1.107.2.1 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.112.2.6 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.112.2.5 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.112.2.4 |
| 17-Jan-2005 |
skrll | Sync with HEAD.
|
1.112.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.112.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.112.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.113.2.3 |
| 09-Jan-2005 |
kent | audio_hw_if change * make open() and close() optional * add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters to round_blocksize()
|
1.113.2.2 |
| 03-Jan-2005 |
kent | * remove stream_filter_list_append and stream_filter_list_prepend * add stream_filter_list_t::{append(), prepend(), set()}
|
1.113.2.1 |
| 03-Jan-2005 |
kent | * adopt the filter pipeline framework
* ic/ad1848.c, isa/ess.c, isa/sbdsp.c remove direct call of set_params() for the default encoding. It should be called by the MI audio framework.
|
1.115.4.2 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.115.4.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
1.115.2.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.117.4.4 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.117.4.3 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.117.4.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.117.4.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.118.10.1 |
| 19-Apr-2006 |
elad | sync with head.
|
1.118.8.4 |
| 03-Sep-2006 |
yamt | sync with head.
|
1.118.8.3 |
| 24-May-2006 |
yamt | sync with head.
|
1.118.8.2 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.118.8.1 |
| 13-Mar-2006 |
yamt | sync with head.
|
1.118.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.118.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.119.2.2 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.119.2.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.123.4.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.123.4.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.123.2.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.126.28.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.126.24.2 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.126.24.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.126.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.126.8.1 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.126.6.1 |
| 27-Feb-2007 |
ad | Add MP locking for audio drivers.
|
1.127.16.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.127.16.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.127.12.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.130.4.3 |
| 11-Mar-2010 |
yamt | sync with head
|
1.130.4.2 |
| 16-Sep-2009 |
yamt | sync with head
|
1.130.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.130.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.131.12.3 |
| 11-Dec-2008 |
ad | Checkpoint work in progress.
|
1.131.12.2 |
| 09-Dec-2008 |
ad | Checkpoint work on MIDI.
|
1.131.12.1 |
| 08-Dec-2008 |
ad | Convert some more drivers.
|
1.133.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.134.12.3 |
| 20-Nov-2011 |
jmcneill | improve the last change, after discussing it with rmind
|
1.134.12.2 |
| 20-Nov-2011 |
jmcneill | don't kpause with intr_lock held
|
1.134.12.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.134.10.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.135.26.1 |
| 05-Oct-2016 |
skrll | Sync with HEAD
|
1.135.8.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.136.10.1 |
| 16-Apr-2018 |
martin | Pull up following revision(s) (requested by nat in ticket #761):
sys/dev/isa/sbdsp.c: revision 1.137
Add AUDIO_ENCODING_SLINEAR to supported encodings. This allows sb, sbpro & sb16 to configure with 8-bit precision.
Tested in games/mame with a 486DX emulation.
|
1.137.4.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.137.2.1 |
| 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
1.139.2.4 |
| 05-May-2019 |
isaki | Fix typos (made in this branch).
|
1.139.2.3 |
| 04-May-2019 |
isaki | Move dev/audio_if.h -> dev/audio/audio_if.h
|
1.139.2.2 |
| 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.
|
1.139.2.1 |
| 21-Apr-2019 |
isaki | Not yet fully adapted to audio2 but make it compilable. - Drop FULLDUPLEX property. It is done in a tricky way.
|
1.141.14.1 |
| 01-Aug-2021 |
thorpej | Sync with HEAD.
|