files.pci revision 1.391
1# $NetBSD: files.pci,v 1.391 2017/09/05 08:01:43 skrll 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 7defflag opt_pci.h PCIVERBOSE PCI_CONFIG_DUMP PCI_NETBSD_CONFIGURE 8defparam opt_pci.h PCI_NETBSD_ENABLE_IDE 9 10defflag opt_bktr.h BKTR_430_FX_MODE BKTR_GPIO_ACCESS BKTR_NO_MSP_RESET 11 BKTR_REVERSE_MUTE BKTR_SIS_VIA_MODE BKTR_USE_PLL 12defparam opt_bktr.h BKTR_OVERRIDE_CARD BKTR_OVERRIDE_TUNER BKTR_OVERRIDE_DBX 13 BKTR_OVERRIDE_MSP BKTR_SYSTEM_DEFAULT 14 15defflag opt_pciide.h PCIIDE_CMD064x_DISABLE PCIIDE_AMD756_ENABLEDMA 16 PCIIDE_CMD0646U_ENABLEUDMA PCIIDE_I31244_DISABLEDMA 17 18device pci {[dev = -1], [function = -1]} 19attach pci at pcibus 20file dev/pci/pci.c pci needs-flag 21file dev/pci/pci_map.c pci 22file dev/pci/pci_quirks.c pci 23file dev/pci/pci_subr.c pci 24file dev/pci/pci_stub.c pci 25file dev/pci/pci_usrreq.c pci 26file dev/pci/pciconf.c pci & pci_netbsd_configure 27 28file dev/pci/pcibusprint.c pcibus 29 30file dev/pci/pci_verbose.c pci & pciverbose 31 32file dev/pci/wsdisplay_pci.c wsdisplay & pci 33 34# Cypress 82c693 hyperCache(tm) Stand-Alone PCI Peripheral Controller 35# with USB. This is a combo chip: 36# 37# PCI-ISA bridge 38# PCI IDE controller 39# OHCI USB controller 40# 41# There are some common subroutines that each function needs. 42define cy82c693 43file dev/pci/cy82c693.c cy82c693 44 45# Adaptec 3940, 2940, and aic78[5678]0 SCSI controllers 46# device declaration in sys/conf/files 47attach ahc at pci with ahc_pci: ahc_seeprom, smc93cx6 48file dev/pci/ahc_pci.c ahc_pci 49 50attach ahd at pci with ahd_pci 51file dev/pci/ahd_pci.c ahd_pci 52 53# I2O adapters 54attach iop at pci with iop_pci 55file dev/pci/iop_pci.c iop_pci 56 57# 3ware RAID controllers 58device twe {unit = -1} 59attach twe at pci 60file dev/pci/twe.c twe 61 62attach ld at twe with ld_twe 63file dev/pci/ld_twe.c ld_twe 64 65device twa {unit = -1} 66attach twa at pci 67file dev/pci/twa.c twa 68 69attach ld at twa with ld_twa 70file dev/pci/ld_twa.c ld_twa 71 72# AMI RAID controllers 73device amr {unit = -1} 74attach amr at pci 75file dev/pci/amr.c amr 76 77attach ld at amr with ld_amr 78file dev/pci/ld_amr.c ld_amr 79 80# Areca SATA RAID Controllers 81device arcmsr: scsi, sysmon_envsys 82attach arcmsr at pci 83file dev/pci/arcmsr.c arcmsr 84 85# Compaq RAID controllers 86attach cac at pci with cac_pci 87file dev/pci/cac_pci.c cac_pci 88 89# Mylex DAC960 RAID controllers 90attach mlx at pci with mlx_pci 91file dev/pci/mlx_pci.c mlx_pci 92 93# Newer Mylex AcceleRAID and eXtremeRAID controllers 94device mly: scsi 95attach mly at pci 96file dev/pci/mly.c mly needs-flag 97 98# Myson-Century Technology MTD803 3-in-1 Fast Ethernet Controller 99attach mtd at pci with mtd_pci 100file dev/pci/if_mtd_pci.c mtd_pci 101 102# ICP-Vortex/Intel RAID controllers 103attach icp at pci with icp_pci 104file dev/pci/icp_pci.c icp_pci 105 106# Adaptec FSA RAID controllers 107attach aac at pci with aac_pci 108file dev/pci/aac_pci.c aac_pci 109 110# DPT EATA SCSI controllers 111attach dpt at pci with dpt_pci 112file dev/pci/dpt_pci.c dpt_pci 113 114# AdvanSys 1200A, 1200B, and ULTRA SCSI controllers 115# device declaration in sys/conf/files 116attach adv at pci with adv_pci 117file dev/pci/adv_pci.c adv_pci 118 119# AdvanSys ULTRA WIDE SCSI controllers 120# device declaration in sys/conf/files 121attach adw at pci with adw_pci 122file dev/pci/adw_pci.c adw_pci 123file dev/ic/adwlib.c adw_pci 124file dev/ic/adwmcode.c adw_pci 125 126# AMD Am53c974 PCscsi-PCI SCSI controllers 127device pcscp: scsi, ncr53c9x 128attach pcscp at pci 129file dev/pci/pcscp.c pcscp 130 131# HP/Compaq Command Interface to Scsi-3 132attach ciss at pci with ciss_pci 133file dev/pci/ciss_pci.c ciss_pci 134 135# BusLogic BT-9xx PCI family 136# device declaration in sys/conf/files 137attach bha at pci with bha_pci 138file dev/pci/bha_pci.c bha_pci 139 140# Qlogic ISP 10x0 (PCI) family 141# device declaration in sys/conf/files 142attach isp at pci with isp_pci 143file dev/pci/isp_pci.c isp_pci 144 145# LSILogic MegaRAID SAS 146# device declaration in sys/conf/files 147attach mfi at pci with mfi_pci 148file dev/pci/mfi_pci.c mfi_pci 149 150# LSILogic Fusion-MPT I/O Processor family 151# device declaration in sys/conf/files 152attach mpt at pci with mpt_pci 153file dev/pci/mpt_pci.c mpt_pci 154 155# LSI Logic Fusion-MPT Message Passing Interface 2.0 156device mpii: scsi 157attach mpii at pci 158file dev/pci/mpii.c mpii 159 160# Ethernet driver for DC21040-based boards 161device de: ether, ifnet, arp 162attach de at pci 163file dev/pci/if_de.c de 164 165# Efficient Networks, Inc. ATM interface 166# device declaration in sys/conf/files 167attach en at pci with en_pci 168file dev/pci/if_en_pci.c en_pci 169 170# 3Com 3c590 and 3c595 Ethernet controllers 171# device declaration in sys/conf/files 172attach ep at pci with ep_pci 173file dev/pci/if_ep_pci.c ep_pci 174 175# 3Com 3c90x[B] Ethernet controllers 176# device declaration in sys/conf/files 177attach ex at pci with ex_pci 178file dev/pci/if_ex_pci.c ex_pci 179 180# Digital DEFPA PCI FDDI Controller 181device fpa: pdq, fddi, ifnet, arp 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: le32 188file dev/pci/if_le_pci.c le_pci 189 190# AMD PCnet-PCI Ethernet controller family 191# Supersedes if_le_pci.c 192device pcn: ether, ifnet, arp, mii 193attach pcn at pci 194file dev/pci/if_pcn.c pcn 195 196# common code for siop/esiop pci front end 197define siop_pci_common 198file dev/pci/siop_pci_common.c siop_pci_common 199 200# Symbios 53c8xx SCSI chips 201# device declaration in sys/conf/files 202attach siop at pci with siop_pci: siop_pci_common 203file dev/pci/siop_pci.c siop_pci 204attach esiop at pci with esiop_pci: siop_pci_common 205file dev/pci/esiop_pci.c esiop_pci 206 207# Initio INIC-940/950 SCSI controllers 208attach iha at pci with iha_pci 209file dev/pci/iha_pci.c iha_pci 210 211# Tekram DC-395U/UW/F and DC-315/U SCSI controllers 212device trm: scsi 213attach trm at pci 214file dev/pci/trm.c trm 215 216# Guillemot Maxi Radio FM 2000 Radio Card 217device gtp: radiodev, tea5757 218attach gtp at pci 219file dev/pci/gtp.c gtp 220 221# MediaForte SoundForte SF64-PCR Radio card 222#device sf4r: radiodev, tea5757 223#attach sf4r at pci 224#file dev/pci/sf64pcr.c sf4r 225 226# PCI IDE controllers 227define pciide_common 228file dev/pci/pciide_common.c pciide_common 229 230device pciide: ata, pciide_common, wdc_common 231attach pciide at pci 232file dev/pci/pciide.c pciide 233 234# AHCI SATA controllers 235attach ahcisata at pci with ahcisata_pci 236file dev/pci/ahcisata_pci.c ahcisata_pci 237 238# Acard IDE controllers 239device acardide: ata, ata_dma, ata_udma, pciide_common, wdc_common 240attach acardide at pci 241file dev/pci/acardide.c acardide 242 243# Acer Lab IDE controllers 244device aceride: ata, ata_dma, ata_udma, pciide_common, wdc_common 245attach aceride at pci 246file dev/pci/aceride.c aceride 247 248# Intel i31244 SATA controller 249device artsata: ata, ata_dma, ata_udma, pciide_common, wdc_common, sata 250attach artsata at pci 251file dev/pci/artsata.c artsata 252 253# CMD tech IDE controllers 254device cmdide: ata, ata_dma, ata_udma, pciide_common, wdc_common 255attach cmdide at pci 256file dev/pci/cmdide.c cmdide 257 258# Cypress IDE controllers 259device cypide: ata, ata_dma, pciide_common, wdc_common, cy82c693 260attach cypide at pci 261file dev/pci/cypide.c cypide 262 263# AMD Geode IDE controllers 264device geodeide: ata, ata_dma, ata_udma, pciide_common, wdc_common 265attach geodeide at pci 266file dev/pci/geodeide.c geodeide 267 268# Triones/HighPoint IDE controllers 269device hptide: ata, ata_dma, ata_udma, pciide_common, wdc_common 270attach hptide at pci 271file dev/pci/hptide.c hptide 272 273# Integrated Technology Express IDE controllers 274device iteide: ata, ata_dma, ata_udma, pciide_common, wdc_common 275attach iteide at pci 276file dev/pci/iteide.c iteide 277 278# Jmicron hybrid IDE/AHCI controllers 279define jmide_hl { } 280device jmide: ata, ata_dma, ata_udma, pciide_common, wdc_common, jmide_hl 281attach jmide at pci 282attach ahcisata at jmide_hl with jmahci 283file dev/pci/jmide.c jmide | jmahci needs-flag 284 285# National Semiconductor IDE controllers 286device nside: ata, ata_dma, ata_udma, pciide_common, wdc_common 287attach nside at pci 288file dev/pci/nside.c nside 289 290# Opti IDE controllers 291device optiide: ata, ata_dma, pciide_common, wdc_common 292attach optiide at pci 293file dev/pci/optiide.c optiide 294 295# Intel IDE controllers 296device piixide: ata, ata_dma, ata_udma, pciide_common, wdc_common 297attach piixide at pci 298file dev/pci/piixide.c piixide 299 300# Promise Serial ATA controllers 301device pdcsata: ata, ata_dma, ata_udma, pciide_common, wdc_common, sata 302attach pdcsata at pci 303file dev/pci/pdcsata.c pdcsata 304 305# Promise IDE controllers 306device pdcide: ata, ata_dma, ata_udma, pciide_common, wdc_common 307attach pdcide at pci 308file dev/pci/pdcide.c pdcide 309 310# ServerWorks IDE controllers 311device rccide: ata, ata_dma, ata_udma, pciide_common, wdc_common 312attach rccide at pci 313file dev/pci/rccide.c rccide 314 315# RDC IDE controllers 316device rdcide: ata, ata_dma, ata_udma, pciide_common, wdc_common 317attach rdcide at pci 318file dev/pci/rdcide.c rdcide 319 320# ServerWorks SATA controllers 321device svwsata: ata, ata_dma, ata_udma, pciide_common, wdc_common, sata 322attach svwsata at pci 323file dev/pci/svwsata.c svwsata 324 325# Silicon Image SATALink controllers 326device satalink: ata, ata_dma, ata_udma, pciide_common, wdc_common, sata 327attach satalink at pci 328file dev/pci/satalink.c satalink 329 330# Intel SCH IDE controllers 331device schide: ata, ata_dma, ata_udma, pciide_common, wdc_common 332attach schide at pci 333file dev/pci/schide.c schide 334 335# SiS IDE controllers 336device siside: ata, ata_dma, ata_udma, pciide_common, wdc_common 337attach siside at pci 338file dev/pci/siside.c siside 339 340# Symphony Labs IDE controllers 341device slide: ata, ata_dma, pciide_common, wdc_common 342attach slide at pci 343file dev/pci/slide.c slide 344 345# ServerWorks IDE controllers 346#device swide: ata, ata_dma, ata_udma, pciide_common, wdc_common 347#attach swide at pci 348#file dev/pci/swide.c swide 349 350# VIA/AMD/Nvidia IDE controllers 351device viaide: ata, ata_dma, ata_udma, pciide_common, wdc_common, sata 352attach viaide at pci 353file dev/pci/viaide.c viaide 354 355# STMicroelectronics STPC IDE controllers 356device stpcide: ata, ata_dma, ata_udma, pciide_common, wdc_common 357attach stpcide at pci 358file dev/pci/stpcide.c stpcide 359 360# ATI IXP IDE controllers 361device ixpide: ata, ata_dma, ata_udma, pciide_common, wdc_common 362attach ixpide at pci 363file dev/pci/ixpide.c ixpide 364 365# Toshiba PICCOLO IDE controllers 366device toshide: ata, ata_dma, pciide_common, wdc_common 367attach toshide at pci 368file dev/pci/toshide.c toshide 369 370# PCI-PCI bridge chips 371device ppb: pcibus 372attach ppb at pci 373file dev/pci/ppb.c ppb 374 375# Cyclades Cyclom-8/16/32 376attach cy at pci with cy_pci 377file dev/pci/cy_pci.c cy_pci 378 379# Cyclades-Z series of intelligent multi-port serial adapters 380device cz 381attach cz at pci 382file dev/pci/cz.c cz needs-flag 383 384# Intel EtherExpress PRO 10/100B 385attach fxp at pci with fxp_pci 386file dev/pci/if_fxp_pci.c fxp_pci 387 388# Sun HME-network 389attach hme at pci with hme_pci 390file dev/pci/if_hme_pci.c hme_pci 391 392# Sun GEM-network 393attach gem at pci with gem_pci 394file dev/pci/if_gem_pci.c gem_pci 395 396# Sun Cassini-network 397device cas: arp, ether, ifnet, mii 398attach cas at pci 399file dev/pci/if_cas.c cas 400 401# JMicron JMC2[56]0 ethernet controllers 402device jme: ether, ifnet, arp, mii 403attach jme at pci 404file dev/pci/if_jme.c jme 405 406# NE2000-compatible PCI Ethernet cards 407defparam opt_ipkdb.h IPKDB_NE_PCISLOT 408defflag opt_ipkdb.h IPKDB_NE_PCI : IPKDB_NE 409attach ne at pci with ne_pci: rtl80x9 410file dev/pci/if_ne_pci.c ne_pci | ipkdb_ne_pci 411 412# Texas Instruments ThunderLAN Chip. 413device tl: ether, ifnet, arp, i2cexec, at24cxx_eeprom, i2c_bitbang, 414 mii, mii_bitbang 415attach tl at pci 416file dev/pci/if_tl.c tl 417 418# SDL Communications N2 PCI Network Interface 419# device declaration in sys/conf/files 420attach ntwoc at pci with ntwoc_pci 421file dev/pci/if_ntwoc_pci.c ntwoc_pci 422 423# Lan Media Corporation T1/HSSI/DS3 driver 424device lmc: ifnet, sppp 425attach lmc at pci 426file dev/pci/if_lmc.c lmc 427 428# Essential Communications HIPPI interface 429# device declaration in sys/conf/files 430attach esh at pci with esh_pci 431file dev/pci/if_esh_pci.c esh_pci 432 433# generic PCI VGA 434defflag opt_vga.h VGA_POST: X86EMU 435attach vga at pci with vga_pci 436file dev/pci/vga_pci.c vga_pci needs-flag 437 438# DEC TGA 439device tga: wsemuldisplaydev, rasops8, rasops32 440attach tga at pci 441file dev/pci/tga.c tga needs-flag 442file dev/pci/tga_conf.c tga 443file dev/ic/bt485.c tga 444file dev/ic/bt463.c tga 445file dev/ic/ibm561.c tga 446 447# HP Visualize 448attach sti at pci with sti_pci 449file dev/pci/sti_pci.c sti_pci needs-flag 450 451# Integraphics Systems IGA168x and CyberPro framebuffers (linear non-VGA mode) 452# device declaration in sys/conf/files 453attach igsfb at pci with igsfb_pci 454file dev/pci/igsfb_pci.c igsfb_pci 455 456# Brooktree Bt848 video capture 457device bktr: radiodev 458attach bktr at pci 459file dev/pci/bktr/bktr_audio.c bktr 460file dev/pci/bktr/bktr_card.c bktr 461file dev/pci/bktr/bktr_core.c bktr 462file dev/pci/bktr/bktr_os.c bktr needs-flag 463file dev/pci/bktr/bktr_tuner.c bktr 464 465# Cirrus Logic CrystalClear PCI Audio CS4280 466device clcs: audiobus, auconv, mulaw, ac97, midibus 467attach clcs at pci 468file dev/pci/cs4280.c clcs 469 470# Cirrus Logic CrystalClear PCI Audio CS4281 471device clct: audiobus, auconv, mulaw, ac97 472attach clct at pci 473file dev/pci/cs4281.c clct 474 475# Shared code for Cirrus Logic CrystalClear PCI Audio CS4280 and CS4281 476file dev/pci/cs428x.c clcs | clct 477 478# Forte Media FM801 479device fms { }: audiobus, auconv, mulaw, ac97, midibus 480attach fms at pci 481file dev/pci/fms.c fms 482 483attach opl at fms with opl_fms 484file dev/pci/opl_fms.c opl_fms 485 486attach mpu at fms with mpu_fms 487file dev/pci/mpu_fms.c mpu_fms 488 489# Ensoniq AudioPCI S5016 490device eap { }: audiobus, auconv, mulaw, ac97, midibus 491attach eap at pci 492file dev/pci/eap.c eap 493 494attach joy at eap with joy_eap 495file dev/pci/joy_eap.c joy_eap needs-flag 496 497# Acer Labs M5455 498device auacer: audiobus, auconv, mulaw, ac97, aurateconv 499attach auacer at pci 500file dev/pci/auacer.c auacer 501 502# Intel ICH AC'97 audio 503device auich: audiobus, auconv, mulaw, ac97, aurateconv 504attach auich at pci 505file dev/pci/auich.c auich 506 507# VIA VT82C686A/VT8233/VT8235 AC'97 Audio 508device auvia: audiobus, auconv, mulaw, ac97, aurateconv 509attach auvia at pci 510file dev/pci/auvia.c auvia 511 512# ATI IXP 200/300/400 series AC'97 Audio 513device auixp: audiobus, auconv, mulaw, ac97, aurateconv 514attach auixp at pci 515file dev/pci/auixp.c auixp 516 517# High Definition Audio 518device azalia: audiobus, auconv, mulaw, ac97, aurateconv 519attach azalia at pci 520file dev/pci/azalia.c azalia 521file dev/pci/azalia_codec.c azalia 522 523# AMD Geode CS5536 Companion Audio 524device gcscaudio: audiobus, auconv, mulaw, ac97, aurateconv 525attach gcscaudio at pci 526file dev/pci/gcscaudio.c gcscaudio 527 528# NeoMagic 256 AC'97 Audio 529device neo: audiobus, auconv, mulaw, ac97 530attach neo at pci 531file dev/pci/neo.c neo 532 533# ESS Allegro-1 / Maestro3 534device esa: audiobus, auconv, mulaw, ac97 535attach esa at pci 536file dev/pci/esa.c esa 537 538# ESS Solo-1 PCI AudioDrive 539device eso { }: audiobus, auconv, mulaw, midibus 540attach eso at pci 541file dev/pci/eso.c eso 542 543attach opl at eso with opl_eso 544file dev/pci/opl_eso.c opl_eso 545 546attach mpu at eso with mpu_eso 547file dev/pci/mpu_eso.c mpu_eso 548 549attach joy at eso with joy_eso 550file dev/pci/joy_eso.c joy_eso 551 552# ESS Maestro-1/2/2e PCI AC97 Audio Accelerator 553device esm: audiobus, auconv, mulaw, ac97 554attach esm at pci 555file dev/pci/esm.c esm 556 557# S3 SonicVibes (S3 617) 558device sv { }: audiobus, auconv, mulaw, midibus 559attach sv at pci 560file dev/pci/sv.c sv 561 562attach opl at sv with opl_sv 563file dev/pci/opl_sv.c opl_sv 564 565# C-Media CMI8x38 Audio Chip 566device cmpci { }: audiobus, auconv, mulaw 567attach cmpci at pci 568file dev/pci/cmpci.c cmpci 569 570attach opl at cmpci with opl_cmpci 571file dev/pci/opl_cmpci.c opl_cmpci 572 573attach mpu at cmpci with mpu_cmpci 574file dev/pci/mpu_cmpci.c mpu_cmpci 575 576# Yamaha YMF724/740/744/754 PCI audio controller 577device yds { }: audiobus, auconv, mulaw, ac97 578attach yds at pci 579file dev/pci/yds.c yds 580 581attach opl at yds with opl_yds 582file dev/pci/opl_yds.c opl_yds 583 584attach mpu at yds with mpu_yds 585file dev/pci/mpu_yds.c mpu_yds 586 587# Creative Labs EMU10k1 (SBLive! series and PCI512) 588device emuxki: audiobus, auconv, mulaw, ac97 589attach emuxki at pci 590file dev/pci/emuxki.c emuxki 591 592# Trident 4DWAVE AC'97 audio (including SiS 7018,ALi M5451) 593device autri: audiobus, auconv, mulaw, ac97, midibus 594attach autri at pci 595file dev/pci/autri.c autri 596 597# SMC EPIC/100 Fast Ethernet on PCI 598attach epic at pci with epic_pci 599file dev/pci/if_epic_pci.c epic_pci 600 601# PCI "universal" communication device driver, for PCI com, lpt, etc. ports 602# (see documentation in the driver for what, exactly, should be supported) 603device puc { port = -1 } 604attach puc at pci 605file dev/pci/puc.c puc 606file dev/pci/pucdata.c puc 607defflag opt_puc.h PUC_CNAUTO 608defparam opt_puc.h PUC_CNBUS 609 610attach com at puc with com_puc 611file dev/pci/com_puc.c com_puc needs-flag 612file dev/pci/cyber.c com_puc 613file dev/pci/puccn.c com_puc 614 615attach lpt at puc with lpt_puc 616file dev/pci/lpt_puc.c lpt_puc & !ppbus 617 618attach atppc at puc with atppc_puc 619file dev/pci/atppc_puc.c atppc_puc 620 621# UHCI USB controller 622attach uhci at pci with uhci_pci 623file dev/pci/uhci_pci.c uhci_pci 624 625# OHCI USB controller 626attach ohci at pci with ohci_pci 627file dev/pci/ohci_pci.c ohci_pci 628 629# EHCI USB controller 630attach ehci at pci with ehci_pci 631file dev/pci/ehci_pci.c ehci_pci 632 633file dev/pci/usb_pci.c ehci_pci | ehci_cardbus 634 635# xHCI USB controller 636attach xhci at pci with xhci_pci 637file dev/pci/xhci_pci.c xhci_pci 638defflag opt_xhci_pci.h XHCI_DISABLE_MSI 639 640# OHCI IEEE 1394 controller 641attach fwohci at pci with fwohci_pci 642file dev/pci/fwohci_pci.c fwohci_pci 643 644# VIA Rhine/Rhine II Fast Ethernet controllers 645device vr: ether, ifnet, arp, mii, mii_bitbang 646attach vr at pci 647file dev/pci/if_vr.c vr 648 649# SiS 900 Fast Ethernet controllers 650device sip: ether, ifnet, arp, mii, mii_bitbang 651attach sip at pci 652file dev/pci/if_sip.c sip | gsip 653 654# National Semiconductor DP83820 Gigabit Ethernet 655device gsip: ether, ifnet, arp, mii, mii_bitbang 656attach gsip at pci 657 658# Level One LXT-1001 Gigabit Ethernet 659#device glxt: ether, ifnet, arp, mii 660#attach glxt at pci 661#file dev/pci/if_glxt.c glxt 662 663# Sundance Tech./Tamarack TC9021 Gigabit Ethernet 664device stge: ether, ifnet, arp, mii, mii_bitbang 665attach stge at pci 666file dev/pci/if_stge.c stge 667 668# Intel i82598 & i82599 10-Gigabit Ethernet 669device ixg: ether, ifnet, arp 670attach ixg at pci 671file dev/pci/ixgbe/ixgbe.c ixg | ixv 672file dev/pci/ixgbe/ix_txrx.c ixg | ixv 673file dev/pci/ixgbe/ixgbe_netbsd.c ixg | ixv 674file dev/pci/ixgbe/ixgbe_82598.c ixg | ixv 675file dev/pci/ixgbe/ixgbe_82599.c ixg | ixv 676file dev/pci/ixgbe/ixgbe_x540.c ixg | ixv 677file dev/pci/ixgbe/ixgbe_x550.c ixg | ixv 678file dev/pci/ixgbe/ixgbe_api.c ixg | ixv 679file dev/pci/ixgbe/ixgbe_common.c ixg | ixv 680file dev/pci/ixgbe/ixgbe_mbx.c ixg | ixv 681file dev/pci/ixgbe/ixgbe_osdep.c ixg | ixv 682file dev/pci/ixgbe/ixgbe_phy.c ixg | ixv 683file dev/pci/ixgbe/ixgbe_vf.c ixg | ixv 684file dev/pci/ixgbe/if_bypass.c ixg | ixv 685file dev/pci/ixgbe/if_fdir.c ixg | ixv 686 687# This appears to be the driver for virtual instances of i82599. 688device ixv: ether, ifnet, arp 689attach ixv at pci 690file dev/pci/ixgbe/ixv.c ixv 691 692# Intel i8254x Gigabit Ethernet 693device wm: ether, ifnet, arp, mii, mii_bitbang 694attach wm at pci 695file dev/pci/if_wm.c wm 696defflag opt_if_wm.h WM_EVENT_COUNTERS 697defparam opt_if_wm.h WM_RX_PROCESS_LIMIT_DEFAULT 698 WM_RX_INTR_PROCESS_LIMIT_DEFAULT 699 WM_DISABLE_MSI 700 WM_DISABLE_MSIX 701 702# Broadcom 570x Gigabit Ethernet 703device bge: ether, ifnet, arp, mii, mii_bitbang 704attach bge at pci 705file dev/pci/if_bge.c bge 706 707# Broadcom NetXtreme II 708device bnx: ether, ifnet, arp, mii 709attach bnx at pci 710file dev/pci/if_bnx.c bnx 711 712# Realtek 8129/8139 Ethernet controllers 713attach rtk at pci with rtk_pci 714file dev/pci/if_rtk_pci.c rtk_pci 715 716# DECchip 21x4x Ethernet controller family, and assorted clones. 717attach tlp at pci with tlp_pci 718file dev/pci/if_tlp_pci.c tlp_pci 719 720# Bit3 PCI-VME mod. 617 721device btvmei: vmebus 722attach btvmei at pci 723file dev/pci/btvmei.c btvmei 724#file dev/pci/btvmei_dma.c btvmei 725#file dev/pci/btvmei_cntlrdma.c btvmei 726 727# Alteon ACEnic Gigabit Ethernet controller 728device ti: ether, ifnet, arp 729attach ti at pci 730file dev/pci/if_ti.c ti 731 732# Adaptec AIC-6915 Ethernet interface 733attach sf at pci with sf_pci 734file dev/pci/if_sf_pci.c sf_pci 735 736# Sundance Tech. ST-201 10/100 Ethernet 737device ste: ether, ifnet, arp, mii, mii_bitbang 738attach ste at pci 739file dev/pci/if_ste.c ste 740 741# YENTA PCI-Cardbus bridge 742#device cbb: cbbus, pcmciabus 743device cbb: pcmciaslot 744attach cbb at pci with cbb_pci 745file dev/pci/pccbb.c cbb 746 747# Tundra Universe PCI-VME adapter 748define univ_pci 749file dev/pci/universe_pci.c univ_pci 750 751# Bit3 PCI-VME mod. 2706 752device btvmeii: vmebus, univ_pci 753attach btvmeii at pci 754file dev/pci/btvmeii.c btvmeii 755 756# VIA VT82C686A/VT8231 PM Timer and Hardware Monitor 757device viaenv: acpipmtimer, sysmon_envsys 758attach viaenv at pci 759file dev/pci/viaenv.c viaenv 760 761# Intel PIIX4 power management controller 762device piixpm: i2cbus, acpipmtimer 763attach piixpm at pci 764file dev/pci/piixpm.c piixpm 765 766# AMD 768MPX power management controller 767defflag opt_amdpm.h AMDPM_RND_COUNTERS 768device amdpm: i2cbus, acpipmtimer 769attach amdpm at pci 770file dev/pci/amdpm.c amdpm 771file dev/pci/amdpm_smbus.c amdpm 772 773# Hi/fn 7751 774device hifn: opencrypto 775attach hifn at pci 776file dev/pci/hifn7751.c hifn 777 778# Bluesteelnet 5501/5601, Broadcom 580x/582x security processor 779device ubsec: opencrypto 780attach ubsec at pci 781file dev/pci/ubsec.c ubsec 782 783# Aironet PC4500/PC4800 784attach an at pci with an_pci 785file dev/pci/if_an_pci.c an_pci 786 787# ADMtek ADM8211 PCI/Mini-PCI 788attach atw at pci with atw_pci 789file dev/pci/if_atw_pci.c atw_pci 790 791# Realtek RTL8180 PCI/Mini-PCI 792attach rtw at pci with rtw_pci 793file dev/pci/if_rtw_pci.c rtw_pci 794 795# Realtek RTL8188CE Mini-PCIe 796device rtwn: ifnet, arp, wlan, firmload 797attach rtwn at pci 798file dev/pci/if_rtwn.c rtwn 799 800# Ralink RT2500/RT2600 PCI/Mini-PCI 801attach ral at pci with ral_pci 802file dev/pci/if_ral_pci.c ral_pci 803 804# Marvel Libertas Open 805attach malo at pci with malo_pci 806file dev/pci/if_malo_pci.c malo_pci 807 808# Intersil Prism2.5 Mini-PCI 809attach wi at pci with wi_pci 810file dev/pci/if_wi_pci.c wi_pci 811 812# ISDN devices 813attach isic at pci with isic_pci 814file dev/pci/isic_pci.c isic_pci 815 816file dev/pci/isic_pci_elsa_qs1p.c isic_pci 817 818# AVM T1/B1 819attach iavc at pci with iavc_pci 820file dev/pci/iavc_pci.c iavc_pci 821 822device ifpci: isdndev, passive_isdn, nisac 823attach ifpci at pci 824file dev/pci/ifpci.c ifpci 825 826device ifritz: isdndev, passive_isdn, nisacsx 827attach ifritz at pci 828file dev/pci/ifpci2.c ifritz 829 830# Winbond W6692 831device iwic: isdndev, passive_isdn 832attach iwic at pci with iwic_pci 833file dev/pci/iwic_pci.c iwic 834file dev/pci/iwic_bchan.c iwic 835file dev/pci/iwic_dchan.c iwic 836file dev/pci/iwic_fsm.c iwic 837 838# IrDA devices 839# Toshiba Fast Infrared Type O IrDA driver 840device oboe: irbus, irdasir 841attach oboe at pci 842file dev/pci/oboe.c oboe 843 844# Middle Digital, Inc. PCI-Weasel serial console board control 845# devices (watchdog timer, etc.) 846device weasel: sysmon_wdog 847attach weasel at pci with weasel_pci 848file dev/pci/weasel_pci.c weasel 849 850# Game adapter (joystick) 851attach joy at pci with joy_pci 852file dev/pci/joy_pci.c joy_pci 853 854# ATI Mach64 framebuffer console driver 855defflag opt_machfb.h MACHFB_DEBUG 856device machfb: wsemuldisplaydev, rasops8, fb, vcons, videomode, edid, drm, glyphcache 857attach machfb at pci 858file dev/pci/machfb.c machfb 859 860# 3Dfx Voodoo3 framebuffer console driver 861device voodoofb: wsemuldisplaydev, rasops8, vcons, videomode, drm, i2cbus, i2c_bitbang, ddc_read_edid, edid 862attach voodoofb at pci 863file dev/pci/voodoofb.c voodoofb 864 865# VIA UniChrome framebuffer console driver 866device unichromefb: wsemuldisplaydev, rasops16, rasops32, vcons, drm 867attach unichromefb at pci 868file dev/pci/unichromefb.c unichromefb needs-flag 869 870# ATI Radeon framebuffer console driver 871# (Note: to enable the BIOS parser, add options RADEON_BIOS_INIT to the config) 872device radeonfb: wsemuldisplaydev, videomode, rasops8, rasops32, vcons, splash, i2cbus, i2c_bitbang, ddc_read_edid, edid, drm, glyphcache 873attach radeonfb at pci 874file dev/pci/radeonfb.c radeonfb 875file dev/pci/radeonfb_i2c.c radeonfb 876file dev/pci/radeonfb_bios.c radeonfb 877defflag opt_radeonfb.h RADEONFB_DEBUG 878defflag opt_radeonfb.h RADEONFB_BIOS_INIT 879defflag opt_radeonfb.h RADEONFB_BIOS_DEBUG 880defflag opt_radeonfb.h RADEONFB_MMAP_BARS 881defflag opt_radeonfb.h RADEONFB_DEPTH_32 882defflag opt_radeonfb.h RADEONFB_ALWAYS_ACCEL_PUTCHAR 883 884# Chelsio Terminator 3 (T3) 10 gigabit ethernet 885device cxgbc { } 886attach cxgbc at pci 887device cxgb: ether, ifnet, arp 888attach cxgb at cxgbc 889file dev/pci/cxgb/cxgb_main.c cxgbc | cxgb 890file dev/pci/cxgb/cxgb_mc5.c cxgbc | cxgb 891file dev/pci/cxgb/cxgb_vsc8211.c cxgbc | cxgb 892file dev/pci/cxgb/cxgb_ael1002.c cxgbc | cxgb 893file dev/pci/cxgb/cxgb_mv88e1xxx.c cxgbc | cxgb 894file dev/pci/cxgb/cxgb_vsc7323.c cxgbc | cxgb 895file dev/pci/cxgb/cxgb_xgmac.c cxgbc | cxgb 896file dev/pci/cxgb/cxgb_t3_hw.c cxgbc | cxgb 897file dev/pci/cxgb/cxgb_sge.c cxgbc | cxgb 898file dev/pci/cxgb/cxgb_lro.c cxgbc | cxgb 899# file dev/pci/cxgb/cxgb_offload.c cxgbc | cxgb 900file dev/pci/cxgb/cxgb_l2t.c cxgbc | cxgb 901file dev/pci/cxgb/cxgb_osdep.c cxgbc | cxgb 902 903# Chips & Technologies 65550 framebuffer console driver 904attach chipsfb at pci with chipsfb_pci 905file dev/pci/chipsfb.c chipsfb_pci 906 907# 3Com 3c990 908device txp: ether, ifnet, arp 909attach txp at pci 910file dev/pci/if_txp.c txp 911 912# SysKonnect 913device skc { } 914attach skc at pci 915device sk: ether, ifnet, arp, mii 916attach sk at skc 917file dev/pci/if_sk.c skc | sk 918 919# Broadcom 4401 10/100 Ethernet 920device bce: ether, ifnet, arp, mii 921attach bce at pci 922file dev/pci/if_bce.c bce 923 924# Intel PRO/10GbE 925device dge: ether, ifnet, arp 926attach dge at pci 927file dev/pci/if_dge.c dge 928 929# Realtek 8169 Ethernet controllers 930attach re at pci with re_pci 931file dev/pci/if_re_pci.c re_pci 932 933# Windows NDIS drivers (Experimental) 934device ndis 935attach ndis at pci 936file dev/if_ndis/if_ndis.c ndis 937file dev/if_ndis/if_ndis_pci.c ndis 938 939# Intel PRO/Wireless 2100 940device ipw: ifnet, arp, wlan, firmload 941attach ipw at pci 942file dev/pci/if_ipw.c ipw 943 944# Intel PRO/Wireless 2200BG/2915ABG 945device iwi: ifnet, arp, wlan, firmload 946attach iwi at pci 947file dev/pci/if_iwi.c iwi 948 949# Intel PRO/Wireless 3945ABG 950device wpi: ifnet, arp, wlan, firmload 951attach wpi at pci 952file dev/pci/if_wpi.c wpi 953 954# Intel PRO/Wireless 4965AGN Mini-PCI Adapter 955device iwn: ifnet, arp, wlan, firmload 956attach iwn at pci 957file dev/pci/if_iwn.c iwn 958 959# Intel Centrino 7260 960device iwm: ifnet, arp, wlan, firmload 961attach iwm at pci 962file dev/pci/if_iwm.c iwm 963 964# Workbit NinjaSCSI-32 controllers 965# device declaration in sys/conf/files 966attach njs at pci with njs_pci 967file dev/pci/njs_pci.c njs_pci 968 969# S2io Xframe 10 Gigabit ethernet (Xframe driver) 970device xge: ether, ifnet, arp 971attach xge at pci 972file dev/pci/if_xge.c xge 973 974# Via Velocity 612x 10/100/1000 Ethernet 975device vge: ether, ifnet, arp, mii 976attach vge at pci 977file dev/pci/if_vge.c vge 978 979# Atheros 5210/5211/5212 PCI/Mini-PCI 980attach ath at pci with ath_pci 981file dev/pci/if_ath_pci.c ath_pci 982 983# Atheros AR9k (802.11 a/g/n) 984attach athn at pci with athn_pci 985file dev/pci/if_athn_pci.c athn_pci 986 987# NVIDIA nForce Ethernet 988device nfe: ether, ifnet, arp, mii, mii_phy 989attach nfe at pci 990file dev/pci/if_nfe.c nfe 991 992# MICREL Etherent 993device kse: ether, ifnet, arp 994attach kse at pci 995file dev/pci/if_kse.c kse 996 997# Yukon 2 998device mskc { } 999attach mskc at pci 1000device msk: ether, ifnet, arp, mii 1001attach msk at mskc 1002file dev/pci/if_msk.c mskc | msk 1003 1004# SD Host Controller 1005attach sdhc at pci with sdhc_pci 1006file dev/pci/sdhc_pci.c sdhc_pci 1007 1008# generic framebuffer console driver, PCI frontend 1009attach genfb at pci with genfb_pci : splash 1010file dev/pci/genfb_pci.c genfb_pci 1011 1012# NVIDIA nForce2/3/4 SMBus controller 1013device nfsmbc { } 1014attach nfsmbc at pci 1015device nfsmb: i2cbus 1016attach nfsmb at nfsmbc 1017file dev/pci/nfsmb.c nfsmbc | nfsmb 1018 1019# Intel ICH SMBus controller 1020device ichsmb: i2cbus 1021attach ichsmb at pci 1022file dev/pci/ichsmb.c ichsmb 1023 1024# ATI Rage 128 framebuffer console driver 1025device r128fb: wsemuldisplaydev, rasops8, rasops32, vcons, videomode, i2cbus, i2c_bitbang, glyphcache 1026attach r128fb at pci 1027file dev/pci/r128fb.c r128fb 1028defflag opt_r128fb.h R128FB_DEBUG 1029defflag opt_r128fb.h R128FB_WAIT 1030 1031# Attansic/Atheros L1 Gigabit-Ethernet 1032device age: ether, ifnet, arp, mii, mii_phy 1033attach age at pci 1034file dev/pci/if_age.c age 1035 1036# Attansic/Atheros L1C/L2C Gigabit Ethernet 1037device alc: ether, ifnet, arp, mii, mii_phy 1038attach alc at pci 1039file dev/pci/if_alc.c alc 1040 1041# Attanisc/Atheros L1E Gigabit Ethernet 1042device ale: ether, ifnet, arp, mii, mii_phy 1043attach ale at pci 1044file dev/pci/if_ale.c ale 1045 1046# Atheros/Attansic L2 Fast-Ethernet 1047device lii: ether, ifnet, arp, mii 1048attach lii at pci 1049file dev/pci/if_lii.c lii 1050 1051# Silicon Image SteelVine SATA-II controllers 1052attach siisata at pci with siisata_pci 1053file dev/pci/siisata_pci.c siisata_pci 1054 1055# Acer Labs M7101 power management controller 1056device alipm: i2cbus 1057attach alipm at pci 1058file dev/pci/alipm.c alipm 1059 1060# 1061# NetOctave NSP2000 1062# 1063include "dev/pci/n8/files.n8" 1064 1065# 1066# Broadcom AirForce / Apple Airport Extreme 1067# 1068attach bwi at pci with bwi_pci 1069file dev/pci/if_bwi_pci.c bwi_pci 1070 1071# Marvell Serial-ATA Host Controller 1072attach mvsata at pci with mvsata_pci 1073file dev/pci/mvsata_pci.c mvsata_pci 1074 1075include "dev/pci/voyager/files.voyager" 1076# Silicon Motion SM502 / Voyager GX 1077device voyager: i2c_bitbang, voyagerbus, i2cbus 1078attach voyager at pci 1079file dev/pci/voyager.c voyager 1080defflag opt_voyager.h VOYAGER_DEBUG 1081 1082# High Definition Audio 1083attach hdaudio at pci with hdaudio_pci 1084file dev/pci/hdaudio_pci.c hdaudio_pci 1085 1086# Permedia 2 / Sun PGX32 / Raptor 1087device pm2fb: wsemuldisplaydev, rasops8, rasops32, vcons, videomode, i2cbus, i2c_bitbang, ddc_read_edid, edid, glyphcache 1088attach pm2fb at pci 1089file dev/pci/pm2fb.c pm2fb 1090defflag opt_pm2fb.h PM2FB_DEBUG 1091 1092# Permedia 3 / Oxygen VX1 / Proformance 3 1093device pm3fb: wsemuldisplaydev, rasops8, vcons, videomode, i2cbus, i2c_bitbang, ddc_read_edid, edid 1094attach pm3fb at pci 1095file dev/pci/pm3fb.c pm3fb 1096 1097# 3Dlabs Wildcat / Sun XVR-500, 1200, Expert3D etc. 1098device wcfb: wsemuldisplaydev, rasops8, vcons 1099attach wcfb at pci 1100file dev/pci/wcfb.c wcfb 1101defflag opt_wcfb.h WCFB_DEBUG 1102 1103# Domex 536, 5380-compatible SCSI HBA 1104attach nca at pci with nca_pci 1105file dev/pci/nca_pci.c nca_pci 1106 1107# Agere ET1310/1301 Ethernet 1108device et: ether, ifnet, arp, mii, mii_phy 1109attach et at pci 1110file dev/pci/if_et.c et 1111 1112# RDC Semiconductor R6040 10/100 Ethernet 1113device vte: ether, ifnet, arp, mii, mii_phy 1114attach vte at pci 1115file dev/pci/if_vte.c vte 1116 1117# Conexant CX23880-series DTV interface 1118device cxdtv: dtvbus, i2c_bitbang, i2cbus, i2cexec, tvpll, nxt2k, lg3303 1119attach cxdtv at pci 1120file dev/pci/cxdtv.c cxdtv 1121file dev/pci/cxdtv_boards.c cxdtv 1122 1123# Conexant CX23885-series DTV interface 1124device coram: dtvbus, i2cbus, i2cexec, mt2131, cx24227 1125attach coram at pci 1126file dev/pci/coram.c coram 1127 1128# QUANCOM Electronic GmbH PWDOG1 1129device pwdog: sysmon_envsys 1130attach pwdog at pci 1131file dev/pci/pwdog.c pwdog 1132 1133# IBM 4810 BSP cash drawer port 1134device ibmcd: gpiobus 1135attach ibmcd at pci 1136file dev/pci/ibmcd.c ibmcd 1137 1138# SIS 315 Pro frame buffer 1139device sisfb: wsemuldisplaydev, rasops8, rasops15, rasops16, rasops32, vcons 1140attach sisfb at pci 1141file dev/pci/sisfb.c sisfb needs-flag 1142 1143# VirtIO: XXX: move to dev/vmm/virtio 1144include "dev/pci/files.virtio" 1145 1146attach virtio at pci with virtio_pci 1147file dev/pci/virtio_pci.c virtio_pci 1148 1149# Silicon Motion SM712(LynxEM+) frame buffer 1150device lynxfb: wsemuldisplaydev, rasops16 1151attach lynxfb at pci 1152file dev/pci/lynxfb.c lynxfb needs-flag 1153 1154include "dev/pci/igma/files.igma" 1155# Intel GMA 1156device igma: igmabus, i2cbus, i2c_bitbang, ddc_read_edid, edid 1157attach igma at pci 1158file dev/pci/igma.c igma 1159 1160# 3Dfx Voodoo Graphics 1161defflag opt_tdvfb.h TDVFB_CONSOLE 1162device tdvfb: wsemuldisplaydev, rasops16, rasops32, vcons, videomode 1163attach tdvfb at pci 1164file dev/pci/tdvfb.c tdvfb 1165 1166# nvidia geforce framebuffer console driver 1167device gffb: wsemuldisplaydev, rasops8, vcons, videomode, i2cbus, i2c_bitbang, glyphcache 1168attach gffb at pci 1169file dev/pci/gffb.c gffb 1170defflag opt_gffb.h GFFB_DEBUG 1171 1172# Realtek RTS5209/RTS5229 Card Reader driver 1173attach rtsx at pci with rtsx_pci 1174file dev/pci/rtsx_pci.c rtsx_pci 1175 1176# NVM Express Controller 1177attach nvme at pci with nvme_pci 1178file dev/pci/nvme_pci.c nvme_pci 1179 1180# PCI graphics devices with DRM/KMS 1181include "external/bsd/drm2/pci/files.drmkms_pci" 1182 1183# Intel S1200,C2000 (non-pch) SMBus controller 1184device ismt: i2cbus 1185attach ismt at pci 1186file dev/pci/ismt.c ismt 1187