NetBSD/sys/arch/macppc/dev
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
..
abtn.c
adb.c
adb_direct.c
adb_direct.h
adbvar.h
aed.c
aedvar.h
akbd.c
akbdmap.h
akbdvar.h
am79c950.c When adding/deleting multicast addresses, only whack the address 2004-10-30 18:08:34 +00:00
am79c950reg.h
ams.c
amsvar.h
apm.c
awacs.c merge kent-audio1 branch, which introduces audio filter pipeline to the MI 2005-01-10 22:01:36 +00:00
dbdma.c
dbdma.h
esp.c
espvar.h
gpio.c
if_bm.c When adding/deleting multicast addresses, only whack the address 2004-10-30 18:08:34 +00:00
if_bmreg.h
if_gm.c When adding/deleting multicast addresses, only whack the address 2004-10-30 18:08:34 +00:00
if_gmreg.h
if_mc.c
if_mcvar.h
if_wi_obio.c Don't pass in a MAC address -- yet. 2004-08-07 17:27:30 +00:00
kauai.c For and from bouyer@: call wdc_init_shadow_reg(chp) only after chp has 2004-11-25 15:24:14 +00:00
ki2c.c
mediabay.c cosmetic changes. 2005-01-08 04:24:05 +00:00
mesh.c Several changes from Michael Lorenz. Adapted from PR port-macppc/27680. 2004-12-09 04:37:30 +00:00
meshreg.h
nvram.c
obio.c Make obio match multiple times to allow access to devices on systems 2005-01-08 03:24:58 +00:00
ofb.c Back out part of previous. OF_open() works fine with /chaos/control, but 2004-12-17 05:44:12 +00:00
ofbvar.h
ofcons.c
pm_direct.c - If pm_pmgrop_pm2() fails, return after splx() -- there's no sense in 2005-01-07 05:03:08 +00:00
pm_direct.h Increase buffer from 32 bytes to 128 bytes in PMData. I have observed a 2005-01-07 04:59:58 +00:00
snapper.c merge kent-audio1 branch, which introduces audio filter pipeline to the MI 2005-01-10 22:01:36 +00:00
viareg.h
wdc_obio.c postpone the calling of wdc_init_shadow_regs(), to follow MI changes. 2004-08-23 08:54:39 +00:00
z8530tty.c
zs.c use a global variable to ensure that only one instance is configured 2005-01-10 16:38:06 +00:00
zs_kgdb.c