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