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