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-11 01:01:36 +03:00
|
|
|
# $NetBSD: files.tc,v 1.28 2005/01/10 22:01:37 kent Exp $
|
1995-12-20 03:54:18 +03:00
|
|
|
#
|
1997-07-21 00:32:14 +04:00
|
|
|
# Config file and device description for machine-independent
|
2000-11-24 08:02:26 +03:00
|
|
|
# TURBOchannel code. Included by ports that need it.
|
1995-12-20 03:54:18 +03:00
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag TCVERBOSE
|
1997-09-13 12:52:23 +04:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device tc {[slot = -1], [offset = -1]}
|
1997-07-22 08:32:13 +04:00
|
|
|
#attach tc at tcbus
|
1995-12-20 03:54:18 +03:00
|
|
|
file dev/tc/tc.c tc needs-flag
|
|
|
|
|
2000-11-24 08:02:26 +03:00
|
|
|
# IOCTL ASIC
|
1998-02-17 01:12:45 +03:00
|
|
|
device ioasic { offset = -1 }
|
1997-07-22 08:32:13 +04:00
|
|
|
attach ioasic at tc
|
1999-03-16 17:07:22 +03:00
|
|
|
file dev/tc/ioasic_subr.c ioasic
|
1997-07-22 08:32:13 +04:00
|
|
|
|
|
|
|
# LANCE attachments.
|
|
|
|
# lance device defined in sys/conf/files
|
|
|
|
# le_dec_subr attribute defined in sys/dev/dec/files.dec
|
|
|
|
|
1998-07-21 21:36:01 +04:00
|
|
|
attach le at ioasic with le_ioasic: le24, le_dec_subr
|
1999-09-09 10:33:38 +04:00
|
|
|
file dev/tc/if_le_ioasic.c le_ioasic
|
2001-10-01 14:22:42 +04:00
|
|
|
|
|
|
|
attach le at tc with le_tc: le24, le_dec_subr
|
1997-07-22 08:32:13 +04:00
|
|
|
file dev/tc/if_le_tc.c le_tc
|
|
|
|
|
2000-05-02 10:43:05 +04:00
|
|
|
# baseboard audio
|
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-11 01:01:36 +03:00
|
|
|
device bba: audiobus,am7930,auconv
|
2000-05-02 10:43:05 +04:00
|
|
|
attach bba at ioasic
|
|
|
|
file dev/tc/bba.c bba
|
1996-05-20 04:45:02 +04:00
|
|
|
|
2000-11-24 08:02:26 +03:00
|
|
|
# DEFTA FDDI controller
|
1998-02-17 01:12:45 +03:00
|
|
|
device fta: pdq, fddi, ifnet, arp
|
1996-05-20 04:45:02 +04:00
|
|
|
attach fta at tc
|
|
|
|
file dev/tc/if_fta.c fta
|
2000-11-24 08:02:26 +03:00
|
|
|
|
|
|
|
# CX PMAG-B
|
|
|
|
#device cfb: wsemuldisplaydev, rasops8
|
|
|
|
#attach cfb at tc
|
|
|
|
#file dev/tc/cfb.c cfb needs-flag
|
|
|
|
|
|
|
|
# MX PMAG-A
|
|
|
|
#device mfb: wsemuldisplaydev, rasops8
|
|
|
|
#attach mfb at tc
|
|
|
|
#file dev/tc/mfb.c mfb needs-flag
|
|
|
|
|
|
|
|
# TX PMAG-J
|
|
|
|
#device tfb: wsemuldisplaydev, rasops8
|
|
|
|
#attach tfb at tc
|
|
|
|
#file dev/tc/tfb.c tfb needs-flag
|
|
|
|
|
|
|
|
# HX PMAGB-B
|
|
|
|
#device sfb: wsemuldisplaydev, rasops8
|
|
|
|
#attach sfb at tc
|
|
|
|
#file dev/tc/sfb.c sfb needs-flag
|
|
|
|
|
|
|
|
# DV MAXINE builtin
|
|
|
|
#device xcfb: wsemuldisplaydev, rasops8
|
|
|
|
#attach xcfb at tc
|
|
|
|
#file dev/tc/xcfb.c xcfb needs-flag
|
|
|
|
|
2000-12-17 16:52:03 +03:00
|
|
|
# STIC (stamp interface chip) for PX and PXG
|
|
|
|
#define stic
|
2001-09-18 23:51:23 +04:00
|
|
|
#file dev/tc/stic.c stic needs-flag
|
2000-12-17 16:52:03 +03:00
|
|
|
|
|
|
|
# PX PMAG-C
|
|
|
|
#device px: wsemuldisplaydev, stic
|
|
|
|
#attach px at tc
|
|
|
|
#file dev/tc/px.c px needs-flag
|
|
|
|
|
|
|
|
# PXG PMAG-D, PMAG-E, PMAG-F
|
|
|
|
#device pxg: wsemuldisplaydev, stic
|
|
|
|
#attach pxg at tc
|
|
|
|
#file dev/tc/pxg.c pxg needs-flag
|
|
|
|
|
2000-11-24 08:02:26 +03:00
|
|
|
# TCDS dual channel SCSI
|
2001-01-02 02:43:05 +03:00
|
|
|
device tcds { chip = -1 }
|
|
|
|
attach tcds at tc
|
|
|
|
file dev/tc/tcds.c tcds
|
|
|
|
|
2001-08-26 15:47:18 +04:00
|
|
|
# 53C[F]90 PMAZ single channel SCSI
|
2001-10-01 14:22:42 +04:00
|
|
|
device asc: ncr53c9x, scsi
|
|
|
|
attach asc at tc with asc_tc
|
|
|
|
file dev/tc/asc_tc.c asc_tc
|
|
|
|
attach asc at tcds with asc_tcds
|
|
|
|
file dev/tc/asc_tcds.c asc_tcds
|
2001-01-16 08:49:41 +03:00
|
|
|
|
|
|
|
# HX+ PMAGD
|
|
|
|
#device sfbp: wsemuldisplaydev, rasops32, rasops8
|
|
|
|
#attach sfbp at tc
|
|
|
|
#file dev/tc/sfbplus.c sfbp needs-flag
|