1# $OpenBSD: files.isa,v 1.68 2001/08/03 15:15:09 mickey Exp $ 2# $NetBSD: files.isa,v 1.21 1996/05/16 03:45:55 mycroft Exp $ 3# 4# Config file and device description for machine-independent ISA code. 5# Included by ports that need it. Requires that the SCSI files be 6# defined first. 7 8# ports should specify appropriate major numbers for the following 9# devices: 10# mcd, scd, wd, wt 11 12device isa {[port = -1], [size = 0], 13 [iomem = -1], [iosiz = 0], 14 [irq = -1], [drq = -1], 15 [drq2 = -1]} 16attach isa at isabus 17file dev/isa/isa.c isa needs-flag 18 19# 20# ISA DMA capability, if it exists on this ISA bus 21# 22define isa_dma 23device isadma 24attach isadma at isa: isa_dma 25file dev/isa/isadma.c isadma needs-flag 26 27# 28# 8250/16[45]50-based multi-port serial boards 29# 30 31define commulti {[slave = -1]} 32 33# AST 4-port board 34device ast: commulti 35attach ast at isa 36file dev/isa/ast.c ast 37 38# BOCA 8-port board 39device boca: commulti 40attach boca at isa 41file dev/isa/boca.c boca 42 43device addcom: commulti 44attach addcom at isa with addcom_isa 45file dev/isa/addcom_isa.c addcom 46 47# IBM RT PC 4-port board 48device rtfps: commulti 49attach rtfps at isa 50file dev/isa/rtfps.c rtfps 51 52# Hostess 4-port board 53device hsq: commulti 54attach hsq at isa 55file dev/isa/hsq.c hsq 56 57# 58# Serial and parallel drivers 59# 60 61# 8250/16[45]50-based "com" ports 62attach com at isa with com_isa 63attach com at commulti with com_commulti 64 65# Cyclades Cyclom multiport serial cards 66attach cy at isa with cy_isa 67file dev/isa/cy_isa.c cy_isa 68 69# ISA PC keyboard controller 70attach pckbc at isa with pckbc_isa 71file dev/isa/pckbc_isa.c pckbc needs-flag 72 73# Generic ISA VGA 74attach vga at isa with vga_isa 75file dev/isa/vga_isa.c vga_isa 76 77# Generic EGA 78device ega: wsemuldisplaydev, pcdisplayops 79attach ega at isa 80file dev/isa/ega.c ega needs-flag 81 82# Generic PC graphics adapter (MGA, CGA, ...) 83device pcdisplay: wsemuldisplaydev, pcdisplayops 84attach pcdisplay at isa 85file dev/isa/pcdisplay.c pcdisplay needs-flag 86 87# 88# SCSI host adapters 89# 90 91# BusLogic BT-74x EISA family (XXX; should be EISA. it's special) 92device bt: scsi, isa_dma 93attach bt at isa 94file dev/isa/bt.c bt needs-count 95 96# Adaptec AIC-6[32]60 ICs 97attach aic at isa with aic_isa: isa_dma 98file dev/isa/aic_isa.c aic_isa 99 100# Adaptec AHA-154x family 101device aha: scsi, isa_dma 102attach aha at isa with aha_isa 103file dev/isa/aha.c aha needs-flag 104 105# Seagate ST0[12] ICs 106device sea: scsi 107attach sea at isa 108file dev/isa/seagate.c sea 109 110# UltraStor UHA-[13]4f boards 111# device declaration in sys/conf/files 112attach uha at isa with uha_isa: isa_dma 113file dev/isa/uha_isa.c uha_isa 114 115# Western Digital WD7000 and Future Domain TMC-7000 boards 116device wds: scsi, isa_dma 117attach wds at isa 118file dev/isa/wds.c wds 119 120# OPTi 82C929 chipset setup code 121define opti 122file dev/isa/opti.c opti 123 124# 125# Other ISA disk controllers 126# 127 128# Mitsumi CD-ROM controllers 129device mcd: disk, opti 130attach mcd at isa 131file dev/isa/mcd.c mcd needs-flag 132 133# Sony CDU-3[13]A CD-ROM controllers 134device scd: disk, opti 135attach scd at isa 136file dev/isa/scd.c scd needs-flag 137 138# Panasonic/Creative CD-ROM controllers 139device pcd: disk, opti 140attach pcd at isa 141file dev/isa/pcd.c pcd needs-flag 142 143# ISA "wd" (ESDI/IDE/etc.) controllers, ATAPI bus 144attach wdc at isa with wdc_isa: isa_dma 145file dev/isa/wdc_isa.c wdc_isa 146 147# Wangtek- and Archive-compatible tape controller boards 148device wt: tape, isa_dma 149attach wt at isa 150file dev/isa/wt.c wt needs-flag 151 152# 153# ISA networking drivers 154# 155 156# DEC EtherWORKS III (LEMAC-based: DE203, DE204, DE205) cards 157attach lc at isa with lc_isa 158file dev/isa/if_lc_isa.c lc_isa 159 160# Novell NE1000, NE2000, and clones 161# Must be before the WD/SMC probe which it is hurt by. 162attach ne at isa with ne_isa: rtl80x9 163file dev/isa/if_ne_isa.c ne_isa 164 165# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ 166# MUST be second: probe is hurting some NE2k clones but otherwise kind, 167# and registers are clobbered by other drivers' probes 168device we: ether, ifnet, dp8390nic, ifmedia 169attach we at isa with we_isa 170file dev/isa/if_we.c we & (we_isa | we_isapnp) needs-flag 171 172# 3Com common probe code 173define elink 174file dev/isa/elink.c elink 175 176# 3Com 3C503 177device ec: ether, ifnet, dp8390nic, ifmedia 178attach ec at isa 179file dev/isa/if_ec.c ec 180 181# National Semiconductor DS8390/WD83C690-based boards 182# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones) 183# XXX conflicts with amiga if_ed.c 184#device ed: ether, ifnet 185#attach ed at isa with ed_isa 186#attach ed at pcmcia with ed_pcmcia 187#file dev/isa/if_ed.c ed & (ed_isa | ed_pcmcia) needs-flag 188 189# 3Com 3C505 190device eg: ether, ifnet 191attach eg at isa 192file dev/isa/if_eg.c eg 193 194# 3Com 3C501 195device el: ether, ifnet 196attach el at isa 197file dev/isa/if_el.c el 198 199# 3Com 3C509 Ethernet controller 200attach ep at isa with ep_isa: elink 201file dev/isa/if_ep_isa.c ep_isa 202 203# Fujitsu MB8696[05]-based boards 204# (Allied Telesis AT1700) 205device fe: ether, ifnet 206attach fe at isa 207file dev/isa/if_fe.c fe 208 209# HP Lan Ethernet controllers 210# XXX currently broken 211#device hp: ether, ifnet 212#attach hp at isa 213#file dev/isa/if_hp.c hp 214 215# Intel i82586-based boards 216# (AT&T StarLAN 10, AT&T EN100, AT&T StarLAN Fiber, 3Com 3C507) 217attach ie at isa with ie_isa: elink 218file dev/isa/if_ie.c ie_isa 219 220# Intel i82595-based boards. 221# (Intel EtherExpress PRO/100) 222device iy: ether, ifnet 223attach iy at isa 224file dev/isa/if_iy.c iy 225 226# Intel EtherExpress PRO/10 227device ex: ether, ifnet 228attach ex at isa 229file dev/isa/if_ex.c ex needs-flag 230 231# XXX ??? 232# XXX NOT IN TREE? 233#device ix: ether, ifnet 234#attach ix at isa 235#file dev/isa/if_ix.c ix 236 237# AMD am7990 (Lance) -based boards 238# (BICC Isolan, NE2100, DEPCA) 239# device declaration in sys/conf/files 240attach le at isa with le_isa 241file dev/isa/if_le.c le_isa | le_pci 242file dev/isa/if_le_isa.c le_isa 243 244# SMC91Cxx Ethernet Controllers 245attach sm at isa with sm_isa 246file dev/isa/if_sm_isa.c sm_isa 247 248# RangeLAN2 wireless network 249attach rln at isa with rln_isa 250file dev/isa/if_rln_isa.c rln_isa 251 252# TROPIC based Token-Ring (IBM/3COM) 253define tr_isa 254file dev/isa/if_tr_isa.c tr_isa 255attach tr at isa with tr_isa: tr_isa, elink 256file dev/isa/if_tribm_isa.c tr_isa 257file dev/isa/if_trtcm_isa.c tr_isa 258 259# 260# ISA Sound hardware 261# 262 263# MPU401 MIDI UART compatibles 264define mpu 265file dev/isa/mpu401.c mpu | midi 266 267# the SoundBlaster DSP, or close likenesses; used by other drivers 268define sbdsp { } 269file dev/isa/sbdsp.c sbdsp 270 271# SoundBlaster family 272device sb: audio, isa_dma, sbdsp, mulaw, opti, auconv, mpu, midibus 273file dev/isa/sb.c sb needs-flag 274 275attach sb at isa with sb_isa 276file dev/isa/sb_isa.c sb & (sb_isa | sb_isapnp) needs-flag 277 278attach opl at sbdsp with opl_sb 279file dev/isa/opl_sb.c opl_sb 280 281# Soundcards based on Sierra's Aria chipset. 282# Such as the Prometheus Aria 16 or the Diamond 283# sonic sound. 284device aria: audio, mulaw 285attach aria at isa 286file dev/isa/aria.c aria needs-flag 287 288# ProAudio Spectrum 289device pas: audio, isa_dma, sbdsp, mulaw, auconv 290attach pas at isa 291file dev/isa/pas.c pas needs-flag 292 293# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers 294define ad1848 295file dev/isa/ad1848.c ad1848 296 297# ICS2101 mixer chip support; used by other drivers 298define ics2101 299file dev/isa/ics2101.c ics2101 300 301 302# Audio systems based on Echo Speech Corp. ESC61[45] ASICs 303device pss {[port = -1], [size = 0], 304 [iomem = -1], [iosiz = 0], 305 [irq = -1], [drq = -1]} 306attach pss at isa 307device sp: audio, isa_dma, ad1848, auconv 308attach sp at pss 309file dev/isa/pss.c pss needs-flag 310 311# Microsoft Windows Sound System 312device wss: audio, isa_dma, ad1848, auconv 313file dev/isa/wss.c wss needs-flag 314 315attach wss at isa with wss_isa 316file dev/isa/wss_isa.c wss & (wss_isa | wss_isapnp) needs-flag 317 318# ESS Technology ES1887/ES888/ES1888 319device ess { } : audio, isa_dma, mulaw, auconv, midibus 320file dev/isa/ess.c ess needs-flag 321 322attach opl at ess with opl_ess 323file dev/isa/opl_ess.c opl_ess 324 325# Gravis UltraSound & UltraSound MAX. 326# Use the "flags" keyword in a config file to specify an extra DMA 327# channel for full-duplex operation. 328 329device gus: audio, isa_dma, ics2101, ad1848, mulaw, auconv 330file dev/isa/gus.c gus needs-flag 331 332attach gus at isa with gus_isa 333file dev/isa/gus_isa.c gus & (gus_isa | gus_isapnp) needs-flag 334 335# Yamaha OPL2/OPL3 FM synth 336attach opl at isa with opl_isa 337file dev/isa/opl_isa.c opl_isa 338 339# PC PPI + TIMER 1 (speaker interface) 340device pcppi {} 341attach pcppi at isa 342file dev/isa/pcppi.c pcppi needs-flag 343device spkr 344attach spkr at pcppi 345file dev/isa/spkr.c spkr needs-flag 346attach midi at pcppi with midi_pcppi: midisyn 347file dev/isa/midi_pcppi.c midi_pcppi 348 349# 8255A-based PC parallel ports 350attach lpt at isa with lpt_isa 351file dev/isa/lpt_isa.c lpt_isa needs-flag 352 353# 354# PCMCIA PCIC (i82365SL and compatibles): 355# 356#device pcicmaster { [irq = -1], [iomem = -1], [iosiz = 0] } 357#attach pcicmaster at isa 358#device pcic: pcmciabus 359#attach pcic at pcicmaster 360#file dev/isa/pcmcia_pcic.c pcic | pcicmaster 361 362#file dev/isa/pcmcia_isa.c pcmcia 363