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