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