files.isa revision 1.134
1# $NetBSD: files.isa,v 1.134 2004/08/30 10:30:38 drochner Exp $ 2# 3# Config file and device description for machine-independent ISA code. 4# Included by ports that need it. Requires that the SCSI files be 5# defined first. 6 7# ports should specify appropriate major numbers for the following 8# devices: 9# mcd, scd, wd, wt 10 11device isa {[port = -1], [size = 0], 12 [iomem = -1], [iosiz = 0], 13 [irq = -1], [drq = -1], [drq2 = -1]} 14attach isa at isabus 15file dev/isa/isa.c isa needs-flag 16 17file dev/isa/isabusprint.c isabus 18 19# ISA DMA controller 20define isadma 21file dev/isa/isadma.c isadma needs-flag 22 23# 24# 8250/16[45]50-based multi-port serial boards 25# 26 27define commulti {[slave = -1]} 28 29# AST 4-port board 30device ast: commulti 31attach ast at isa 32file dev/isa/ast.c ast 33 34# TC-800 8-port board 35device tcom: commulti 36attach tcom at isa 37file dev/isa/tcom.c tcom 38 39# BOCA 8-port board 40device boca: commulti 41attach boca at isa 42file dev/isa/boca.c boca 43 44# Addonics FlexPort multiport serial card 45device addcom: commulti 46attach addcom at isa with addcom_isa 47file dev/isa/addcom_isa.c addcom 48 49# IBM RT PC 4-port board 50device rtfps: commulti 51attach rtfps at isa 52file dev/isa/rtfps.c rtfps 53 54# BOCA 6-port board (3x 16552) 55device ioat: commulti 56attach ioat at isa 57file dev/isa/ioat66.c ioat 58 59# MOXA 8-port board 60device moxa: commulti 61attach moxa at isa with moxa_isa 62file dev/isa/moxa_isa.c moxa 63 64# 65# Serial and parallel drivers 66# 67 68attach com at isa with com_isa 69file dev/isa/com_isa.c com_isa 70 71attach com at commulti with com_multi 72file dev/isa/com_multi.c com_multi 73 74# Cyclades Cyclom-8/16/32 75attach cy at isa with cy_isa 76file dev/isa/cy_isa.c cy_isa 77 78# PC-style parallel ports: ISA bus attachment (XXX what chip?) 79# XXX chip driver should be defined elsewhere 80attach lpt at isa with lpt_isa 81file dev/isa/lpt_isa.c lpt_isa & !ppbus 82 83# Parallel port chipset 84attach atppc at isa with atppc_isa: isadma 85file dev/isa/atppc_isa.c atppc_isa 86file dev/isa/atppc_isadma.c atppc_isa | atppc_acpi | atppc_pnpbios | atppc_ofisa | atppc_isapnp 87 88# 89# SCSI host adapters 90# 91 92# AdvanSys 514x family 93# device declaration in sys/conf/files 94attach adv at isa with adv_isa: isadma 95file dev/isa/adv_isa.c adv_isa 96 97# Adaptec AHA-154x family 98# device declaration in sys/conf/files 99attach aha at isa with aha_isa: isadma 100file dev/isa/aha_isa.c aha_isa 101 102# Adaptec AIC-6[32]60 ICs 103# device declaration in sys/conf/files 104attach aic at isa with aic_isa: isadma 105file dev/isa/aic_isa.c aic_isa 106 107# Qlogic ESP406/FAS408 boards 108# device declaration in sys/conf/files 109attach esp at isa with esp_isa: isadma 110file dev/isa/esp_isa.c esp_isa 111 112# BusLogic BT-[45]4x ISA family 113# device declaration in sys/conf/files 114attach bha at isa with bha_isa: isadma 115file dev/isa/bha_isa.c bha_isa 116 117# DPT SmartCache/SmartRAID III/IV ISA family 118# device declaration in sys/conf/files 119attach dpt at isa with dpt_isa: isadma 120file dev/isa/dpt_isa.c dpt_isa 121 122# Seagate ST0[12] ICs 123device sea: scsi, isadma 124attach sea at isa 125file dev/isa/seagate.c sea 126 127# UltraStor UHA-[13]4f boards 128# device declaration in sys/conf/files 129attach uha at isa with uha_isa: isadma 130file dev/isa/uha_isa.c uha_isa 131 132# Western Digital WD7000 and Future Domain TMC-7000 boards 133device wds: scsi, isadma 134attach wds at isa 135file dev/isa/wds.c wds 136 137# 138# Other ISA disk controllers 139# 140 141# Mitsumi CD-ROM controllers 142device mcd: disk 143attach mcd at isa 144file dev/isa/mcd.c mcd needs-flag 145defflag MCD_PROMISC # enable "promiscuous" match 146 147# Sony CDU-3[13]A CD-ROM drives 148device scd: disk 149attach scd at isa 150file dev/isa/scd.c scd needs-flag 151 152attach wdc at isa with wdc_isa 153file dev/isa/wdc_isa.c wdc_isa 154 155# Wangtek- and Archive-compatible tape controller boards 156device wt: tape, isadma 157attach wt at isa 158file dev/isa/wt.c wt needs-flag 159 160# 161# GPIB controllers 162# 163 164device cec: gpibdev 165attach cec at isa 166file dev/isa/cec.c cec 167 168# 169# ISA networking drivers 170# 171 172# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ 173# MUST be first: probe is non invasive, and registers are clobbered 174# by other drivers's probe 175# device declaration in sys/conf/files 176attach we at isa with we_isa 177file dev/isa/if_we_isa.c we_isa 178 179# 3Com common probe code 180define elink 181file dev/isa/elink.c elink 182 183# 3Com 3C503 184device ec: ether, ifnet, arp, dp8390nic 185attach ec at isa 186file dev/isa/if_ec.c ec 187 188# 3Com 3C505 189device eg: ether, ifnet, arp 190attach eg at isa 191file dev/isa/if_eg.c eg 192 193# 3Com 3C501 194device el: ether, ifnet, arp 195attach el at isa 196file dev/isa/if_el.c el 197 198# 3Com 3C509 Ethernet controller 199# device declaration in sys/conf/files 200attach ep at isa with ep_isa: elink 201file dev/isa/if_ep_isa.c ep_isa 202 203# SDL Communications N2 PCI Network Interface 204# device in sys/conf/files 205attach ntwoc at isa with ntwoc_isa 206file dev/isa/if_ntwoc_isa.c ntwoc_isa 207 208 209# Allied Telesis MB8695-based boards 210# (Allied Telesis AT1700) 211# device in sys/conf/files 212attach ate at isa with ate_isa 213file dev/isa/if_ate.c ate_isa 214 215# Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet 216define cs_isa_common 217file dev/isa/cs89x0isa.c cs_isa_common 218attach cs at isa with cs_isa: cs_isa_common, isadma 219file dev/isa/if_cs_isa.c cs_isa 220 221# Fujitsu MB86960-based boards 222# (Fujitsu FMV-180 series) 223# device in sys/conf/files 224attach fmv at isa with fmv_isa 225file dev/isa/if_fmv_isa.c fmv_isa 226 227# HP Lan Ethernet controllers 228# XXX currently broken 229#device hp: ether, ifnet, arp 230#attach hp at isa 231#file dev/isa/if_hp.c hp 232 233# Intel i82595-based boards. 234# (Intel EtherExpress PRO) 235device iy: ether, ifnet, arp 236attach iy at isa 237file dev/isa/if_iy.c iy 238 239# the probe routine of this "recognizes" the iy. Probe after it. 240# NCR 5380-based boards 241attach nca at isa with nca_isa 242file dev/isa/nca_isa.c nca_isa 243 244# AMD am7990 (Lance) -based boards 245# (BICC Isolan, NE2100, DEPCA) 246# device declaration in sys/conf/files 247device nele {} 248attach nele at isa 249attach le at nele with le_nele: le24, isadma 250device bicc {} 251attach bicc at isa 252attach le at bicc with le_bicc: le24, isadma 253file dev/isa/if_le_isa.c nele | bicc 254attach depca at isa with depca_isa 255file dev/isa/depca_isa.c depca 256 257# DEC EtherWORKS III (LEMAC-based: DE203, DE204, DE205) cards 258attach lc at isa with lc_isa 259file dev/isa/if_lc_isa.c lc_isa 260 261# Novell NE1000, NE2000, and clones 262attach ne at isa with ne_isa: rtl80x9 263file dev/isa/if_ne_isa.c ne_isa 264 265# SMC91Cxx Ethernet Controllers 266attach sm at isa with sm_isa 267file dev/isa/if_sm_isa.c sm_isa 268 269# 3Com 3C507 270device ef: ether, ifnet, arp, elink, i82586 271attach ef at isa 272file dev/isa/if_ef.c ef 273 274# AT&T StarLan boards 275device ai: ether, ifnet, arp, i82586 276attach ai at isa 277file dev/isa/if_ai.c ai 278 279# EtherExpress/16 280device ix: ether, ifnet, arp, i82586 281attach ix at isa 282file dev/isa/if_ix.c ix 283 284# TROPIC based Token-Ring (IBM/3COM) 285define tr_isa 286file dev/isa/if_tr_isa.c tr_isa 287attach tr at isa with tr_isa: tr_isa, elink 288file dev/isa/if_tribm_isa.c tr_isa 289file dev/isa/if_trtcm_isa.c tr_isa 290 291# ISA NCR/AT&T/Lucent WaveLAN (non-802.11) card 292attach wl at isa with wl_isa: i82586, wavelan 293file dev/isa/if_wl_isa.c wl_isa 294 295# 296# ISA Sound hardware 297# 298 299# MPU401 MIDI UART compatibles 300attach mpu at isa with mpu_isa 301file dev/isa/mpu_isa.c mpu_isa 302 303# the SoundBlaster DSP, or close likenesses; used by other drivers 304define sbdsp { } 305file dev/isa/sbdsp.c sbdsp 306 307# SoundBlaster family 308device sb: audiobus, isadma, sbdsp, mulaw, auconv, midibus 309file dev/isa/sb.c sb needs-flag 310 311attach sb at isa with sb_isa 312file dev/isa/sb_isa.c sb_isa needs-flag 313 314attach opl at sbdsp with opl_sb 315file dev/isa/opl_sb.c opl_sb 316 317attach mpu at sbdsp with mpu_sb 318file dev/isa/mpu_sb.c mpu_sb 319 320# ProAudio Spectrum 321device pas: audiobus, isadma, sbdsp, mulaw, auconv 322attach pas at isa 323file dev/isa/pas.c pas needs-flag 324 325# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers 326file dev/isa/ad1848_isa.c ad1848 327 328# ICS2101 mixer chip support; used by other drivers 329define ics2101 330file dev/isa/ics2101.c ics2101 331 332 333# Audio systems based on Echo Speech Corp. ESC61[45] ASICs 334device pss {[port = -1], [size = 0], 335 [iomem = -1], [iosiz = 0], 336 [irq = -1], [drq = -1]} 337attach pss at isa 338device sp: audiobus, isadma, ad1848, auconv 339attach sp at pss 340file dev/isa/pss.c pss needs-flag 341 342# Microsoft Windows Sound System 343device wss { } : audiobus, isadma, ad1848, auconv 344file dev/isa/wss.c wss needs-flag 345 346attach wss at isa with wss_isa 347file dev/isa/wss_isa.c wss_isa needs-flag 348 349attach opl at wss with opl_wss 350file dev/isa/opl_wss.c opl_wss 351 352# ESS Technology ES1887/ES888/ES1888 353device ess { } : audiobus, isadma, mulaw, auconv, midibus 354file dev/isa/ess.c ess needs-flag 355 356attach ess at isa with ess_isa 357file dev/isa/ess_isa.c ess_isa needs-flag 358 359attach opl at ess with opl_ess 360file dev/isa/opl_ess.c opl_ess 361 362attach joy at ess with joy_ess 363file dev/isa/joy_ess.c joy_ess needs-flag 364 365# Yamaha OPL2/OPL3 FM synth 366attach opl at isa with opl_isa 367file dev/isa/opl_isa.c opl_isa 368 369# Yamaha OPL3-SA3 370device ym { }: audiobus, isadma, ad1848, auconv 371file dev/isa/ym.c ym 372defparam opt_ym.h YM_POWER_MODE YM_POWER_OFF_SEC 373 374attach opl at ym with opl_ym 375file dev/isa/opl_ym.c opl_ym 376 377attach mpu at ym with mpu_ym 378file dev/isa/mpu_ym.c mpu_ym needs-flag 379 380# Gravis UltraSound & UltraSound MAX. 381# Use the "drq2" keyword in a config file to specify an extra DMA 382# channel for full-duplex operation. 383device gus: audiobus, isadma, ics2101, ad1848, mulaw, auconv 384attach gus at isa 385file dev/isa/gus.c gus needs-flag 386 387# Sierra's Aria chipset. 388# (e.g. Prometheus Aria 16) 389device aria: audiobus, mulaw, auconv 390attach aria at isa 391file dev/isa/aria.c aria 392 393# Creative Music System (CMS) 394device cms: midibus 395attach cms at isa 396file dev/isa/cms.c cms 397 398# 399# PlanetConnect satellite receiver driver. 400# 401device satlink: isadma 402attach satlink at isa 403file dev/isa/satlink.c satlink needs-flag 404 405# ISA PC keyboard controller 406attach pckbc at isa with pckbc_isa 407file dev/isa/pckbc_isa.c pckbc_isa 408 409# generic ISA VGA 410attach vga at isa with vga_isa 411file dev/isa/vga_isa.c vga_isa needs-flag 412 413# generic EGA 414device ega: wsemuldisplaydev, pcdisplayops 415attach ega at isa 416file dev/isa/ega.c ega needs-flag 417 418# generic PC graphics adapter (MGA, CGA, ...) 419device pcdisplay: wsemuldisplaydev, pcdisplayops 420attach pcdisplay at isa 421file dev/isa/pcdisplay.c pcdisplay needs-flag 422 423# Middle Digital, Inc. PC-Weasel serial console board. 424# XXX This is a little gross... this is to conditionally compile 425# support for the PC-Weasel into the `pcdisplay' driver, 426# but we can't use an `option', because options can't have 427# attributes. 428defpseudo pcweasel: sysmon_wdog 429file dev/isa/weasel_isa.c pcweasel needs-flag 430 431# Sound Forte RadioLink SF16-FMR2 FM Radio Card 432device sf2r: radiodev, tea5757 433attach sf2r at isa 434file dev/isa/sf16fmr2.c sf2r 435 436# Aztech/PackardBell FM Radio Card 437device az: radiodev, lm700x 438attach az at isa 439file dev/isa/aztech.c az 440 441# AIMS Lab Radiotrack & compatible 442device rt: radiodev, lm700x 443attach rt at isa 444file dev/isa/radiotrack.c rt 445 446# AIMS Lab Radiotrack II FM Radio Card 447device rtii: radiodev, tea5757 448attach rtii at isa 449file dev/isa/radiotrack2.c rtii 450 451# PC PPI + TIMER 1 (speaker interface) 452device pcppi {} 453attach pcppi at isa 454file dev/isa/pcppi.c pcppi needs-flag 455device spkr 456attach spkr at pcppi 457file dev/isa/spkr.c spkr needs-flag 458attach midi at pcppi with midi_pcppi: midisyn 459file dev/isa/midi_pcppi.c midi_pcppi 460 461# 462# Environmental monitors 463# 464 465# LM78 temp/fanspeed monitor 466attach lm at isa with lm_isa 467file dev/isa/lm_isa.c lm_isa 468 469# ISDN devices 470attach isic at isa with isic_isa 471file dev/isa/isic_isa.c isic_isa 472attach daic at isa with daic_isa 473file dev/isa/daic_isa.c daic_isa 474 475defflag opt_isicisa.h ISICISA_TEL_S0_8 ISICISA_TEL_S0_16 ISICISA_TEL_S0_16_3 476 ISICISA_AVM_A1 ISICISA_USR_STI ISICISA_ITKIX1 477 478file dev/isa/isic_isa_tel_s08.c isic_isa 479file dev/isa/isic_isa_tel_s016.c isic_isa 480file dev/isa/isic_isa_tel_s0163.c isic_isa 481file dev/isa/isic_isa_avm_a1.c isic_isa 482file dev/isa/isic_isa_usr_sti.c isic_isa 483file dev/isa/isic_isa_itk_ix1.c isic_isa 484 485# Game adapter (joystick) 486attach joy at isa with joy_isa 487file dev/isa/joy_isa.c joy_isa 488 489# NSC PC87366 Super IO / monitor chip 490device nsclpcsio: sysmon_envsys 491attach nsclpcsio at isa with nsclpcsio_isa 492file dev/isa/nsclpcsio_isa.c nsclpcsio_isa 493 494# USB Controller 495attach slhci at isa with slhci_isa 496file dev/isa/slhci_isa.c slhci_isa 497 498# 499# ISA Plug 'n Play autoconfiguration glue. 500# THIS MUST COME AFTER ALL MI ISA DEVICES ARE DEFINED. This is because 501# ISA PnP devices often use `device' declarations listed in this file. 502# 503include "dev/isapnp/files.isapnp" 504 505