59d2219410
Make the AD1848 driver a little more readable with some macros.
277 lines
6.7 KiB
Plaintext
277 lines
6.7 KiB
Plaintext
# $NetBSD: files.isa,v 1.51 1998/01/19 22:18:28 augustss Exp $
|
|
#
|
|
# Config file and device description for machine-independent ISA code.
|
|
# Included by ports that need it. Requires that the SCSI files be
|
|
# defined first.
|
|
|
|
# ports should specify appropriate major numbers for the following
|
|
# devices:
|
|
# mcd, scd, wd, wt
|
|
|
|
device isa class dull {[port = -1], [size = 0],
|
|
[iomem = -1], [iosiz = 0],
|
|
[irq = -1], [drq = -1], [drq2 = -1]}
|
|
attach isa at isabus
|
|
file dev/isa/isa.c isa needs-flag
|
|
|
|
# ISA DMA controller
|
|
define isadma
|
|
file dev/isa/isadma.c isadma needs-flag
|
|
|
|
#
|
|
# 8250/16[45]50-based multi-port serial boards
|
|
#
|
|
|
|
define commulti {[slave = -1]}
|
|
|
|
# AST 4-port board
|
|
device ast class dull: commulti
|
|
attach ast at isa
|
|
file dev/isa/ast.c ast
|
|
|
|
# BOCA 8-port board
|
|
device boca class dull: commulti
|
|
attach boca at isa
|
|
file dev/isa/boca.c boca
|
|
|
|
# IBM RT PC 4-port board
|
|
device rtfps class dull: commulti
|
|
attach rtfps at isa
|
|
file dev/isa/rtfps.c rtfps
|
|
|
|
#
|
|
# Serial and parallel drivers
|
|
#
|
|
|
|
attach com at isa with com_isa
|
|
file dev/isa/com_isa.c com_isa
|
|
|
|
attach com at commulti with com_multi
|
|
file dev/isa/com_multi.c com_multi
|
|
|
|
# Cyclades Cyclom-8/16/32
|
|
attach cy at isa with cy_isa
|
|
file dev/isa/cy_isa.c cy_isa
|
|
|
|
# PC-style parallel ports (XXX what chip?)
|
|
# XXX chip driver should be defined elsewhere
|
|
device lpt class dull
|
|
file dev/ic/lpt.c lpt needs-flag
|
|
|
|
# PC-style parallel ports: ISA bus attachment
|
|
attach lpt at isa with lpt_isa
|
|
file dev/isa/lpt_isa.c lpt_isa
|
|
|
|
#
|
|
# SCSI host adapters
|
|
#
|
|
|
|
# Adaptec AHA-154x family
|
|
# device declaration in sys/conf/files
|
|
attach aha at isa with aha_isa: isadma
|
|
file dev/isa/aha_isa.c aha_isa
|
|
|
|
# Adaptec AIC-6[32]60 ICs
|
|
# device declaration in sys/conf/files
|
|
attach aic at isa with aic_isa: isadma
|
|
file dev/isa/aic_isa.c aic_isa
|
|
|
|
# Qlogic ESP406/FAS408 boards
|
|
# ncr53c9x device declaration in sys/conf/files
|
|
device esp class dull: scsi, ncr53c9x, isadma
|
|
attach esp at isa with esp_isa
|
|
file dev/isa/esp_isa.c esp_isa
|
|
|
|
# BusLogic BT-[45]4x ISA family
|
|
# device declaration in sys/conf/files
|
|
attach bha at isa with bha_isa: isadma
|
|
file dev/isa/bha_isa.c bha_isa
|
|
|
|
# Seagate ST0[12] ICs
|
|
device sea class dull: scsi, isadma
|
|
attach sea at isa
|
|
file dev/isa/seagate.c sea
|
|
|
|
# UltraStor UHA-[13]4f boards
|
|
# device declaration in sys/conf/files
|
|
attach uha at isa with uha_isa: isadma
|
|
file dev/isa/uha_isa.c uha_isa
|
|
|
|
# Western Digital WD7000 and Future Domain TMC-7000 boards
|
|
device wds class dull: scsi, isadma
|
|
attach wds at isa
|
|
file dev/isa/wds.c wds
|
|
|
|
#
|
|
# Other ISA disk controllers
|
|
#
|
|
|
|
# Mitsumi CD-ROM controllers
|
|
device mcd class disk: disk
|
|
attach mcd at isa
|
|
file dev/isa/mcd.c mcd needs-flag
|
|
|
|
# Sony CDU-3[13]A CD-ROM drives
|
|
device scd class disk: disk
|
|
attach scd at isa
|
|
file dev/isa/scd.c scd needs-flag
|
|
|
|
# XXX THE FOLLOWING BLOCK SHOULD GO INTO conf/files, BUT CANNOT
|
|
# XXX BECAUSE NOT ALL PORTS USE THE MI DRIVER YET.
|
|
|
|
# ESDI/IDE/etc. controllers
|
|
device wdc class dull: ata, atapi
|
|
file dev/ic/wdc.c
|
|
wdc & (wd | !wd) needs-flag # XXX
|
|
|
|
attach wdc at isa with wdc_isa: isadma
|
|
file dev/isa/wdc_isa.c wdc_isa
|
|
|
|
# Wangtek- and Archive-compatible tape controller boards
|
|
device wt class tape: tape, isadma
|
|
attach wt at isa
|
|
file dev/isa/wt.c wt needs-flag
|
|
|
|
#
|
|
# ISA networking drivers
|
|
#
|
|
|
|
# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
|
|
# MUST be first: probe is non invasive, and registers are clobbered
|
|
# by other drivers's probe
|
|
device we class ifnet: ether, ifnet, arp, dp8390nic
|
|
attach we at isa
|
|
file dev/isa/if_we.c we
|
|
|
|
# 3Com common probe code
|
|
define elink
|
|
file dev/isa/elink.c elink
|
|
|
|
# 3Com 3C503
|
|
device ec class ifnet: ether, ifnet, arp, dp8390nic
|
|
attach ec at isa
|
|
file dev/isa/if_ec.c ec
|
|
|
|
# 3Com 3C505
|
|
device eg class ifnet: ether, ifnet, arp
|
|
attach eg at isa
|
|
file dev/isa/if_eg.c eg
|
|
|
|
# 3Com 3C501
|
|
device el class ifnet: ether, ifnet, arp
|
|
attach el at isa
|
|
file dev/isa/if_el.c el
|
|
|
|
# 3Com 3C509 Ethernet controller
|
|
# device declaration in sys/conf/files
|
|
attach ep at isa with ep_isa: elink
|
|
file dev/isa/if_ep_isa.c ep_isa
|
|
|
|
# Fujitsu MB8696[05]-based boards
|
|
# (Allied Telesis AT1700)
|
|
device fe class ifnet: ether, ifnet, arp
|
|
attach fe at isa
|
|
file dev/isa/if_fe.c fe
|
|
|
|
# HP Lan Ethernet controllers
|
|
# XXX currently broken
|
|
#device hp: ether, ifnet, arp
|
|
#attach hp at isa
|
|
#file dev/isa/if_hp.c hp
|
|
|
|
# Intel i82595-based boards.
|
|
# (Intel EtherExpress PRO)
|
|
device iy class ifnet: ether, ifnet, arp
|
|
attach iy at isa
|
|
file dev/isa/if_iy.c iy
|
|
|
|
# XXX ???
|
|
# XXX NOT IN TREE?
|
|
#device ix: ether, ifnet, arp
|
|
#attach ix at isa
|
|
#file dev/isa/if_ix.c ix
|
|
|
|
# AMD am7990 (Lance) -based boards
|
|
# (BICC Isolan, NE2100, DEPCA)
|
|
# device declaration in sys/conf/files
|
|
attach le at isa with le_isa: isadma
|
|
file dev/isa/if_le_isa.c le_isa
|
|
|
|
# DEC EtherWORKS III (LEMAC-based: DE203, DE204, DE205) cards
|
|
attach lc at isa with lc_isa
|
|
file dev/isa/if_lc_isa.c lc
|
|
|
|
# Novell NE1000, NE2000, and clones
|
|
attach ne at isa with ne_isa
|
|
file dev/isa/if_ne_isa.c ne_isa
|
|
|
|
# SMC91Cxx Ethernet Controllers
|
|
attach sm at isa with sm_isa
|
|
file dev/isa/if_sm_isa.c sm_isa
|
|
|
|
# Intel i82586-based boards
|
|
# (AT&T StarLAN 10, AT&T EN100, AT&T StarLAN Fiber, 3Com 3C507)
|
|
# MUST BE LAST ! the probe clobbers some boards (like SMC boards).
|
|
device ie class ifnet: ether, ifnet, elink, arp
|
|
attach ie at isa
|
|
file dev/isa/if_ie.c ie
|
|
|
|
#
|
|
# ISA Sound hardware
|
|
#
|
|
|
|
# the SoundBlaster DSP, or close likenesses; used by other drivers
|
|
define sbdsp
|
|
file dev/isa/sbdsp.c sbdsp
|
|
|
|
# SoundBlaster family
|
|
device sb class dull: audio, isadma, sbdsp, mulaw, auconv
|
|
file dev/isa/sb.c sb needs-flag
|
|
|
|
attach sb at isa with sb_isa
|
|
file dev/isa/sb_isa.c sb_isa needs-flag
|
|
|
|
# ProAudio Spectrum
|
|
device pas class dull: audio, isadma, sbdsp, mulaw, auconv
|
|
attach pas at isa
|
|
file dev/isa/pas.c pas needs-flag
|
|
|
|
# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
|
|
define ad1848
|
|
file dev/isa/ad1848.c ad1848
|
|
|
|
# ICS2101 mixer chip support; used by other drivers
|
|
define ics2101
|
|
file dev/isa/ics2101.c ics2101
|
|
|
|
|
|
# Audio systems based on Echo Speech Corp. ESC61[45] ASICs
|
|
device pss class dull {[port = -1], [size = 0],
|
|
[iomem = -1], [iosiz = 0],
|
|
[irq = -1], [drq = -1]}
|
|
attach pss at isa
|
|
device sp class dull: audio, isadma, ad1848, auconv
|
|
attach sp at pss
|
|
file dev/isa/pss.c pss needs-flag
|
|
|
|
# Microsoft Windows Sound System
|
|
device wss class dull: audio, isadma, ad1848, auconv
|
|
file dev/isa/wss.c wss needs-flag
|
|
|
|
attach wss at isa with wss_isa
|
|
file dev/isa/wss_isa.c wss_isa needs-flag
|
|
|
|
# Gravis UltraSound & UltraSound MAX.
|
|
# Use the "flags" keyword in a config file to specify an extra DMA
|
|
# channel for full-duplex operation.
|
|
device gus class dull: audio, isadma, ics2101, ad1848, mulaw, auconv
|
|
attach gus at isa
|
|
file dev/isa/gus.c gus needs-flag
|
|
|
|
#
|
|
# PlanetConnect satellite receiver driver.
|
|
#
|
|
device satlink class dull: isadma
|
|
attach satlink at isa
|
|
file dev/isa/satlink.c satlink needs-flag
|