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