files.pci revision 1.108
1# $NetBSD: files.pci,v 1.108 2000/11/08 19:46:27 ad 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# I2O adapters 41attach iop at pci with iop_pci 42file dev/pci/iop_pci.c iop_pci 43 44# 3ware RAID controllers 45device twe {unit = -1} 46attach twe at pci 47file dev/pci/twe.c twe 48 49defopt opt_twe.h TWE_MAX_QUEUECNT TWE_MAX_PU_QUEUECNT 50 51attach lsu at twe with lsu_twe 52file dev/pci/lsu_twe.c lsu_twe 53 54# Compaq RAID controllers 55attach cac at pci with cac_pci 56file dev/pci/cac_pci.c cac_pci 57 58# DPT EATA SCSI controllers 59attach dpt at pci with dpt_pci 60file dev/pci/dpt_pci.c dpt_pci 61 62# AdvanSys 1200A, 1200B, and ULTRA SCSI controllers 63# device declaration in sys/conf/files 64attach adv at pci with adv_pci 65file dev/pci/adv_pci.c adv_pci 66file dev/ic/advlib.c adv_pci 67file dev/ic/advmcode.c adv_pci 68 69# AdvanSys ULTRA WIDE SCSI controllers 70# device declaration in sys/conf/files 71attach adw at pci with adw_pci 72file dev/pci/adw_pci.c adw_pci 73file dev/ic/adwlib.c adw_pci 74file dev/ic/adwmcode.c adw_pci 75 76# AMD Am53c974 PCscsi-PCI SCSI controllers 77device pcscp: scsi, ncr53c9x 78attach pcscp at pci 79file dev/pci/pcscp.c pcscp 80 81# BusLogic BT-9xx PCI family 82# device declaration in sys/conf/files 83attach bha at pci with bha_pci 84file dev/pci/bha_pci.c bha_pci 85 86# Qlogic ISP 10x0 (PCI) family 87# device declaration in sys/conf/files 88attach isp at pci with isp_pci 89file dev/pci/isp_pci.c isp_pci 90 91# Ethernet driver for DC21040-based boards 92device de: ether, ifnet, arp 93attach de at pci 94file dev/pci/if_de.c de 95 96# Efficient Networks, Inc. ATM interface 97# device declaration in sys/conf/files 98attach en at pci with en_pci 99file dev/pci/if_en_pci.c en_pci 100 101# 3Com 3c590 and 3c595 Ethernet controllers 102# device declaration in sys/conf/files 103attach ep at pci with ep_pci 104file dev/pci/if_ep_pci.c ep_pci 105 106# 3Com 3c90x[B] Ethernet controllers 107# device declaration in sys/conf/files 108attach ex at pci with ex_pci 109file dev/pci/if_ex_pci.c ex_pci 110 111# Digital DEFPA PCI FDDI Controller 112device fpa: pdq, fddi, ifnet, arp 113attach fpa at pci 114file dev/pci/if_fpa.c fpa 115 116# AMD am7990 (LANCE) -based Ethernet controllers 117# device declaration in sys/conf/files 118attach le at pci with le_pci: le32 119file dev/pci/if_le_pci.c le_pci 120 121# NCR 53c8xx SCSI chips 122device ncr: scsi 123attach ncr at pci 124file dev/pci/ncr.c ncr 125 126# common code for siop/esiop pci front end 127define siop_pci_common 128file dev/pci/siop_pci_common.c siop_pci_common 129 130# Symbios 53c8xx SCSI chips 131# device declaration in sys/conf/files 132attach siop at pci with siop_pci: siop_pci_common 133file dev/pci/siop_pci.c siop_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# Forte Media FM801 218device fms { }: audio, auconv, mulaw, ac97, midibus 219attach fms at pci 220file dev/pci/fms.c fms 221 222attach opl at fms with opl_fms 223file dev/pci/opl_fms.c opl_fms 224 225attach mpu at fms with mpu_fms 226file dev/pci/mpu_fms.c mpu_fms 227 228# Ensoniq AudioPCI S5016 229device eap: audio, auconv, mulaw, ac97, midibus 230attach eap at pci 231file dev/pci/eap.c eap 232 233# VIA VT82C686A AC'97 Audio 234device auvia: audio, auconv, mulaw, ac97 235attach auvia at pci 236file dev/pci/auvia.c auvia 237 238# NeoMagic 256 AC'97 Audio 239device neo: audio, auconv, mulaw, ac97 240attach neo at pci 241file dev/pci/neo.c neo 242 243# ESS Solo-1 PCI AudioDrive 244device eso { }: audio, auconv, mulaw, midibus 245attach eso at pci 246file dev/pci/eso.c eso 247 248attach opl at eso with opl_eso 249file dev/pci/opl_eso.c opl_eso 250 251attach mpu at eso with mpu_eso 252file dev/pci/mpu_eso.c mpu_eso 253 254# S3 SonicVibes (S3 617) 255device sv { }: audio, auconv, mulaw, midibus 256attach sv at pci 257file dev/pci/sv.c sv 258 259attach opl at sv with opl_sv 260file dev/pci/opl_sv.c opl_sv 261 262# C-Media CMI8x38 Audio Chip 263device cmpci { }: audio, auconv, mulaw 264attach cmpci at pci 265file dev/pci/cmpci.c cmpci 266 267# SMC EPIC/100 Fast Ethernet on PCI 268attach epic at pci with epic_pci 269file dev/pci/if_epic_pci.c epic_pci 270 271# PCI "universal" communication device driver, for PCI com, lpt, etc. ports 272# (see documentation in the driver for what, exactly, should be supported) 273device puc { port = -1 } 274attach puc at pci 275file dev/pci/puc.c puc 276file dev/pci/pucdata.c puc 277 278attach com at puc with com_puc 279file dev/pci/com_puc.c com_puc 280 281# Console device support for puc drivers 282defopt opt_puccn.h PUCCN 283file dev/pci/puccn.c puccn 284 285# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 286# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 287# XXX (when the conf/files and files.isa bogons are fixed, this can 288# XXX be fixed as well.) 289 290# attach lpt at puc with lpt_puc 291# file dev/pci/lpt_puc.c lpt_puc 292 293# UHCI USB controller 294attach uhci at pci with uhci_pci 295file dev/pci/uhci_pci.c uhci_pci 296 297# OHCI USB controller 298attach ohci at pci with ohci_pci 299file dev/pci/ohci_pci.c ohci_pci 300 301# OHCI IEEE 1394 controller 302attach fwohci at pci with fwohci_pci 303file dev/pci/fwohci_pci.c fwohci_pci 304 305# VIA Rhine/Rhine II Fast Ethernet controllers 306device vr: ether, ifnet, arp, mii, mii_bitbang 307attach vr at pci 308file dev/pci/if_vr.c vr 309 310# SiS 900 Fast Ethernet controllers 311device sip: ether, ifnet, arp, mii 312attach sip at pci 313file dev/pci/if_sip.c sip 314 315# Realtek 8129/8139 Ethernet controllers 316attach rtk at pci with rtk_pci 317file dev/pci/if_rtk_pci.c rtk_pci 318 319# DECchip 21x4x Ethernet controller family, and assorted clones. 320attach tlp at pci with tlp_pci 321defopt opt_tlp.h TLP_MATCH_21040 322 TLP_MATCH_21041 323 TLP_MATCH_21140 324 TLP_MATCH_21142 325 326file dev/pci/if_tlp_pci.c tlp_pci 327 328# Bit3 PCI-VME mod. 617 329device btvmei: vmebus 330attach btvmei at pci 331file dev/pci/btvmei.c btvmei 332#file dev/pci/btvmei_dma.c btvmei 333#file dev/pci/btvmei_cntlrdma.c btvmei 334 335# Alteon ACEnic Gigabit Ethernet controller 336device ti: ether, ifnet, arp 337attach ti at pci 338file dev/pci/if_ti.c ti 339 340# Adaptec AIC-6915 Ethernet interface 341attach sf at pci with sf_pci 342file dev/pci/if_sf_pci.c sf_pci 343 344# YENTA PCI-Cardbus bridge 345#device cbb: cbbus, pcmciabus 346device cbb: pcmciaslot 347attach cbb at pci with cbb_pci 348file dev/pci/pccbb.c cbb 349 350# Tundra Universe PCI-VME adapter 351define univ_pci 352file dev/pci/universe_pci.c univ_pci 353 354# Bit3 PCI-VME mod. 2706 355device btvmeii: vmebus, univ_pci 356attach btvmeii at pci 357file dev/pci/btvmeii.c btvmeii 358 359# VT86C686A power management 360device viapm {} 361attach viapm at pci 362file dev/pci/viapm.c viapm 363 364# hardware monitoring part of viapm 365device viaenv: sysmon_envsys 366attach viaenv at viapm 367file dev/pci/viaenv.c viaenv needs-flag 368 369# Hi/fn 7751 370device hifn {} 371attach hifn at pci 372file dev/pci/hifn7751.c hifn 373