files.pci revision 1.95
1# $NetBSD: files.pci,v 1.95 2000/05/30 00:53:14 matt 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 14device pci {[dev = -1], [function = -1]} 15attach pci at pcibus 16file dev/pci/pci.c pci needs-flag 17file dev/pci/pci_map.c pci 18file dev/pci/pci_quirks.c pci 19file dev/pci/pci_subr.c pci 20 21# Adaptec 3940, 2940, and aic78[5678]0 SCSI controllers 22# device declaration in sys/conf/files 23attach ahc at pci with ahc_pci: ahc_seeprom, smc93cx6 24file dev/pci/ahc_pci.c ahc_pci 25 26# Compaq RAID controllers 27attach cac at pci with cac_pci 28file dev/pci/cac_pci.c cac_pci 29 30# DPT EATA SCSI controllers 31attach dpt at pci with dpt_pci 32file dev/pci/dpt_pci.c dpt_pci 33 34# AdvanSys 1200A, 1200B, and ULTRA SCSI controllers 35# device declaration in sys/conf/files 36attach adv at pci with adv_pci 37file dev/pci/adv_pci.c adv_pci 38file dev/ic/advlib.c adv_pci 39file dev/ic/advmcode.c adv_pci 40 41# AdvanSys ULTRA WIDE SCSI controllers 42# device declaration in sys/conf/files 43attach adw at pci with adw_pci 44file dev/pci/adw_pci.c adw_pci 45file dev/ic/adwlib.c adw_pci 46file dev/ic/adwmcode.c adw_pci 47 48# AMD Am53c974 PCscsi-PCI SCSI controllers 49device pcscp: scsi, ncr53c9x 50attach pcscp at pci 51file dev/pci/pcscp.c pcscp 52 53# BusLogic BT-9xx PCI family 54# device declaration in sys/conf/files 55attach bha at pci with bha_pci 56file dev/pci/bha_pci.c bha_pci 57 58# Qlogic ISP 10x0 (PCI) family 59# device declaration in sys/conf/files 60attach isp at pci with isp_pci 61file dev/pci/isp_pci.c isp_pci 62 63# Ethernet driver for DC21040-based boards 64device de: ether, ifnet, arp 65attach de at pci 66file dev/pci/if_de.c de 67 68# Efficient Networks, Inc. ATM interface 69# device declaration in sys/conf/files 70attach en at pci with en_pci 71file dev/pci/if_en_pci.c en_pci 72 73# 3Com 3c590 and 3c595 Ethernet controllers 74# device declaration in sys/conf/files 75attach ep at pci with ep_pci 76file dev/pci/if_ep_pci.c ep_pci 77 78# 3Com 3c90x[B] Ethernet controllers 79# device declaration in sys/conf/files 80attach ex at pci with ex_pci 81file dev/pci/if_ex_pci.c ex_pci 82 83# Digital DEFPA PCI FDDI Controller 84device fpa: pdq, fddi, ifnet, arp 85attach fpa at pci 86file dev/pci/if_fpa.c fpa 87 88# AMD am7990 (LANCE) -based Ethernet controllers 89# device declaration in sys/conf/files 90attach le at pci with le_pci: le32 91file dev/pci/if_le_pci.c le_pci 92 93# NCR 53c8xx SCSI chips 94device ncr: scsi 95attach ncr at pci 96file dev/pci/ncr.c ncr 97 98# common code for siop/esiop pci front end 99define siop_pci_common 100file dev/pci/siop_pci_common.c siop_pci_common 101 102# Symbios 53c8xx SCSI chips 103# device declaration in sys/conf/files 104attach siop at pci with siop_pci: siop_pci_common 105file dev/pci/siop_pci.c siop_pci 106 107# PCI IDE controllers 108device pciide {[channel = -1]}: wdc_base, ata, atapi 109attach pciide at pci 110file dev/pci/pciide.c pciide 111 112# PCI-PCI bridge chips 113device ppb: pcibus 114attach ppb at pci 115file dev/pci/ppb.c ppb 116 117# Cyclades Cyclom-8/16/32 118attach cy at pci with cy_pci 119file dev/pci/cy_pci.c cy_pci 120 121# Cyclades-Z series of intelligent multi-port serial adapters 122device cz 123attach cz at pci 124file dev/pci/cz.c cz needs-flag 125 126# Intel EtherExpress PRO 10/100B 127attach fxp at pci with fxp_pci 128file dev/pci/if_fxp_pci.c fxp_pci 129 130# Sun HME-network 131attach hme at pci with hme_pci 132file dev/pci/if_hme_pci.c hme_pci 133 134# NE2000-compatible PCI Ethernet cards 135defparam opt_ipkdb.h IPKDB_NE_PCISLOT : IPKDB_NE_PCI 136defopt opt_ipkdb.h IPKDB_NE_PCI : IPKDB_NE IPKDB_NE_PCISLOT 137attach ne at pci with ne_pci: rtl80x9 138file dev/pci/if_ne_pci.c ne_pci | IPKDB_NE_PCI 139 140# Texas Instruments ThunderLAN Chip. 141device tl: ether, ifnet, arp, i2c, i2c_eeprom, mii, mii_bitbang 142attach tl at pci 143file dev/pci/if_tl.c tl 144 145# SDL Communications N2 PCI Network Interface 146# device declaration in sys/conf/files 147attach ntwoc at pci with ntwoc_pci 148file dev/pci/if_ntwoc_pci.c ntwoc_pci 149 150# Lan Media Corporation T1/HSSI/DS3 driver 151device lmc: ifnet, sppp 152attach lmc at pci 153file dev/pci/if_lmc.c lmc 154file dev/pci/if_lmc_common.c lmc 155file dev/pci/if_lmc_media.c lmc 156file dev/pci/if_lmc_nbsd.c lmc 157 158# Essential Communications HIPPI interface 159# device declaration in sys/conf/files 160attach esh at pci with esh_pci 161file dev/pci/if_esh_pci.c esh_pci 162 163# generic PCI VGA 164attach vga at pci with vga_pci 165file dev/pci/vga_pci.c vga_pci needs-flag 166 167# DEC TGA 168device tga: wsemuldisplaydev, rasops8, rasops32 169attach tga at pci 170file dev/pci/tga.c tga needs-flag 171file dev/pci/tga_conf.c tga 172file dev/ic/bt485.c tga 173file dev/ic/bt463.c tga 174 175# Brooktree Bt848 video capture 176device bktr: pcibus 177attach bktr at pci 178file dev/pci/bktr/bktr_audio.c bktr 179file dev/pci/bktr/bktr_card.c bktr 180file dev/pci/bktr/bktr_core.c bktr 181file dev/pci/bktr/bktr_os.c bktr needs-flag 182file dev/pci/bktr/bktr_tuner.c bktr 183 184# Cirrus Logic CrystalClear PCI Audio CS4280 185device clcs: audio, auconv, mulaw, ac97, midibus 186attach clcs at pci 187file dev/pci/cs4280.c clcs 188 189# Forte Media FM801 190device fms { }: audio, auconv, mulaw, ac97, midibus 191attach fms at pci 192file dev/pci/fms.c fms 193 194attach opl at fms with opl_fms 195file dev/pci/opl_fms.c opl_fms 196 197attach mpu at fms with mpu_fms 198file dev/pci/mpu_fms.c mpu_fms 199 200# Ensoniq AudioPCI S5016 201device eap: audio, auconv, mulaw, ac97, midibus 202attach eap at pci 203file dev/pci/eap.c eap 204 205# VIA VT82C686A AC'97 Audio 206device auvia: audio, auconv, mulaw, ac97 207attach auvia at pci 208file dev/pci/auvia.c auvia 209 210# ESS Solo-1 PCI AudioDrive 211device eso { }: audio, auconv, mulaw, midibus 212attach eso at pci 213file dev/pci/eso.c eso 214 215attach opl at eso with opl_eso 216file dev/pci/opl_eso.c opl_eso 217 218attach mpu at eso with mpu_eso 219file dev/pci/mpu_eso.c mpu_eso 220 221# S3 SonicVibes (S3 617) 222device sv { }: audio, auconv, mulaw, midibus 223attach sv at pci 224file dev/pci/sv.c sv 225 226attach opl at sv with opl_sv 227file dev/pci/opl_sv.c opl_sv 228 229# C-Media CMI8x38 Audio Chip 230device cmpci { }: audio, auconv 231attach cmpci at pci 232file dev/pci/cmpci.c cmpci 233 234# SMC EPIC/100 Fast Ethernet on PCI 235attach epic at pci with epic_pci 236file dev/pci/if_epic_pci.c epic_pci 237 238# PCI "universal" communication device driver, for PCI com, lpt, etc. ports 239# (see documentation in the driver for what, exactly, should be supported) 240device puc { port = -1 } 241attach puc at pci 242file dev/pci/puc.c puc 243file dev/pci/pucdata.c puc 244 245attach com at puc with com_puc 246file dev/pci/com_puc.c com_puc 247 248# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 249# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 250# XXX (when the conf/files and files.isa bogons are fixed, this can 251# XXX be fixed as well.) 252 253# attach lpt at puc with lpt_puc 254# file dev/pci/lpt_puc.c lpt_puc 255 256# UHCI USB controller 257attach uhci at pci with uhci_pci 258file dev/pci/uhci_pci.c uhci_pci 259 260# OHCI USB controller 261attach ohci at pci with ohci_pci 262file dev/pci/ohci_pci.c ohci_pci 263 264# OHCI IEEE 1394 controller 265attach fwohci at pci with fwohci_pci 266file dev/pci/fwohci_pci.c fwohci_pci 267 268# VIA Rhine/Rhine II Fast Ethernet controllers 269device vr: ether, ifnet, arp, mii, mii_bitbang 270attach vr at pci 271file dev/pci/if_vr.c vr 272 273# SiS 900 Fast Ethernet controllers 274device sip: ether, ifnet, arp, mii 275attach sip at pci 276file dev/pci/if_sip.c sip 277 278# Realtek 8129/8139 Ethernet controllers 279attach rtk at pci with rtk_pci 280file dev/pci/if_rtk_pci.c rtk_pci 281 282# DECchip 21x4x Ethernet controller family, and assorted clones. 283attach tlp at pci with tlp_pci 284file dev/pci/if_tlp_pci.c tlp_pci 285 286# Bit3 PCI-VME mod. 617 287device btvmei: vmebus 288attach btvmei at pci 289file dev/pci/btvmei.c btvmei 290#file dev/pci/btvmei_dma.c btvmei 291#file dev/pci/btvmei_cntlrdma.c btvmei 292 293# Alteon ACEnic Gigabit Ethernet controller 294device ti: ether, ifnet, arp 295attach ti at pci 296file dev/pci/if_ti.c ti 297 298# Adaptec AIC-6915 Ethernet interface 299attach sf at pci with sf_pci 300file dev/pci/if_sf_pci.c sf_pci 301 302# YENTA PCI-Cardbus bridge 303#device cbb: cbbus, pcmciabus 304device cbb: pcmciaslot 305attach cbb at pci with cbb_pci 306file dev/pci/pccbb.c cbb 307 308# Tundra Universe PCI-VME adapter 309define univ_pci 310file dev/pci/universe_pci.c univ_pci 311 312# Bit3 PCI-VME mod. 2706 313device btvmeii: vmebus, univ_pci 314attach btvmeii at pci 315file dev/pci/btvmeii.c btvmeii 316 317# VT86C686A power management 318device viapm {} 319attach viapm at pci 320file dev/pci/viapm.c viapm 321 322# hardware monitoring part of viapm 323device viaenv 324attach viaenv at viapm 325file dev/pci/viaenv.c viaenv needs-flag 326