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