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