1# $OpenBSD: files.pci,v 1.149 2003/08/19 03:36:21 mickey Exp $ 2# $NetBSD: files.pci,v 1.20 1996/09/24 17:47:15 christos Exp $ 3# 4# Config file and device description for machine-independent PCI code. 5# Included by ports that need it. Requires that the SCSI files be 6# defined first. 7 8device pci {[dev = -1], [function = -1]} 9attach pci at pcibus 10file dev/pci/pci.c pci needs-flag 11file dev/pci/pci_map.c pci 12file dev/pci/pci_quirks.c pci 13file dev/pci/pci_subr.c pci 14 15# Generic VGA 16attach vga at pci with vga_pci 17file dev/pci/vga_pci.c vga_pci 18 19device tga: wsemuldisplaydev, rasops8, rasops32 20attach tga at pci 21file dev/pci/tga.c tga needs-flag 22file dev/pci/tga_conf.c tga 23file dev/ic/bt463.c tga 24file dev/ic/bt485.c tga 25file dev/ic/ibm561.c tga 26 27# Cypress 82c693 hyperCache(tm) Stand-Alone PCI Peripheral Controller 28# with USB. This is a combo chip: 29# 30# PCI-ISA bridge 31# PCI IDE controller 32# OHCI USB controller 33# 34# There are some common subroutines that each function needs. 35define cy82c693 36file dev/pci/cy82c693.c cy82c693 37 38# Adaptec 3940, 2940, and aic78[5678]0 SCSI controllers 39# device declaration in sys/conf/files 40attach ahc at pci with ahc_pci 41file dev/pci/ahc_pci.c ahc_pci 42 43# DPT EATA SCSI controllers 44attach dpt at pci with dpt_pci 45file dev/pci/dpt_pci.c dpt_pci 46 47# AdvanSys 1200A, 1200B, and ULTRA SCSI controllers 48# device declaration in sys/conf/files 49attach adv at pci with adv_pci 50file dev/pci/adv_pci.c adv_pci 51file dev/ic/advlib.c adv_pci 52file dev/ic/advmcode.c adv_pci 53 54# AdvanSys ULTRA WIDE SCSI controllers 55# device declaration in sys/conf/files 56attach adw at pci with adw_pci 57file dev/pci/adw_pci.c adw_pci 58file dev/ic/adwlib.c adw_pci 59file dev/microcode/adw/adwmcode.c adw_pci 60 61# BusLogic BT-9xx PCI family 62attach bha at pci with bha_pci 63file dev/pci/bha_pci.c bha_pci 64 65# 3ware 5x000/6x000 RAID controllers 66attach twe at pci with twe_pci 67file dev/pci/twe_pci.c twe_pci 68 69# AMI MegaRAID Express x00/Elite 1500/Express 1x00 RAID Controllers 70attach ami at pci with ami_pci 71file dev/pci/ami_pci.c ami_pci 72 73# I2O 74attach iop at pci with iop_pci 75file dev/pci/iop_pci.c iop_pci 76 77# Ensoniq AudioPCI S5016, 1371 78device eap: audio, auconv, mulaw, ac97 79attach eap at pci 80file dev/pci/eap.c eap 81 82# ESS Solo-1 PCI AudioDrive 83device eso { }: audio, auconv, mulaw, midibus 84attach eso at pci 85file dev/pci/eso.c eso 86 87attach opl at eso with opl_eso 88file dev/pci/opl_eso.c opl_eso 89 90# Intel 810/820/440MX ICH audio with AC'97 91device auich: audio, auconv, mulaw, ac97 92attach auich at pci 93file dev/pci/auich.c auich 94 95# Creative Labs EMU10k1 (SBLive! series and PCI512) 96device emu: audio, auconv, mulaw, ac97 97attach emu at pci 98file dev/pci/emuxki.c emu 99 100# Trident 4DWAVE based PCI audio (including SiS 7018, ALi M5451) 101device autri: audio, auconv, mulaw, ac97, midibus 102attach autri at pci 103file dev/pci/autri.c autri 104 105# CS4280 CrystalClear Audio 106device clcs: audio, auconv, mulaw, ac97 107attach clcs at pci 108file dev/pci/cs4280.c clcs 109 110# CS4281 CrystalClear Audio 111device clct: audio, auconv, mulaw, ac97 112attach clct at pci 113file dev/pci/cs4281.c clct 114 115# ESS Maestro 116device maestro: audio, auconv, mulaw, ac97 117attach maestro at pci 118file dev/pci/maestro.c maestro 119 120# ESS Maestro3 121device esa: audio, auconv, mulaw, ac97 122attach esa at pci 123file dev/pci/esa.c esa 124 125# Yamaha YMF Audio 126device yds { }: audio, auconv, mulaw, ac97 127attach yds at pci 128file dev/pci/yds.c yds 129 130attach opl at yds with opl_yds 131file dev/pci/opl_yds.c opl_yds 132 133# Forte Media FM801 134device fms: audio, auconv, mulaw, ac97, midibus, tea5757, radiobus 135attach fms at pci 136file dev/pci/fms.c fms 137file dev/pci/fmsradio.c fms & radio 138 139# VIA VT82C686A AC'97 Audio 140device auvia: audio, auconv, mulaw, ac97 141attach auvia at pci 142file dev/pci/auvia.c auvia 143 144# ICP Vortex GDT PCI RAID controllers 145# device declaration in sys/conf/files 146attach gdt at pci with gdt_pci 147file dev/pci/gdt_pci.c gdt_pci 148 149# Adaptec FSA (file system accelerators) RAID adapters 150device aac: scsi 151attach aac at pci with aac_pci 152file dev/pci/aac_pci.c aac_pci 153file dev/ic/aac.c aac 154 155# Compaq Array Controllers 156attach cac at pci with cac_pci 157file dev/pci/cac_pci.c cac_pci 158 159# Qlogic ISP 10x0 (PCI) family 160# device declaration in sys/conf/files 161attach isp at pci with isp_pci 162file dev/pci/isp_pci.c isp_pci 163 164# Ethernet driver for DC21040-based boards 165device de: ether, ifnet, ifmedia 166attach de at pci 167file dev/pci/if_de.c de 168 169# ENI ATM driver 170device en: atm, ifnet 171attach en at pci with en_pci 172file dev/pci/if_en_pci.c en 173file dev/ic/midway.c en 174 175# 3Com 3c590 and 3c595 Ethernet controllers 176# device declaration in sys/conf/files 177attach ep at pci with ep_pci 178file dev/pci/if_ep_pci.c ep_pci 179 180# Digital DEFPA PCI FDDI Controller 181device fpa: pdq, fddi, ifnet 182attach fpa at pci 183file dev/pci/if_fpa.c fpa 184 185# AMD am7990 (LANCE) -based Ethernet controllers 186# device declaration in sys/conf/files 187attach le at pci with le_pci 188file dev/pci/if_le_pci.c le_pci 189 190# NCR 53c8xx SCSI chips 191device ncr: scsi 192attach ncr at pci 193file dev/pci/ncr.c ncr 194 195# common code for siop/esiop pci front end 196define siop_pci_common 197file dev/pci/siop_pci_common.c siop_pci_common 198 199# Symbios 53c8xx SCSI chips 200# device declaration in sys/conf/files 201attach siop at pci with siop_pci: siop_pci_common 202file dev/pci/siop_pci.c siop_pci 203 204# NeoMagic 256AV and 256ZX 205device neo: audio, auconv, mulaw, ac97 206attach neo at pci 207file dev/pci/neo.c neo 208 209# PCI IDE controllers 210device pciide {[channel = -1]}: cy82c693, wdc_base, ata, atapi 211attach pciide at pci 212file dev/pci/pciide.c pciide 213 214# PCI-PCI bridge chips 215device ppb: pcibus 216attach ppb at pci 217file dev/pci/ppb.c ppb 218 219# Cyclades Cyclom-8/16/32 220attach cy at pci with cy_pci 221file dev/pci/cy_pci.c cy_pci 222 223# Lan Media Corporation T1/HSSI/DS3 adapter 224device lmc: ifnet, sppp, ifmedia 225attach lmc at pci 226file dev/pci/if_lmc.c lmc 227file dev/pci/if_lmc_common.c lmc 228file dev/pci/if_lmc_media.c lmc 229file dev/pci/if_lmc_obsd.c lmc 230 231# Myson Century MTD800/MTD803/MTD891 232attach mtd at pci with mtd_pci 233file dev/pci/if_mtd_pci.c mtd_pci 234 235# RealTek 8129/8139 236attach rl at pci with rl_pci 237file dev/pci/if_rl_pci.c rl_pci 238 239# Macronix 240device mx: ether, ifnet, ifmedia 241attach mx at pci 242file dev/pci/if_mx.c mx 243 244# Via Rhine 245device vr: ether, ifnet, mii, ifmedia 246attach vr at pci 247file dev/pci/if_vr.c vr 248 249# Texas Instruments ThunderLAN 250device tl: ether, ifnet, mii, ifmedia 251attach tl at pci 252file dev/pci/if_tl.c tl 253 254# 3Com 3c990 255device txp: ether, ifnet, ifmedia 256attach txp at pci 257file dev/pci/if_txp.c txp 258 259# S3 SonicVibes (S3 617) 260device sv: audio, auconv, mulaw 261attach sv at pci 262file dev/pci/sv.c sv 263 264# Brooktree Bt848 video capture 265device bktr: pcibus, radiobus 266attach bktr at pci 267file dev/pci/bktr/bktr_audio.c bktr needs-count 268file dev/pci/bktr/bktr_card.c bktr 269file dev/pci/bktr/bktr_core.c bktr 270file dev/pci/bktr/bktr_os.c bktr 271file dev/pci/bktr/bktr_tuner.c bktr 272 273# 3C90x 274attach xl at pci with xl_pci 275file dev/pci/if_xl_pci.c xl_pci 276 277# Intel EtherExpress PRO 10/100B 278attach fxp at pci with fxp_pci 279file dev/pci/if_fxp_pci.c fxp_pci 280 281# Intel Pro/1000 282device em: ether, ifnet, ifmedia 283attach em at pci 284file dev/pci/if_em.c em 285file dev/pci/if_em_hw.c em 286 287# DEC/Intel 21143 and "tulip" clone ethernet 288attach dc at pci with dc_pci 289file dev/pci/if_dc_pci.c dc_pci 290 291# SMC EPIC, 83c170 292device tx: ether, ifnet, mii, ifmedia 293attach tx at pci 294file dev/pci/if_tx.c tx 295 296# Alteon Tigon I & II 297device ti: ether, ifnet, ifmedia 298attach ti at pci 299file dev/pci/if_ti.c ti 300 301# NE2000-compatible PCI Ethernet cards 302attach ne at pci with ne_pci: rtl80x9 303file dev/pci/if_ne_pci.c ne_pci 304 305# Sun GEM ethernet 306attach gem at pci with gem_pci 307file dev/pci/if_gem_pci.c gem_pci 308 309# Hi/fn 6500 310device lofn: crypto 311attach lofn at pci 312file dev/pci/lofn.c lofn 313 314# Hi/fn 7751/7811/7951 315device hifn: crypto 316attach hifn at pci 317file dev/pci/hifn7751.c hifn 318 319# Hi/fn 7814/7851/7854 320device nofn: crypto 321attach nofn at pci 322file dev/pci/nofn.c nofn 323 324# Bluesteelnet (Broadcom) 5501/5601 325device ubsec: crypto 326attach ubsec at pci 327file dev/pci/ubsec.c ubsec 328 329# Netoctave NSP2000 330device noct: crypto 331attach noct at pci 332file dev/pci/noct.c noct 333 334# Pijnenburg PCC-ISES 335device ises: crypto 336attach ises at pci 337file dev/pci/ises.c ises 338 339# Safenet SafeXcel 1141 340device safe: crypto 341attach safe at pci 342file dev/pci/safe.c safe 343 344# Winbond W89C840F ethernet 345device wb: ether, ifnet, mii, ifmedia, mii_phy 346attach wb at pci 347file dev/pci/if_wb.c wb 348 349# Adaptec AIC-6915 "Starfire" ethernet 350device sf: ether, ifnet, mii, ifmedia 351attach sf at pci 352file dev/pci/if_sf.c sf 353 354# SiS 900/7016 ethernet 355device sis: ether, ifnet, mii, ifmedia 356attach sis at pci 357file dev/pci/if_sis.c sis 358 359# Sundance ST201 ethernet 360device ste: ether, ifnet, mii, ifmedia 361attach ste at pci 362file dev/pci/if_ste.c ste 363 364# Industrial Computer Source WDT-50x 365device wdt: pcibus 366attach wdt at pci 367file dev/pci/wdt.c wdt needs-flag 368 369# UHCI USB controller 370attach uhci at pci with uhci_pci 371file dev/pci/uhci_pci.c uhci 372 373# OHCI USB controller 374attach ohci at pci with ohci_pci 375file dev/pci/ohci_pci.c ohci 376 377# YENTA PCI-CardBus bridge 378#device cbb: cbbus, pcmciabus 379device cbb: pcmciaslot 380attach cbb at pci with cbb_pci 381file dev/pci/pccbb.c cbb 382 383# SysKonnect 984x gigabit ethernet 384device skc {} 385attach skc at pci 386device sk: ether, ifnet, mii, ifmedia 387attach sk at skc 388file dev/pci/if_sk.c skc | sk 389 390# PCI "universal" communication device driver, for PCI com, lpt, etc. ports 391# (see documentation in the driver for what, exactly, should be supported) 392device puc { port = -1 } 393attach puc at pci 394file dev/pci/puc.c puc 395file dev/pci/pucdata.c puc 396 397# WaveLAN/PrismII card behind a PLX 805x dumb bridge 398# device declaration in sys/conf/files 399attach wi at pci with wi_pci 400file dev/pci/if_wi_pci.c wi_pci 401 402# Aironet 4500/4800 802.11 DS WLAN 403# device declaration in sys/conf/files 404attach an at pci with an_pci 405file dev/pci/if_an_pci.c an_pci 406 407# C-Media CMI8x38 Audio Chip 408device cmpci: audio, auconv, mulaw 409attach cmpci at pci 410file dev/pci/cmpci.c cmpci 411 412# Initio ULTRA WIDE/ULTRA2 WIDE SCSI Controllers 413attach iha at pci with iha_pci 414file dev/pci/iha_pci.c iha_pci 415 416# Tekram TRM-S1040 SCSI Cards (DC395U/UW/F,DC315/U) 417attach trm at pci with trm_pci 418file dev/pci/trm_pci.c trm_pci 419 420# AMD Am53c974 PCscsi-PCI SCSI controllers 421device pcscp: scsi, ncr53c9x 422attach pcscp at pci 423file dev/pci/pcscp.c pcscp 424 425# Gemtek/Guillemot PCI Radio Card 426device gtp: tea5757, radiobus 427attach gtp at pci 428file dev/pci/gtp.c gtp 429 430# National Semiconductor DP83820/DP83821 based GigE 431device nge: ether, ifnet, mii, ifmedia, mii_phy 432attach nge at pci 433file dev/pci/if_nge.c nge 434 435# Cyclades-Z series of intelligent multi-port serial adapters 436device cz 437attach cz at pci 438file dev/pci/cz.c cz needs-flag 439 440# Level-1 LXT1001 Gigabit MAC 441device lge: ether, ifnet, mii, ifmedia, mii_phy 442attach lge at pci 443file dev/pci/if_lge.c lge 444 445# Broadcom BCM570x gigabit ethernet 446device bge: ether, ifnet, mii, ifmedia, mii_phy 447attach bge at pci 448file dev/pci/if_bge.c bge 449 450# Sundance Tech./Tamarack TC9021 Gigabit Ethernet 451device stge: ether, ifnet, mii, ifmedia, mii_phy, mii_bitbang 452attach stge at pci 453file dev/pci/if_stge.c stge 454 455# AMD 768MPX power management controller 456device amdpm {} 457attach amdpm at pci 458file dev/pci/amdpm.c amdpm 459 460# VIA VT82C686A hardware monitor 461device viaenv 462attach viaenv at pci 463file dev/pci/viaenv.c viaenv 464 465# OHCI IEEE 1394 controller 466attach fwohci at pci with fwohci_pci 467file dev/pci/fwohci_pci.c fwohci_pci 468 469# IEEE 1394 TI "Lynx" controller 470attach fwlynx at pci with fwlynx_pci 471file dev/pci/fwlynx_pci.c fwlynx_pci 472