files.isa revision 1.132
1# $NetBSD: files.isa,v 1.132 2004/01/31 13:59:20 jdolecek 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 17# ISA DMA controller 18define isadma 19file dev/isa/isadma.c isadma needs-flag 20 21# 22# 8250/16[45]50-based multi-port serial boards 23# 24 25define commulti {[slave = -1]} 26 27# AST 4-port board 28device ast: commulti 29attach ast at isa 30file dev/isa/ast.c ast 31 32# TC-800 8-port board 33device tcom: commulti 34attach tcom at isa 35file dev/isa/tcom.c tcom 36 37# BOCA 8-port board 38device boca: commulti 39attach boca at isa 40file dev/isa/boca.c boca 41 42# Addonics FlexPort multiport serial card 43device addcom: commulti 44attach addcom at isa with addcom_isa 45file dev/isa/addcom_isa.c addcom 46 47# IBM RT PC 4-port board 48device rtfps: commulti 49attach rtfps at isa 50file dev/isa/rtfps.c rtfps 51 52# BOCA 6-port board (3x 16552) 53device ioat: commulti 54attach ioat at isa 55file dev/isa/ioat66.c ioat 56 57# MOXA 8-port board 58device moxa: commulti 59attach moxa at isa with moxa_isa 60file dev/isa/moxa_isa.c moxa 61 62# 63# Serial and parallel drivers 64# 65 66attach com at isa with com_isa 67file dev/isa/com_isa.c com_isa 68 69attach com at commulti with com_multi 70file dev/isa/com_multi.c com_multi 71 72# Cyclades Cyclom-8/16/32 73attach cy at isa with cy_isa 74file dev/isa/cy_isa.c cy_isa 75 76# PC-style parallel ports: ISA bus attachment (XXX what chip?) 77# XXX chip driver should be defined elsewhere 78attach lpt at isa with lpt_isa 79file dev/isa/lpt_isa.c lpt_isa & !ppbus 80 81# Parallel port chipset 82attach atppc at isa with atppc_isa: isadma 83file dev/isa/atppc_isa.c atppc_isa 84file dev/isa/atppc_isadma.c atppc_isa | atppc_acpi | atppc_pnpbios | atppc_ofisa | atppc_isapnp 85 86# 87# SCSI host adapters 88# 89 90# AdvanSys 514x family 91# device declaration in sys/conf/files 92attach adv at isa with adv_isa: isadma 93file dev/isa/adv_isa.c adv_isa 94 95# Adaptec AHA-154x family 96# device declaration in sys/conf/files 97attach aha at isa with aha_isa: isadma 98file dev/isa/aha_isa.c aha_isa 99 100# Adaptec AIC-6[32]60 ICs 101# device declaration in sys/conf/files 102attach aic at isa with aic_isa: isadma 103file dev/isa/aic_isa.c aic_isa 104 105# Qlogic ESP406/FAS408 boards 106# device declaration in sys/conf/files 107attach esp at isa with esp_isa: isadma 108file dev/isa/esp_isa.c esp_isa 109 110# BusLogic BT-[45]4x ISA family 111# device declaration in sys/conf/files 112attach bha at isa with bha_isa: isadma 113file dev/isa/bha_isa.c bha_isa 114 115# DPT SmartCache/SmartRAID III/IV ISA family 116# device declaration in sys/conf/files 117attach dpt at isa with dpt_isa: isadma 118file dev/isa/dpt_isa.c dpt_isa 119 120# Seagate ST0[12] ICs 121device sea: scsi, isadma 122attach sea at isa 123file dev/isa/seagate.c sea 124 125# UltraStor UHA-[13]4f boards 126# device declaration in sys/conf/files 127attach uha at isa with uha_isa: isadma 128file dev/isa/uha_isa.c uha_isa 129 130# Western Digital WD7000 and Future Domain TMC-7000 boards 131device wds: scsi, isadma 132attach wds at isa 133file dev/isa/wds.c wds 134 135# 136# Other ISA disk controllers 137# 138 139# Mitsumi CD-ROM controllers 140device mcd: disk 141attach mcd at isa 142file dev/isa/mcd.c mcd needs-flag 143defflag MCD_PROMISC # enable "promiscuous" match 144 145# Sony CDU-3[13]A CD-ROM drives 146device scd: disk 147attach scd at isa 148file dev/isa/scd.c scd needs-flag 149 150attach wdc at isa with wdc_isa 151file dev/isa/wdc_isa.c wdc_isa 152 153# Wangtek- and Archive-compatible tape controller boards 154device wt: tape, isadma 155attach wt at isa 156file dev/isa/wt.c wt needs-flag 157 158# 159# GPIB controllers 160# 161 162device cec: gpibdev 163attach cec at isa 164file dev/isa/cec.c cec 165 166# 167# ISA networking drivers 168# 169 170# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ 171# MUST be first: probe is non invasive, and registers are clobbered 172# by other drivers's probe 173# device declaration in sys/conf/files 174attach we at isa with we_isa 175file dev/isa/if_we_isa.c we_isa 176 177# 3Com common probe code 178define elink 179file dev/isa/elink.c elink 180 181# 3Com 3C503 182device ec: ether, ifnet, arp, dp8390nic 183attach ec at isa 184file dev/isa/if_ec.c ec 185 186# 3Com 3C505 187device eg: ether, ifnet, arp 188attach eg at isa 189file dev/isa/if_eg.c eg 190 191# 3Com 3C501 192device el: ether, ifnet, arp 193attach el at isa 194file dev/isa/if_el.c el 195 196# 3Com 3C509 Ethernet controller 197# device declaration in sys/conf/files 198attach ep at isa with ep_isa: elink 199file dev/isa/if_ep_isa.c ep_isa 200 201# SDL Communications N2 PCI Network Interface 202# device in sys/conf/files 203attach ntwoc at isa with ntwoc_isa 204file dev/isa/if_ntwoc_isa.c ntwoc_isa 205 206 207# Allied Telesis MB8695-based boards 208# (Allied Telesis AT1700) 209# device in sys/conf/files 210attach ate at isa with ate_isa 211file dev/isa/if_ate.c ate_isa 212 213# Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet 214define cs_isa_common 215file dev/isa/cs89x0isa.c cs_isa_common 216attach cs at isa with cs_isa: cs_isa_common, isadma 217file dev/isa/if_cs_isa.c cs_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# ISA NCR/AT&T/Lucent WaveLAN (non-802.11) card 290attach wl at isa with wl_isa: i82586, wavelan 291file dev/isa/if_wl_isa.c wl_isa 292 293# 294# ISA Sound hardware 295# 296 297# MPU401 MIDI UART compatibles 298attach mpu at isa with mpu_isa 299file dev/isa/mpu_isa.c mpu_isa 300 301# the SoundBlaster DSP, or close likenesses; used by other drivers 302define sbdsp { } 303file dev/isa/sbdsp.c sbdsp 304 305# SoundBlaster family 306device sb: audiobus, isadma, sbdsp, mulaw, auconv, midibus 307file dev/isa/sb.c sb needs-flag 308 309attach sb at isa with sb_isa 310file dev/isa/sb_isa.c sb_isa needs-flag 311 312attach opl at sbdsp with opl_sb 313file dev/isa/opl_sb.c opl_sb 314 315attach mpu at sbdsp with mpu_sb 316file dev/isa/mpu_sb.c mpu_sb 317 318# ProAudio Spectrum 319device pas: audiobus, isadma, sbdsp, mulaw, auconv 320attach pas at isa 321file dev/isa/pas.c pas needs-flag 322 323# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers 324file dev/isa/ad1848_isa.c ad1848 325 326# ICS2101 mixer chip support; used by other drivers 327define ics2101 328file dev/isa/ics2101.c ics2101 329 330 331# Audio systems based on Echo Speech Corp. ESC61[45] ASICs 332device pss {[port = -1], [size = 0], 333 [iomem = -1], [iosiz = 0], 334 [irq = -1], [drq = -1]} 335attach pss at isa 336device sp: audiobus, isadma, ad1848, auconv 337attach sp at pss 338file dev/isa/pss.c pss needs-flag 339 340# Microsoft Windows Sound System 341device wss { } : audiobus, isadma, ad1848, auconv 342file dev/isa/wss.c wss needs-flag 343 344attach wss at isa with wss_isa 345file dev/isa/wss_isa.c wss_isa needs-flag 346 347attach opl at wss with opl_wss 348file dev/isa/opl_wss.c opl_wss 349 350# ESS Technology ES1887/ES888/ES1888 351device ess { } : audiobus, isadma, mulaw, auconv, midibus 352file dev/isa/ess.c ess needs-flag 353 354attach ess at isa with ess_isa 355file dev/isa/ess_isa.c ess_isa needs-flag 356 357attach opl at ess with opl_ess 358file dev/isa/opl_ess.c opl_ess 359 360# Yamaha OPL2/OPL3 FM synth 361attach opl at isa with opl_isa 362file dev/isa/opl_isa.c opl_isa 363 364# Yamaha OPL3-SA3 365device ym { }: audiobus, isadma, ad1848, auconv 366file dev/isa/ym.c ym 367defparam opt_ym.h YM_POWER_MODE YM_POWER_OFF_SEC 368 369attach opl at ym with opl_ym 370file dev/isa/opl_ym.c opl_ym 371 372attach mpu at ym with mpu_ym 373file dev/isa/mpu_ym.c mpu_ym needs-flag 374 375# Gravis UltraSound & UltraSound MAX. 376# Use the "drq2" keyword in a config file to specify an extra DMA 377# channel for full-duplex operation. 378device gus: audiobus, isadma, ics2101, ad1848, mulaw, auconv 379attach gus at isa 380file dev/isa/gus.c gus needs-flag 381 382# Sierra's Aria chipset. 383# (e.g. Prometheus Aria 16) 384device aria: audiobus, mulaw, auconv 385attach aria at isa 386file dev/isa/aria.c aria 387 388# Creative Music System (CMS) 389device cms: midibus 390attach cms at isa 391file dev/isa/cms.c cms 392 393# 394# PlanetConnect satellite receiver driver. 395# 396device satlink: isadma 397attach satlink at isa 398file dev/isa/satlink.c satlink needs-flag 399 400# ISA PC keyboard controller 401attach pckbc at isa with pckbc_isa 402file dev/isa/pckbc_isa.c pckbc_isa 403 404# generic ISA VGA 405attach vga at isa with vga_isa 406file dev/isa/vga_isa.c vga_isa needs-flag 407 408# generic EGA 409device ega: wsemuldisplaydev, pcdisplayops 410attach ega at isa 411file dev/isa/ega.c ega needs-flag 412 413# generic PC graphics adapter (MGA, CGA, ...) 414device pcdisplay: wsemuldisplaydev, pcdisplayops 415attach pcdisplay at isa 416file dev/isa/pcdisplay.c pcdisplay needs-flag 417 418# Middle Digital, Inc. PC-Weasel serial console board. 419# XXX This is a little gross... this is to conditionally compile 420# support for the PC-Weasel into the `pcdisplay' driver, 421# but we can't use an `option', because options can't have 422# attributes. 423defpseudo pcweasel: sysmon_wdog 424file dev/isa/weasel_isa.c pcweasel needs-flag 425 426# Sound Forte RadioLink SF16-FMR2 FM Radio Card 427device sf2r: radiodev, tea5757 428attach sf2r at isa 429file dev/isa/sf16fmr2.c sf2r 430 431# Aztech/PackardBell FM Radio Card 432device az: radiodev, lm700x 433attach az at isa 434file dev/isa/aztech.c az 435 436# AIMS Lab Radiotrack & compatible 437device rt: radiodev, lm700x 438attach rt at isa 439file dev/isa/radiotrack.c rt 440 441# AIMS Lab Radiotrack II FM Radio Card 442device rtii: radiodev, tea5757 443attach rtii at isa 444file dev/isa/radiotrack2.c rtii 445 446# PC PPI + TIMER 1 (speaker interface) 447device pcppi {} 448attach pcppi at isa 449file dev/isa/pcppi.c pcppi needs-flag 450device spkr 451attach spkr at pcppi 452file dev/isa/spkr.c spkr needs-flag 453attach midi at pcppi with midi_pcppi: midisyn 454file dev/isa/midi_pcppi.c midi_pcppi 455 456# 457# Environmental monitors 458# 459 460# LM78 temp/fanspeed monitor 461attach lm at isa with lm_isa 462file dev/isa/lm_isa.c lm_isa 463 464# ISDN devices 465attach isic at isa with isic_isa 466file dev/isa/isic_isa.c isic_isa 467attach daic at isa with daic_isa 468file dev/isa/daic_isa.c daic_isa 469 470defflag opt_isicisa.h ISICISA_TEL_S0_8 ISICISA_TEL_S0_16 ISICISA_TEL_S0_16_3 471 ISICISA_AVM_A1 ISICISA_USR_STI ISICISA_ITKIX1 472 473file dev/isa/isic_isa_tel_s08.c isic_isa 474file dev/isa/isic_isa_tel_s016.c isic_isa 475file dev/isa/isic_isa_tel_s0163.c isic_isa 476file dev/isa/isic_isa_avm_a1.c isic_isa 477file dev/isa/isic_isa_usr_sti.c isic_isa 478file dev/isa/isic_isa_itk_ix1.c isic_isa 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 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 493# 494# ISA Plug 'n Play autoconfiguration glue. 495# THIS MUST COME AFTER ALL MI ISA DEVICES ARE DEFINED. This is because 496# ISA PnP devices often use `device' declarations listed in this file. 497# 498include "dev/isapnp/files.isapnp" 499 500