files.pci revision 1.114
1# $NetBSD: files.pci,v 1.114 2001/01/05 13:09:17 martin 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# S3 SonicVibes (S3 617) 260device sv { }: audio, auconv, mulaw, midibus 261attach sv at pci 262file dev/pci/sv.c sv 263 264attach opl at sv with opl_sv 265file dev/pci/opl_sv.c opl_sv 266 267# C-Media CMI8x38 Audio Chip 268device cmpci { }: audio, auconv, mulaw 269attach cmpci at pci 270file dev/pci/cmpci.c cmpci 271 272# SMC EPIC/100 Fast Ethernet on PCI 273attach epic at pci with epic_pci 274file dev/pci/if_epic_pci.c epic_pci 275 276# PCI "universal" communication device driver, for PCI com, lpt, etc. ports 277# (see documentation in the driver for what, exactly, should be supported) 278device puc { port = -1 } 279attach puc at pci 280file dev/pci/puc.c puc 281file dev/pci/pucdata.c puc 282 283attach com at puc with com_puc 284file dev/pci/com_puc.c com_puc 285 286# Console device support for puc drivers 287defopt opt_puccn.h PUCCN 288file dev/pci/puccn.c puccn 289 290# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 291# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 292# XXX (when the conf/files and files.isa bogons are fixed, this can 293# XXX be fixed as well.) 294 295# attach lpt at puc with lpt_puc 296# file dev/pci/lpt_puc.c lpt_puc 297 298# UHCI USB controller 299attach uhci at pci with uhci_pci 300file dev/pci/uhci_pci.c uhci_pci 301 302# OHCI USB controller 303attach ohci at pci with ohci_pci 304file dev/pci/ohci_pci.c ohci_pci 305 306# EHCI USB controller 307attach ehci at pci with ehci_pci 308file dev/pci/ehci_pci.c ehci_pci 309 310# OHCI IEEE 1394 controller 311attach fwohci at pci with fwohci_pci 312file dev/pci/fwohci_pci.c fwohci_pci 313 314# IEEE 1394 TI "Lynx" controller 315attach fwlynx at pci with fwlynx_pci 316file dev/pci/fwlync.c fwlynx_pci 317 318# VIA Rhine/Rhine II Fast Ethernet controllers 319device vr: ether, ifnet, arp, mii, mii_bitbang 320attach vr at pci 321file dev/pci/if_vr.c vr 322 323# SiS 900 Fast Ethernet controllers 324device sip: ether, ifnet, arp, mii 325attach sip at pci 326file dev/pci/if_sip.c sip 327 328# Realtek 8129/8139 Ethernet controllers 329attach rtk at pci with rtk_pci 330file dev/pci/if_rtk_pci.c rtk_pci 331 332# DECchip 21x4x Ethernet controller family, and assorted clones. 333attach tlp at pci with tlp_pci 334defopt opt_tlp.h TLP_MATCH_21040 335 TLP_MATCH_21041 336 TLP_MATCH_21140 337 TLP_MATCH_21142 338 339file dev/pci/if_tlp_pci.c tlp_pci 340 341# Bit3 PCI-VME mod. 617 342device btvmei: vmebus 343attach btvmei at pci 344file dev/pci/btvmei.c btvmei 345#file dev/pci/btvmei_dma.c btvmei 346#file dev/pci/btvmei_cntlrdma.c btvmei 347 348# Alteon ACEnic Gigabit Ethernet controller 349device ti: ether, ifnet, arp 350attach ti at pci 351file dev/pci/if_ti.c ti 352 353# Adaptec AIC-6915 Ethernet interface 354attach sf at pci with sf_pci 355file dev/pci/if_sf_pci.c sf_pci 356 357# YENTA PCI-Cardbus bridge 358#device cbb: cbbus, pcmciabus 359device cbb: pcmciaslot 360attach cbb at pci with cbb_pci 361file dev/pci/pccbb.c cbb 362 363# Tundra Universe PCI-VME adapter 364define univ_pci 365file dev/pci/universe_pci.c univ_pci 366 367# Bit3 PCI-VME mod. 2706 368device btvmeii: vmebus, univ_pci 369attach btvmeii at pci 370file dev/pci/btvmeii.c btvmeii 371 372# VT86C686A power management 373device viapm {} 374attach viapm at pci 375file dev/pci/viapm.c viapm 376 377# hardware monitoring part of viapm 378device viaenv: sysmon_envsys 379attach viaenv at viapm 380file dev/pci/viaenv.c viaenv needs-flag 381 382# Hi/fn 7751 383device hifn {} 384attach hifn at pci 385file dev/pci/hifn7751.c hifn 386 387# Aironet PC4500/PC4800 388attach an at pci with an_pci 389file dev/pci/if_an_pci.c an_pci 390 391 392# ISDN devices 393attach isic at pci with pci_isic 394file dev/pci/pci_isic.c pci_isic 395 396defopt opt_isicpci.h ISICPCI_ELSA_QS1PCI ISICPCI_AVM_A1 397 398file dev/pci/i4b_elsa_qs1p.c pci_isic 399file dev/pci/i4b_avm_fritz_pci.c pci_isic 400 401