files.isa revision 1.170
1# $NetBSD: files.isa,v 1.170 2018/09/19 13:58:27 maxv 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, mulaw, auconv, 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, mulaw, auconv 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, auconv 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, mulaw, auconv, 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, auconv 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, mulaw, auconv 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, mulaw, auconv 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# 374# PlanetConnect satellite receiver driver. 375# 376device satlink: isadma 377attach satlink at isa 378file dev/isa/satlink.c satlink needs-flag 379 380# ISA PC keyboard controller 381defflag opt_pckbc.h PCKBCNOTEST 382attach pckbc at isa with pckbc_isa 383file dev/isa/pckbc_isa.c pckbc_isa 384 385# generic ISA VGA 386attach vga at isa with vga_isa 387file dev/isa/vga_isa.c vga_isa needs-flag 388 389# generic EGA 390device ega: wsemuldisplaydev, pcdisplayops 391attach ega at isa 392file dev/isa/ega.c ega needs-flag 393 394# IDEC Supervision/16 image capture board 395device isv 396attach isv at isa with isv_isa 397file dev/isa/isv.c isv 398 399# generic PC graphics adapter (MGA, CGA, ...) 400device pcdisplay: wsemuldisplaydev, pcdisplayops 401attach pcdisplay at isa 402file dev/isa/pcdisplay.c pcdisplay needs-flag 403 404# Middle Digital, Inc. PC-Weasel serial console board. 405# XXX This is a little gross... this is to conditionally compile 406# support for the PC-Weasel into the `pcdisplay' driver, 407# but we can't use an `option', because options can't have 408# attributes. 409defpseudo pcweasel: sysmon_wdog 410file dev/isa/weasel_isa.c pcweasel needs-flag 411 412# Sound Forte RadioLink SF16-FMR2 FM Radio Card 413device sf2r: radiodev, tea5757 414attach sf2r at isa 415file dev/isa/sf16fmr2.c sf2r 416 417# Aztech/PackardBell FM Radio Card 418device az: radiodev, lm700x 419attach az at isa 420file dev/isa/aztech.c az 421 422# AIMS Lab Radiotrack & compatible 423device rt: radiodev, lm700x 424attach rt at isa 425file dev/isa/radiotrack.c rt 426 427# AIMS Lab Radiotrack II FM Radio Card 428device rtii: radiodev, tea5757 429attach rtii at isa 430file dev/isa/radiotrack2.c rtii 431 432# PC PPI (speaker interface) 433device pcppi {} 434attach pcppi at isa 435file dev/isa/pcppi.c pcppi needs-flag 436 437attach spkr at pcppi with spkr_pcppi 438file dev/isa/spkr_pcppi.c spkr_pcppi 439 440attach midi at pcppi with midi_pcppi: midisyn 441file dev/isa/midi_pcppi.c midi_pcppi 442 443# AT Timer (TIMER 1) 444attach attimer at isa with attimer_isa 445file dev/isa/attimer_isa.c attimer_isa 446 447# 448# Environmental monitors 449# 450 451# SMSC LPC47B397 Super I/O with hardware monitor 452device smsc: sysmon_envsys 453attach smsc at isa with smsc 454file dev/isa/smsc.c smsc needs-flag 455 456# Winbond LPC Super I/O 457device wbsio { }: gpiobus, sysmon_wdog 458attach wbsio at isa 459file dev/isa/wbsio.c wbsio 460 461# LM78 temp/fanspeed monitor 462attach lm at isa with lm_isa 463attach lm at wbsio with lm_wbsio 464file dev/isa/lm_isa_common.c lm_isa | lm_wbsio 465file dev/isa/lm_isa.c lm_isa 466file dev/isa/lm_wbsio.c lm_wbsio 467 468# iTE Super I/O with hardware monitor 469device itesio: sysmon_envsys, sysmon_wdog 470attach itesio at isa with itesio 471file dev/isa/itesio_isa.c itesio 472 473# Fintek Super I/O with hardware monitor 474device finsio: sysmon_envsys 475attach finsio at isa with finsio 476file dev/isa/finsio_isa.c finsio 477 478# Abit uGuru hardware monitor 479attach ug at isa with ug_isa 480file dev/isa/ug_isa.c ug_isa 481 482# IBM ThinkPad Active Protection System 483device aps: sysmon_envsys 484attach aps at isa with aps 485file dev/isa/aps.c aps 486 487# ISDN devices 488attach isic at isa with isic_isa 489file dev/isa/isic_isa.c isic_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