NetBSD/sys/dev/pcmcia
kent 23b5d91433 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
2005-01-10 22:01:36 +00:00
..
Makefile
Makefile.pcmciadevs
aic_pcmcia.c Rather than the silly state machine, set whatever higher-level reference 2004-08-10 22:49:12 +00:00
com_pcmcia.c Always use PCMCIA_WIDTH_AUTO rather than PCMCIA_WIDTH_IO16. This spec is 2004-08-11 04:25:28 +00:00
devlist2h.awk Enhance pcmcia_product_lookup(): 2004-08-10 18:39:08 +00:00
esl.c merge kent-audio1 branch, which introduces audio filter pipeline to the MI 2005-01-10 22:01:36 +00:00
esl_pcmcia.c Update to the new world order. 2004-08-10 19:47:11 +00:00
eslvar.h Whoops. This goes with the esl_pcmcia.c commit. 2004-08-10 19:55:20 +00:00
esp_pcmcia.c Rather than the silly state machine, set whatever higher-level reference 2004-08-10 22:49:12 +00:00
fdc_pcmcia.c This code was pretty far from even compiling before. It also doesn't implement 2004-08-10 19:54:30 +00:00
files.pcmcia Split "xi" into a "xirc" frontend (similar to mhzc; it attaches two child 2004-08-08 05:56:08 +00:00
if_an_pcmcia.c Update to the new world order. 2004-08-10 20:47:17 +00:00
if_awi_pcmcia.c Rather than the silly state machine, set whatever higher-level reference 2004-08-10 22:49:12 +00:00
if_cnw.c When adding/deleting multicast addresses, only whack the address 2004-10-30 18:08:34 +00:00
if_cnwioctl.h
if_cnwreg.h
if_cs_pcmcia.c Update to the new world order. 2004-08-10 20:47:17 +00:00
if_ep_pcmcia.c Now that all the silly string printing is gone, move the location where we 2004-08-10 18:43:49 +00:00
if_mbe_pcmcia.c Do the read of the MAC address before enabling the function the first time, 2004-08-11 03:56:03 +00:00
if_ne_pcmcia.c Don't change the logic when simplifing code; a OR was changed to AND 2004-10-15 00:25:06 +00:00
if_ray.c When adding/deleting multicast addresses, only whack the address 2004-10-30 18:08:34 +00:00
if_rayreg.h
if_sm_pcmcia.c Now that all the silly string printing is gone, move the location where we 2004-08-10 18:43:49 +00:00
if_tr_pcmcia.c Now that all the silly string printing is gone, move the location where we 2004-08-10 18:43:49 +00:00
if_wi_pcmcia.c Rather than the silly state machine, set whatever higher-level reference 2004-08-10 22:49:12 +00:00
if_xi.c When adding/deleting multicast addresses, only whack the address 2004-10-30 18:08:34 +00:00
if_xireg.h Remove sc_offset. It's always 0, and if we did want to use it, "that's what 2004-08-12 19:42:03 +00:00
if_xivar.h Remove sc_offset. It's always 0, and if we did want to use it, "that's what 2004-08-12 19:42:03 +00:00
isic_pcmcia.c Now that all the silly string printing is gone, move the location where we 2004-08-10 18:43:49 +00:00
isic_pcmcia.h
isic_pcmcia_avm_fritz.c Remove the "offset" and "size" arguments to pcmcia_io_map(). In the singular 2004-08-08 23:17:12 +00:00
isic_pcmcia_elsa_isdnmc.c Remove the "offset" and "size" arguments to pcmcia_io_map(). In the singular 2004-08-08 23:17:12 +00:00
isic_pcmcia_elsa_mcall.c Remove the "offset" and "size" arguments to pcmcia_io_map(). In the singular 2004-08-08 23:17:12 +00:00
isic_pcmcia_sbspeedstar2.c Remove the "offset" and "size" arguments to pcmcia_io_map(). In the singular 2004-08-08 23:17:12 +00:00
mhzc.c delay() -> tsleep() 2004-08-12 19:32:36 +00:00
nca_pcmcia.c Rather than the silly state machine, set whatever higher-level reference 2004-08-10 22:49:12 +00:00
opl_esl.c adapt to esl_pcmcia changes 2004-08-11 16:20:05 +00:00
pcmcia.c Allow to rescan and detach by user request, using the new autoconf 2004-08-18 12:01:13 +00:00
pcmcia_cis.c Rewrite the loop without using useless SIMPLEQ_FOREACH macro. 2004-10-15 21:25:04 +00:00
pcmcia_cis_quirks.c Back out part of previous. The card refered in PR/27255 needs to be 2004-10-24 22:17:07 +00:00
pcmciachip.h a round of autoconf cleanup: 2004-09-13 12:55:47 +00:00
pcmciadevs Copyright maintenance. 2004-08-10 18:45:25 +00:00
pcmciadevs.h Regen. 2004-08-10 18:45:36 +00:00
pcmciadevs_data.h Regen. 2004-08-10 18:45:36 +00:00
pcmciareg.h My previous understanding of the I/O base/limit registers was incorrect. 2004-08-12 16:04:20 +00:00
pcmciavar.h Simplify a little. Pass down the card type from pcmcia_function_enable(), 2004-08-12 19:59:07 +00:00
pcmcom.c a round of autoconf cleanup: 2004-09-13 12:55:47 +00:00
spc_pcmcia.c Rather than the silly state machine, set whatever higher-level reference 2004-08-10 22:49:12 +00:00
wdc_pcmcia.c Make this compile on arches without __BUS_SPACE_HAS_STREAM_METHODS. 2004-10-03 09:36:49 +00:00
xirc.c Now that all the silly string printing is gone, move the location where we 2004-08-10 18:43:49 +00:00