files.pci revision 1.117
1# $NetBSD: files.pci,v 1.117 2001/01/22 01:34:43 augustss 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# Cirrus Logic CrystalClear PCI Audio CS4281 218device clct: audio, auconv, mulaw, ac97 219attach clct at pci 220file dev/pci/cs4281.c clct 221 222# Forte Media FM801 223device fms { }: audio, auconv, mulaw, ac97, midibus 224attach fms at pci 225file dev/pci/fms.c fms 226 227attach opl at fms with opl_fms 228file dev/pci/opl_fms.c opl_fms 229 230attach mpu at fms with mpu_fms 231file dev/pci/mpu_fms.c mpu_fms 232 233# Ensoniq AudioPCI S5016 234device eap: audio, auconv, mulaw, ac97, midibus 235attach eap at pci 236file dev/pci/eap.c eap 237 238# Intel ICH AC'97 audio 239device auich: audio, auconv, mulaw, ac97 240attach auich at pci 241file dev/pci/auich.c auich 242 243# VIA VT82C686A AC'97 Audio 244device auvia: audio, auconv, mulaw, ac97 245attach auvia at pci 246file dev/pci/auvia.c auvia 247 248# NeoMagic 256 AC'97 Audio 249device neo: audio, auconv, mulaw, ac97 250attach neo at pci 251file dev/pci/neo.c neo 252 253# ESS Solo-1 PCI AudioDrive 254device eso { }: audio, auconv, mulaw, midibus 255attach eso at pci 256file dev/pci/eso.c eso 257 258attach opl at eso with opl_eso 259file dev/pci/opl_eso.c opl_eso 260 261attach mpu at eso with mpu_eso 262file dev/pci/mpu_eso.c mpu_eso 263 264# ESS Maestro-1/2/2e PCI AC97 Audio Accelerator 265device esm: audio, auconv, mulaw, ac97 266attach esm at pci 267file dev/pci/esm.c esm 268 269# S3 SonicVibes (S3 617) 270device sv { }: audio, auconv, mulaw, midibus 271attach sv at pci 272file dev/pci/sv.c sv 273 274attach opl at sv with opl_sv 275file dev/pci/opl_sv.c opl_sv 276 277# C-Media CMI8x38 Audio Chip 278device cmpci { }: audio, auconv, mulaw 279attach cmpci at pci 280file dev/pci/cmpci.c cmpci 281 282# SMC EPIC/100 Fast Ethernet on PCI 283attach epic at pci with epic_pci 284file dev/pci/if_epic_pci.c epic_pci 285 286# PCI "universal" communication device driver, for PCI com, lpt, etc. ports 287# (see documentation in the driver for what, exactly, should be supported) 288device puc { port = -1 } 289attach puc at pci 290file dev/pci/puc.c puc 291file dev/pci/pucdata.c puc 292 293attach com at puc with com_puc 294file dev/pci/com_puc.c com_puc 295 296# Console device support for puc drivers 297defopt opt_puccn.h PUCCN 298file dev/pci/puccn.c puccn 299 300# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 301# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 302# XXX (when the conf/files and files.isa bogons are fixed, this can 303# XXX be fixed as well.) 304 305# attach lpt at puc with lpt_puc 306# file dev/pci/lpt_puc.c lpt_puc 307 308# UHCI USB controller 309attach uhci at pci with uhci_pci 310file dev/pci/uhci_pci.c uhci_pci 311 312# OHCI USB controller 313attach ohci at pci with ohci_pci 314file dev/pci/ohci_pci.c ohci_pci 315 316# EHCI USB controller 317attach ehci at pci with ehci_pci 318file dev/pci/ehci_pci.c ehci_pci 319 320# OHCI IEEE 1394 controller 321attach fwohci at pci with fwohci_pci 322file dev/pci/fwohci_pci.c fwohci_pci 323 324# IEEE 1394 TI "Lynx" controller 325attach fwlynx at pci with fwlynx_pci 326file dev/pci/fwlync.c fwlynx_pci 327 328# VIA Rhine/Rhine II Fast Ethernet controllers 329device vr: ether, ifnet, arp, mii, mii_bitbang 330attach vr at pci 331file dev/pci/if_vr.c vr 332 333# SiS 900 Fast Ethernet controllers 334device sip: ether, ifnet, arp, mii 335attach sip at pci 336file dev/pci/if_sip.c sip 337 338# Realtek 8129/8139 Ethernet controllers 339attach rtk at pci with rtk_pci 340file dev/pci/if_rtk_pci.c rtk_pci 341 342# DECchip 21x4x Ethernet controller family, and assorted clones. 343attach tlp at pci with tlp_pci 344defopt opt_tlp.h TLP_MATCH_21040 345 TLP_MATCH_21041 346 TLP_MATCH_21140 347 TLP_MATCH_21142 348 349file dev/pci/if_tlp_pci.c tlp_pci 350 351# Bit3 PCI-VME mod. 617 352device btvmei: vmebus 353attach btvmei at pci 354file dev/pci/btvmei.c btvmei 355#file dev/pci/btvmei_dma.c btvmei 356#file dev/pci/btvmei_cntlrdma.c btvmei 357 358# Alteon ACEnic Gigabit Ethernet controller 359device ti: ether, ifnet, arp 360attach ti at pci 361file dev/pci/if_ti.c ti 362 363# Adaptec AIC-6915 Ethernet interface 364attach sf at pci with sf_pci 365file dev/pci/if_sf_pci.c sf_pci 366 367# YENTA PCI-Cardbus bridge 368#device cbb: cbbus, pcmciabus 369device cbb: pcmciaslot 370attach cbb at pci with cbb_pci 371file dev/pci/pccbb.c cbb 372 373# Tundra Universe PCI-VME adapter 374define univ_pci 375file dev/pci/universe_pci.c univ_pci 376 377# Bit3 PCI-VME mod. 2706 378device btvmeii: vmebus, univ_pci 379attach btvmeii at pci 380file dev/pci/btvmeii.c btvmeii 381 382# VT86C686A power management 383device viapm {} 384attach viapm at pci 385file dev/pci/viapm.c viapm 386 387# hardware monitoring part of viapm 388device viaenv: sysmon_envsys 389attach viaenv at viapm 390file dev/pci/viaenv.c viaenv needs-flag 391 392# Hi/fn 7751 393device hifn {} 394attach hifn at pci 395file dev/pci/hifn7751.c hifn 396 397# Aironet PC4500/PC4800 398attach an at pci with an_pci 399file dev/pci/if_an_pci.c an_pci 400 401 402# ISDN devices 403attach isic at pci with pci_isic 404file dev/pci/pci_isic.c pci_isic 405 406defopt opt_isicpci.h ISICPCI_ELSA_QS1PCI ISICPCI_AVM_A1 407 408file dev/pci/i4b_elsa_qs1p.c pci_isic 409file dev/pci/i4b_avm_fritz_pci.c pci_isic 410 411