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