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