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