NetBSD/sys/dev/tc/files.tc

92 lines
2.1 KiB
Plaintext
Raw Normal View History

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 $
#
1997-07-21 00:32:14 +04:00
# Config file and device description for machine-independent
# TURBOchannel code. Included by ports that need it.
defflag TCVERBOSE
device tc {[slot = -1], [offset = -1]}
#attach tc at tcbus
file dev/tc/tc.c tc needs-flag
# IOCTL ASIC
device ioasic { offset = -1 }
attach ioasic at tc
1999-03-16 17:07:22 +03:00
file dev/tc/ioasic_subr.c ioasic
# 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
file dev/tc/if_le_ioasic.c le_ioasic
attach le at tc with le_tc: le24, le_dec_subr
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
# DEFTA FDDI controller
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
# 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
# STIC (stamp interface chip) for PX and PXG
#define stic
#file dev/tc/stic.c stic needs-flag
# 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
# TCDS dual channel SCSI
device tcds { chip = -1 }
attach tcds at tc
file dev/tc/tcds.c tcds
# 53C[F]90 PMAZ single channel SCSI
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
# HX+ PMAGD
#device sfbp: wsemuldisplaydev, rasops32, rasops8
#attach sfbp at tc
#file dev/tc/sfbplus.c sfbp needs-flag