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