files.pci revision 1.118
1# $NetBSD: files.pci,v 1.118 2001/01/22 17:40:14 ad Exp $ 2# 3# Config file and device description for machine-independent PCI code. 4# Included by ports that need it. Requires that the SCSI files be 5# defined first. 6 7defopt opt_pci.h PCIVERBOSE PCI_CONFIG_DUMP 8 9defopt opt_bktr.h BKTR_OVERRIDE_CARD BKTR_OVERRIDE_TUNER BKTR_OVERRIDE_DBX 10 BKTR_OVERRIDE_MSP BKTR_SYSTEM_DEFAULT 11 BKTR_USE_PLL BKTR_GPIO_ACCESS BKTR_NO_MSP_RESET 12 BKTR_430_FX_MODE BKTR_SIS_VIA_MODE 13 14defopt opt_pciide.h PCIIDE_CMD064x_DISABLE PCIIDE_AMD756_ENABLEDMA 15 PCIIDE_CMD0646U_ENABLEUDMA 16 17device pci {[dev = -1], [function = -1]} 18attach pci at pcibus 19file dev/pci/pci.c pci needs-flag 20file dev/pci/pci_map.c pci 21file dev/pci/pci_quirks.c pci 22file dev/pci/pci_subr.c pci 23 24# Cypress 82c693 hyperCache(tm) Stand-Alone PCI Peripheral Controller 25# with USB. This is a combo chip: 26# 27# PCI-ISA bridge 28# PCI IDE controller 29# OHCI USB controller 30# 31# There are some common subroutines that each function needs. 32define cy82c693 33file dev/pci/cy82c693.c cy82c693 34 35# Adaptec 3940, 2940, and aic78[5678]0 SCSI controllers 36# device declaration in sys/conf/files 37attach ahc at pci with ahc_pci: ahc_seeprom, smc93cx6 38file dev/pci/ahc_pci.c ahc_pci 39 40# I2O adapters 41attach iop at pci with iop_pci 42file dev/pci/iop_pci.c iop_pci 43 44# 3ware RAID controllers 45device twe {unit = -1} 46attach twe at pci 47file dev/pci/twe.c twe 48 49attach ld at twe with ld_twe 50file dev/pci/ld_twe.c ld_twe 51 52# Compaq RAID controllers 53attach cac at pci with cac_pci 54file dev/pci/cac_pci.c cac_pci 55 56# DPT EATA SCSI controllers 57attach dpt at pci with dpt_pci 58file dev/pci/dpt_pci.c dpt_pci 59 60# AdvanSys 1200A, 1200B, and ULTRA SCSI controllers 61# device declaration in sys/conf/files 62attach adv at pci with adv_pci 63file dev/pci/adv_pci.c adv_pci 64file dev/ic/advlib.c adv_pci 65file dev/ic/advmcode.c adv_pci 66 67# AdvanSys ULTRA WIDE SCSI controllers 68# device declaration in sys/conf/files 69attach adw at pci with adw_pci 70file dev/pci/adw_pci.c adw_pci 71file dev/ic/adwlib.c adw_pci 72file dev/ic/adwmcode.c adw_pci 73 74# AMD Am53c974 PCscsi-PCI SCSI controllers 75device pcscp: scsi, ncr53c9x 76attach pcscp at pci 77file dev/pci/pcscp.c pcscp 78 79# BusLogic BT-9xx PCI family 80# device declaration in sys/conf/files 81attach bha at pci with bha_pci 82file dev/pci/bha_pci.c bha_pci 83 84# Qlogic ISP 10x0 (PCI) family 85# device declaration in sys/conf/files 86attach isp at pci with isp_pci 87file dev/pci/isp_pci.c isp_pci 88 89# Ethernet driver for DC21040-based boards 90device de: ether, ifnet, arp 91attach de at pci 92file dev/pci/if_de.c de 93 94# Efficient Networks, Inc. ATM interface 95# device declaration in sys/conf/files 96attach en at pci with en_pci 97file dev/pci/if_en_pci.c en_pci 98 99# 3Com 3c590 and 3c595 Ethernet controllers 100# device declaration in sys/conf/files 101attach ep at pci with ep_pci 102file dev/pci/if_ep_pci.c ep_pci 103 104# 3Com 3c90x[B] Ethernet controllers 105# device declaration in sys/conf/files 106attach ex at pci with ex_pci 107file dev/pci/if_ex_pci.c ex_pci 108 109# Digital DEFPA PCI FDDI Controller 110device fpa: pdq, fddi, ifnet, arp 111attach fpa at pci 112file dev/pci/if_fpa.c fpa 113 114# AMD am7990 (LANCE) -based Ethernet controllers 115# device declaration in sys/conf/files 116attach le at pci with le_pci: le32 117file dev/pci/if_le_pci.c le_pci 118 119# NCR 53c8xx SCSI chips 120device ncr: scsi 121attach ncr at pci 122file dev/pci/ncr.c ncr 123 124# common code for siop/esiop pci front end 125define siop_pci_common 126file dev/pci/siop_pci_common.c siop_pci_common 127 128# Symbios 53c8xx SCSI chips 129# device declaration in sys/conf/files 130attach siop at pci with siop_pci: siop_pci_common 131file dev/pci/siop_pci.c siop_pci 132 133# PCI IDE controllers 134device pciide {[channel = -1]}: cy82c693, wdc_base, ata, atapi 135attach pciide at pci 136file dev/pci/pciide.c pciide 137 138# PCI-PCI bridge chips 139device ppb: pcibus 140attach ppb at pci 141file dev/pci/ppb.c ppb 142 143# Cyclades Cyclom-8/16/32 144attach cy at pci with cy_pci 145file dev/pci/cy_pci.c cy_pci 146 147# Cyclades-Z series of intelligent multi-port serial adapters 148device cz 149attach cz at pci 150file dev/pci/cz.c cz needs-flag 151 152# Intel EtherExpress PRO 10/100B 153attach fxp at pci with fxp_pci 154file dev/pci/if_fxp_pci.c fxp_pci 155 156# Sun HME-network 157attach hme at pci with hme_pci 158file dev/pci/if_hme_pci.c hme_pci 159 160# NE2000-compatible PCI Ethernet cards 161defparam opt_ipkdb.h IPKDB_NE_PCISLOT : IPKDB_NE_PCI 162defopt opt_ipkdb.h IPKDB_NE_PCI : IPKDB_NE IPKDB_NE_PCISLOT 163attach ne at pci with ne_pci: rtl80x9 164file dev/pci/if_ne_pci.c ne_pci | IPKDB_NE_PCI 165 166# Texas Instruments ThunderLAN Chip. 167device tl: ether, ifnet, arp, i2c, i2c_eeprom, mii, mii_bitbang 168attach tl at pci 169file dev/pci/if_tl.c tl 170 171# SDL Communications N2 PCI Network Interface 172# device declaration in sys/conf/files 173attach ntwoc at pci with ntwoc_pci 174file dev/pci/if_ntwoc_pci.c ntwoc_pci 175 176# Lan Media Corporation T1/HSSI/DS3 driver 177device lmc: ifnet, sppp 178attach lmc at pci 179file dev/pci/if_lmc.c lmc 180file dev/pci/if_lmc_common.c lmc 181file dev/pci/if_lmc_media.c lmc 182file dev/pci/if_lmc_nbsd.c lmc 183 184# Essential Communications HIPPI interface 185# device declaration in sys/conf/files 186attach esh at pci with esh_pci 187file dev/pci/if_esh_pci.c esh_pci 188 189# generic PCI VGA 190attach vga at pci with vga_pci 191file dev/pci/vga_pci.c vga_pci needs-flag 192 193# DEC TGA 194device tga: wsemuldisplaydev, rasops8, rasops32 195attach tga at pci 196file dev/pci/tga.c tga needs-flag 197file dev/pci/tga_conf.c tga 198file dev/ic/bt485.c tga 199file dev/ic/bt463.c tga 200 201# Brooktree Bt848 video capture 202device bktr: pcibus 203attach bktr at pci 204file dev/pci/bktr/bktr_audio.c bktr 205file dev/pci/bktr/bktr_card.c bktr 206file dev/pci/bktr/bktr_core.c bktr 207file dev/pci/bktr/bktr_os.c bktr needs-flag 208file dev/pci/bktr/bktr_tuner.c bktr 209 210# Cirrus Logic CrystalClear PCI Audio CS4280 211device clcs: audio, auconv, mulaw, ac97, midibus 212attach clcs at pci 213file dev/pci/cs4280.c clcs 214 215# Cirrus Logic CrystalClear PCI Audio CS4281 216device clct: audio, auconv, mulaw, ac97 217attach clct at pci 218file dev/pci/cs4281.c clct 219 220# Forte Media FM801 221device fms { }: audio, auconv, mulaw, ac97, midibus 222attach fms at pci 223file dev/pci/fms.c fms 224 225attach opl at fms with opl_fms 226file dev/pci/opl_fms.c opl_fms 227 228attach mpu at fms with mpu_fms 229file dev/pci/mpu_fms.c mpu_fms 230 231# Ensoniq AudioPCI S5016 232device eap: audio, auconv, mulaw, ac97, midibus 233attach eap at pci 234file dev/pci/eap.c eap 235 236# Intel ICH AC'97 audio 237device auich: audio, auconv, mulaw, ac97 238attach auich at pci 239file dev/pci/auich.c auich 240 241# VIA VT82C686A AC'97 Audio 242device auvia: audio, auconv, mulaw, ac97 243attach auvia at pci 244file dev/pci/auvia.c auvia 245 246# NeoMagic 256 AC'97 Audio 247device neo: audio, auconv, mulaw, ac97 248attach neo at pci 249file dev/pci/neo.c neo 250 251# ESS Solo-1 PCI AudioDrive 252device eso { }: audio, auconv, mulaw, midibus 253attach eso at pci 254file dev/pci/eso.c eso 255 256attach opl at eso with opl_eso 257file dev/pci/opl_eso.c opl_eso 258 259attach mpu at eso with mpu_eso 260file dev/pci/mpu_eso.c mpu_eso 261 262# ESS Maestro-1/2/2e PCI AC97 Audio Accelerator 263device esm: audio, auconv, mulaw, ac97 264attach esm at pci 265file dev/pci/esm.c esm 266 267# S3 SonicVibes (S3 617) 268device sv { }: audio, auconv, mulaw, midibus 269attach sv at pci 270file dev/pci/sv.c sv 271 272attach opl at sv with opl_sv 273file dev/pci/opl_sv.c opl_sv 274 275# C-Media CMI8x38 Audio Chip 276device cmpci { }: audio, auconv, mulaw 277attach cmpci at pci 278file dev/pci/cmpci.c cmpci 279 280# SMC EPIC/100 Fast Ethernet on PCI 281attach epic at pci with epic_pci 282file dev/pci/if_epic_pci.c epic_pci 283 284# PCI "universal" communication device driver, for PCI com, lpt, etc. ports 285# (see documentation in the driver for what, exactly, should be supported) 286device puc { port = -1 } 287attach puc at pci 288file dev/pci/puc.c puc 289file dev/pci/pucdata.c puc 290 291attach com at puc with com_puc 292file dev/pci/com_puc.c com_puc 293 294# Console device support for puc drivers 295defopt opt_puccn.h PUCCN 296file dev/pci/puccn.c puccn 297 298# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 299# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 300# XXX (when the conf/files and files.isa bogons are fixed, this can 301# XXX be fixed as well.) 302 303# attach lpt at puc with lpt_puc 304# file dev/pci/lpt_puc.c lpt_puc 305 306# UHCI USB controller 307attach uhci at pci with uhci_pci 308file dev/pci/uhci_pci.c uhci_pci 309 310# OHCI USB controller 311attach ohci at pci with ohci_pci 312file dev/pci/ohci_pci.c ohci_pci 313 314# EHCI USB controller 315attach ehci at pci with ehci_pci 316file dev/pci/ehci_pci.c ehci_pci 317 318# OHCI IEEE 1394 controller 319attach fwohci at pci with fwohci_pci 320file dev/pci/fwohci_pci.c fwohci_pci 321 322# IEEE 1394 TI "Lynx" controller 323attach fwlynx at pci with fwlynx_pci 324file dev/pci/fwlync.c fwlynx_pci 325 326# VIA Rhine/Rhine II Fast Ethernet controllers 327device vr: ether, ifnet, arp, mii, mii_bitbang 328attach vr at pci 329file dev/pci/if_vr.c vr 330 331# SiS 900 Fast Ethernet controllers 332device sip: ether, ifnet, arp, mii 333attach sip at pci 334file dev/pci/if_sip.c sip 335 336# Realtek 8129/8139 Ethernet controllers 337attach rtk at pci with rtk_pci 338file dev/pci/if_rtk_pci.c rtk_pci 339 340# DECchip 21x4x Ethernet controller family, and assorted clones. 341attach tlp at pci with tlp_pci 342defopt opt_tlp.h TLP_MATCH_21040 343 TLP_MATCH_21041 344 TLP_MATCH_21140 345 TLP_MATCH_21142 346 347file dev/pci/if_tlp_pci.c tlp_pci 348 349# Bit3 PCI-VME mod. 617 350device btvmei: vmebus 351attach btvmei at pci 352file dev/pci/btvmei.c btvmei 353#file dev/pci/btvmei_dma.c btvmei 354#file dev/pci/btvmei_cntlrdma.c btvmei 355 356# Alteon ACEnic Gigabit Ethernet controller 357device ti: ether, ifnet, arp 358attach ti at pci 359file dev/pci/if_ti.c ti 360 361# Adaptec AIC-6915 Ethernet interface 362attach sf at pci with sf_pci 363file dev/pci/if_sf_pci.c sf_pci 364 365# YENTA PCI-Cardbus bridge 366#device cbb: cbbus, pcmciabus 367device cbb: pcmciaslot 368attach cbb at pci with cbb_pci 369file dev/pci/pccbb.c cbb 370 371# Tundra Universe PCI-VME adapter 372define univ_pci 373file dev/pci/universe_pci.c univ_pci 374 375# Bit3 PCI-VME mod. 2706 376device btvmeii: vmebus, univ_pci 377attach btvmeii at pci 378file dev/pci/btvmeii.c btvmeii 379 380# VT86C686A power management 381device viapm {} 382attach viapm at pci 383file dev/pci/viapm.c viapm 384 385# hardware monitoring part of viapm 386device viaenv: sysmon_envsys 387attach viaenv at viapm 388file dev/pci/viaenv.c viaenv needs-flag 389 390# Hi/fn 7751 391device hifn {} 392attach hifn at pci 393file dev/pci/hifn7751.c hifn 394 395# Aironet PC4500/PC4800 396attach an at pci with an_pci 397file dev/pci/if_an_pci.c an_pci 398 399 400# ISDN devices 401attach isic at pci with pci_isic 402file dev/pci/pci_isic.c pci_isic 403 404defopt opt_isicpci.h ISICPCI_ELSA_QS1PCI ISICPCI_AVM_A1 405 406file dev/pci/i4b_elsa_qs1p.c pci_isic 407file dev/pci/i4b_avm_fritz_pci.c pci_isic 408 409