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