1# $NetBSD: files.isa,v 1.142 2005/12/11 12:22:02 christos 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]} 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 148# Sony CDU-3[13]A CD-ROM drives 149device scd: disk 150attach scd at isa 151file dev/isa/scd.c scd needs-flag 152 153attach wdc at isa with wdc_isa 154file dev/isa/wdc_isa.c wdc_isa 155 156# Wangtek- and Archive-compatible tape controller boards 157device wt: tape, isadma 158attach wt at isa 159file dev/isa/wt.c wt needs-flag 160 161# 162# GPIB controllers 163# 164 165device cec: gpibdev 166attach cec at isa 167file dev/isa/cec.c cec 168 169# 170# ISA networking drivers 171# 172 173# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ 174# MUST be first: probe is non invasive, and registers are clobbered 175# by other drivers's probe 176# device declaration in sys/conf/files 177attach we at isa with we_isa 178file dev/isa/if_we_isa.c we_isa 179 180# 3Com common probe code 181define elink 182file dev/isa/elink.c elink 183 184# 3Com 3C503 185device ec: ether, ifnet, arp, dp8390nic 186attach ec at isa 187file dev/isa/if_ec.c ec 188 189# 3Com 3C505 190device eg: ether, ifnet, arp 191attach eg at isa 192file dev/isa/if_eg.c eg 193 194# 3Com 3C501 195device el: ether, ifnet, arp 196attach el at isa 197file dev/isa/if_el.c el 198 199# 3Com 3C509 Ethernet controller 200# device declaration in sys/conf/files 201attach ep at isa with ep_isa: elink 202file dev/isa/if_ep_isa.c ep_isa 203 204# SDL Communications N2 PCI Network Interface 205# device in sys/conf/files 206attach ntwoc at isa with ntwoc_isa 207file dev/isa/if_ntwoc_isa.c ntwoc_isa 208 209 210# Allied Telesis MB8695-based boards 211# (Allied Telesis AT1700) 212# device in sys/conf/files 213attach ate at isa with ate_isa 214file dev/isa/if_ate.c ate_isa 215 216# Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet 217define cs_isa_common 218file dev/isa/cs89x0isa.c cs_isa_common 219attach cs at isa with cs_isa: cs_isa_common, isadma 220file dev/isa/if_cs_isa.c cs_isa 221attach tscs at isa with tscs_isa 222file dev/isa/if_tscs_isa.c tscs_isa 223 224# Fujitsu MB86960-based boards 225# (Fujitsu FMV-180 series) 226# device in sys/conf/files 227attach fmv at isa with fmv_isa 228file dev/isa/if_fmv_isa.c fmv_isa 229 230# HP Lan Ethernet controllers 231# XXX currently broken 232#device hp: ether, ifnet, arp 233#attach hp at isa 234#file dev/isa/if_hp.c hp 235 236# Intel i82595-based boards. 237# (Intel EtherExpress PRO) 238device iy: ether, ifnet, arp 239attach iy at isa 240file dev/isa/if_iy.c iy 241 242# the probe routine of this "recognizes" the iy. Probe after it. 243# NCR 5380-based boards 244attach nca at isa with nca_isa 245file dev/isa/nca_isa.c nca_isa 246 247# AMD am7990 (Lance) -based boards 248# (BICC Isolan, NE2100, DEPCA) 249# device declaration in sys/conf/files 250device nele {} 251attach nele at isa 252attach le at nele with le_nele: le24, isadma 253device bicc {} 254attach bicc at isa 255attach le at bicc with le_bicc: le24, isadma 256file dev/isa/if_le_isa.c nele | bicc 257attach depca at isa with depca_isa 258file dev/isa/depca_isa.c depca 259 260# DEC EtherWORKS III (LEMAC-based: DE203, DE204, DE205) cards 261attach lc at isa with lc_isa 262file dev/isa/if_lc_isa.c lc_isa 263 264# Novell NE1000, NE2000, and clones 265attach ne at isa with ne_isa: rtl80x9 266file dev/isa/if_ne_isa.c ne_isa 267 268# SMC91Cxx Ethernet Controllers 269attach sm at isa with sm_isa 270file dev/isa/if_sm_isa.c sm_isa 271 272# 3Com 3C507 273device ef: ether, ifnet, arp, elink, i82586 274attach ef at isa 275file dev/isa/if_ef.c ef 276 277# AT&T StarLan boards 278device ai: ether, ifnet, arp, i82586 279attach ai at isa 280file dev/isa/if_ai.c ai 281 282# EtherExpress/16 283device ix: ether, ifnet, arp, i82586 284attach ix at isa 285file dev/isa/if_ix.c ix 286 287# TROPIC based Token-Ring (IBM/3COM) 288define tr_isa 289file dev/isa/if_tr_isa.c tr_isa 290attach tr at isa with tr_isa: tr_isa, elink 291file dev/isa/if_tribm_isa.c tr_isa 292file dev/isa/if_trtcm_isa.c tr_isa 293 294# ISA NCR/AT&T/Lucent WaveLAN (non-802.11) card 295attach wl at isa with wl_isa: i82586, wavelan 296file dev/isa/if_wl_isa.c wl_isa 297 298# 299# ISA Sound hardware 300# 301 302# MPU401 MIDI UART compatibles 303attach mpu at isa with mpu_isa 304file dev/isa/mpu_isa.c mpu_isa 305 306# the SoundBlaster DSP, or close likenesses; used by other drivers 307define sbdsp { } 308file dev/isa/sbdsp.c sbdsp 309 310# SoundBlaster family 311device sb: audiobus, isadma, sbdsp, mulaw, auconv, midibus 312file dev/isa/sb.c sb needs-flag 313 314attach sb at isa with sb_isa 315file dev/isa/sb_isa.c sb_isa needs-flag 316 317attach opl at sbdsp with opl_sb 318file dev/isa/opl_sb.c opl_sb 319 320attach mpu at sbdsp with mpu_sb 321file dev/isa/mpu_sb.c mpu_sb 322 323# ProAudio Spectrum 324device pas: audiobus, isadma, sbdsp, mulaw, auconv 325attach pas at isa 326file dev/isa/pas.c pas needs-flag 327 328# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers 329file dev/isa/ad1848_isa.c ad1848 330 331# ICS2101 mixer chip support; used by other drivers 332define ics2101 333file dev/isa/ics2101.c ics2101 334 335# Microsoft Windows Sound System 336device wss { } : audiobus, isadma, ad1848, auconv 337file dev/isa/wss.c wss needs-flag 338 339attach wss at isa with wss_isa 340file dev/isa/wss_isa.c wss_isa needs-flag 341 342attach opl at wss with opl_wss 343file dev/isa/opl_wss.c opl_wss 344 345# ESS Technology ES1887/ES888/ES1888 346device ess { } : audiobus, isadma, mulaw, auconv, midibus 347file dev/isa/ess.c ess needs-flag 348 349attach ess at isa with ess_isa 350file dev/isa/ess_isa.c ess_isa needs-flag 351 352attach opl at ess with opl_ess 353file dev/isa/opl_ess.c opl_ess 354 355attach joy at ess with joy_ess 356file dev/isa/joy_ess.c joy_ess needs-flag 357 358# Yamaha OPL2/OPL3 FM synth 359attach opl at isa with opl_isa 360file dev/isa/opl_isa.c opl_isa 361 362# Yamaha OPL3-SA3 363device ym { }: audiobus, isadma, ad1848, auconv 364file dev/isa/ym.c ym 365defparam opt_ym.h YM_POWER_MODE YM_POWER_OFF_SEC 366 367attach opl at ym with opl_ym 368file dev/isa/opl_ym.c opl_ym 369 370attach mpu at ym with mpu_ym 371file dev/isa/mpu_ym.c mpu_ym needs-flag 372 373# Gravis UltraSound & UltraSound MAX. 374# Use the "drq2" keyword in a config file to specify an extra DMA 375# channel for full-duplex operation. 376device gus: audiobus, isadma, ics2101, ad1848, mulaw, auconv 377attach gus at isa 378file dev/isa/gus.c gus needs-flag 379 380# Sierra's Aria chipset. 381# (e.g. Prometheus Aria 16) 382device aria: audiobus, mulaw, auconv 383attach aria at isa 384file dev/isa/aria.c aria 385 386# Creative Music System (CMS) 387device cms: midibus 388attach cms at isa 389file dev/isa/cms.c cms 390 391# 392# PlanetConnect satellite receiver driver. 393# 394device satlink: isadma 395attach satlink at isa 396file dev/isa/satlink.c satlink needs-flag 397 398# ISA PC keyboard controller 399attach pckbc at isa with pckbc_isa 400file dev/isa/pckbc_isa.c pckbc_isa 401 402# generic ISA VGA 403attach vga at isa with vga_isa 404file dev/isa/vga_isa.c vga_isa needs-flag 405 406# generic EGA 407device ega: wsemuldisplaydev, pcdisplayops 408attach ega at isa 409file dev/isa/ega.c ega needs-flag 410 411# generic PC graphics adapter (MGA, CGA, ...) 412device pcdisplay: wsemuldisplaydev, pcdisplayops 413attach pcdisplay at isa 414file dev/isa/pcdisplay.c pcdisplay needs-flag 415 416# Middle Digital, Inc. PC-Weasel serial console board. 417# XXX This is a little gross... this is to conditionally compile 418# support for the PC-Weasel into the `pcdisplay' driver, 419# but we can't use an `option', because options can't have 420# attributes. 421defpseudo pcweasel: sysmon_wdog 422file dev/isa/weasel_isa.c pcweasel needs-flag 423 424# Sound Forte RadioLink SF16-FMR2 FM Radio Card 425device sf2r: radiodev, tea5757 426attach sf2r at isa 427file dev/isa/sf16fmr2.c sf2r 428 429# Aztech/PackardBell FM Radio Card 430device az: radiodev, lm700x 431attach az at isa 432file dev/isa/aztech.c az 433 434# AIMS Lab Radiotrack & compatible 435device rt: radiodev, lm700x 436attach rt at isa 437file dev/isa/radiotrack.c rt 438 439# AIMS Lab Radiotrack II FM Radio Card 440device rtii: radiodev, tea5757 441attach rtii at isa 442file dev/isa/radiotrack2.c rtii 443 444# PC PPI (speaker interface) 445device pcppi {} 446attach pcppi at isa 447file dev/isa/pcppi.c pcppi needs-flag 448device spkr 449attach spkr at pcppi 450file dev/isa/spkr.c spkr needs-flag 451attach midi at pcppi with midi_pcppi: midisyn 452file dev/isa/midi_pcppi.c midi_pcppi 453 454# AT Timer (TIMER 1) 455attach attimer at isa with attimer_isa 456file dev/isa/attimer_isa.c attimer_isa 457 458# 459# Environmental monitors 460# 461 462# LM78 temp/fanspeed monitor 463attach lm at isa with lm_isa 464file dev/isa/lm_isa.c lm_isa 465 466# ISDN devices 467attach isic at isa with isic_isa 468file dev/isa/isic_isa.c isic_isa 469attach daic at isa with daic_isa 470file dev/isa/daic_isa.c daic_isa 471 472defflag opt_isicisa.h ISICISA_TEL_S0_8 ISICISA_TEL_S0_16 ISICISA_TEL_S0_16_3 473 ISICISA_AVM_A1 ISICISA_USR_STI ISICISA_ITKIX1 474 475file dev/isa/isic_isa_tel_s08.c isic_isa 476file dev/isa/isic_isa_tel_s016.c isic_isa 477file dev/isa/isic_isa_tel_s0163.c isic_isa 478file dev/isa/isic_isa_avm_a1.c isic_isa 479file dev/isa/isic_isa_usr_sti.c isic_isa 480file dev/isa/isic_isa_itk_ix1.c isic_isa 481 482# Game adapter (joystick) 483attach joy at isa with joy_isa 484file dev/isa/joy_isa.c joy_isa 485 486# NSC PC87366 Super IO / monitor chip 487device nsclpcsio: sysmon_envsys, gpiobus 488attach nsclpcsio at isa with nsclpcsio_isa 489file dev/isa/nsclpcsio_isa.c nsclpcsio_isa 490 491# USB Controller 492attach slhci at isa with slhci_isa 493file dev/isa/slhci_isa.c slhci_isa 494 495device tsdio {} 496attach tsdio at isa 497file dev/isa/tsdio.c tsdio 498 499device toasterlcd: hd44780, wsemuldisplaydev 500attach toasterlcd at tsdio 501file dev/isa/toasterlcd.c toasterlcd 502 503device toaster 504attach toaster at tsdio 505file dev/isa/toaster.c toaster 506 507# 508# ISA Plug 'n Play autoconfiguration glue. 509# THIS MUST COME AFTER ALL MI ISA DEVICES ARE DEFINED. This is because 510# ISA PnP devices often use `device' declarations listed in this file. 511# 512include "dev/isapnp/files.isapnp" 513 514