files.pci revision 1.389
1# $NetBSD: files.pci,v 1.389 2017/08/02 08:39:14 cherry 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 638 639# OHCI IEEE 1394 controller 640attach fwohci at pci with fwohci_pci 641file dev/pci/fwohci_pci.c fwohci_pci 642 643# VIA Rhine/Rhine II Fast Ethernet controllers 644device vr: ether, ifnet, arp, mii, mii_bitbang 645attach vr at pci 646file dev/pci/if_vr.c vr 647 648# SiS 900 Fast Ethernet controllers 649device sip: ether, ifnet, arp, mii, mii_bitbang 650attach sip at pci 651file dev/pci/if_sip.c sip | gsip 652 653# National Semiconductor DP83820 Gigabit Ethernet 654device gsip: ether, ifnet, arp, mii, mii_bitbang 655attach gsip at pci 656 657# Level One LXT-1001 Gigabit Ethernet 658#device glxt: ether, ifnet, arp, mii 659#attach glxt at pci 660#file dev/pci/if_glxt.c glxt 661 662# Sundance Tech./Tamarack TC9021 Gigabit Ethernet 663device stge: ether, ifnet, arp, mii, mii_bitbang 664attach stge at pci 665file dev/pci/if_stge.c stge 666 667# Intel i82598 & i82599 10-Gigabit Ethernet 668device ixg: ether, ifnet, arp 669attach ixg at pci 670file dev/pci/ixgbe/ixgbe.c ixg | ixv 671file dev/pci/ixgbe/ix_txrx.c ixg | ixv 672file dev/pci/ixgbe/ixgbe_netbsd.c ixg | ixv 673file dev/pci/ixgbe/ixgbe_82598.c ixg | ixv 674file dev/pci/ixgbe/ixgbe_82599.c ixg | ixv 675file dev/pci/ixgbe/ixgbe_x540.c ixg | ixv 676file dev/pci/ixgbe/ixgbe_x550.c ixg | ixv 677file dev/pci/ixgbe/ixgbe_api.c ixg | ixv 678file dev/pci/ixgbe/ixgbe_common.c ixg | ixv 679file dev/pci/ixgbe/ixgbe_mbx.c ixg | ixv 680file dev/pci/ixgbe/ixgbe_osdep.c ixg | ixv 681file dev/pci/ixgbe/ixgbe_phy.c ixg | ixv 682file dev/pci/ixgbe/ixgbe_vf.c ixg | ixv 683 684# This appears to be the driver for virtual instances of i82599. 685device ixv: ether, ifnet, arp 686attach ixv at pci 687file dev/pci/ixgbe/ixv.c ixv 688 689# Intel i8254x Gigabit Ethernet 690device wm: ether, ifnet, arp, mii, mii_bitbang 691attach wm at pci 692file dev/pci/if_wm.c wm 693defflag opt_if_wm.h WM_EVENT_COUNTERS 694defparam opt_if_wm.h WM_RX_PROCESS_LIMIT_DEFAULT 695 WM_RX_INTR_PROCESS_LIMIT_DEFAULT 696 WM_DISABLE_MSI 697 WM_DISABLE_MSIX 698 699# Broadcom 570x Gigabit Ethernet 700device bge: ether, ifnet, arp, mii, mii_bitbang 701attach bge at pci 702file dev/pci/if_bge.c bge 703 704# Broadcom NetXtreme II 705device bnx: ether, ifnet, arp, mii 706attach bnx at pci 707file dev/pci/if_bnx.c bnx 708 709# Realtek 8129/8139 Ethernet controllers 710attach rtk at pci with rtk_pci 711file dev/pci/if_rtk_pci.c rtk_pci 712 713# DECchip 21x4x Ethernet controller family, and assorted clones. 714attach tlp at pci with tlp_pci 715file dev/pci/if_tlp_pci.c tlp_pci 716 717# Bit3 PCI-VME mod. 617 718device btvmei: vmebus 719attach btvmei at pci 720file dev/pci/btvmei.c btvmei 721#file dev/pci/btvmei_dma.c btvmei 722#file dev/pci/btvmei_cntlrdma.c btvmei 723 724# Alteon ACEnic Gigabit Ethernet controller 725device ti: ether, ifnet, arp 726attach ti at pci 727file dev/pci/if_ti.c ti 728 729# Adaptec AIC-6915 Ethernet interface 730attach sf at pci with sf_pci 731file dev/pci/if_sf_pci.c sf_pci 732 733# Sundance Tech. ST-201 10/100 Ethernet 734device ste: ether, ifnet, arp, mii, mii_bitbang 735attach ste at pci 736file dev/pci/if_ste.c ste 737 738# YENTA PCI-Cardbus bridge 739#device cbb: cbbus, pcmciabus 740device cbb: pcmciaslot 741attach cbb at pci with cbb_pci 742file dev/pci/pccbb.c cbb 743 744# Tundra Universe PCI-VME adapter 745define univ_pci 746file dev/pci/universe_pci.c univ_pci 747 748# Bit3 PCI-VME mod. 2706 749device btvmeii: vmebus, univ_pci 750attach btvmeii at pci 751file dev/pci/btvmeii.c btvmeii 752 753# VIA VT82C686A/VT8231 PM Timer and Hardware Monitor 754device viaenv: acpipmtimer, sysmon_envsys 755attach viaenv at pci 756file dev/pci/viaenv.c viaenv 757 758# Intel PIIX4 power management controller 759device piixpm: i2cbus, acpipmtimer 760attach piixpm at pci 761file dev/pci/piixpm.c piixpm 762 763# AMD 768MPX power management controller 764defflag opt_amdpm.h AMDPM_RND_COUNTERS 765device amdpm: i2cbus, acpipmtimer 766attach amdpm at pci 767file dev/pci/amdpm.c amdpm 768file dev/pci/amdpm_smbus.c amdpm 769 770# Hi/fn 7751 771device hifn: opencrypto 772attach hifn at pci 773file dev/pci/hifn7751.c hifn 774 775# Bluesteelnet 5501/5601, Broadcom 580x/582x security processor 776device ubsec: opencrypto 777attach ubsec at pci 778file dev/pci/ubsec.c ubsec 779 780# Aironet PC4500/PC4800 781attach an at pci with an_pci 782file dev/pci/if_an_pci.c an_pci 783 784# ADMtek ADM8211 PCI/Mini-PCI 785attach atw at pci with atw_pci 786file dev/pci/if_atw_pci.c atw_pci 787 788# Realtek RTL8180 PCI/Mini-PCI 789attach rtw at pci with rtw_pci 790file dev/pci/if_rtw_pci.c rtw_pci 791 792# Realtek RTL8188CE Mini-PCIe 793device rtwn: ifnet, arp, wlan, firmload 794attach rtwn at pci 795file dev/pci/if_rtwn.c rtwn 796 797# Ralink RT2500/RT2600 PCI/Mini-PCI 798attach ral at pci with ral_pci 799file dev/pci/if_ral_pci.c ral_pci 800 801# Marvel Libertas Open 802attach malo at pci with malo_pci 803file dev/pci/if_malo_pci.c malo_pci 804 805# Intersil Prism2.5 Mini-PCI 806attach wi at pci with wi_pci 807file dev/pci/if_wi_pci.c wi_pci 808 809# ISDN devices 810attach isic at pci with isic_pci 811file dev/pci/isic_pci.c isic_pci 812 813file dev/pci/isic_pci_elsa_qs1p.c isic_pci 814 815# AVM T1/B1 816attach iavc at pci with iavc_pci 817file dev/pci/iavc_pci.c iavc_pci 818 819device ifpci: isdndev, passive_isdn, nisac 820attach ifpci at pci 821file dev/pci/ifpci.c ifpci 822 823device ifritz: isdndev, passive_isdn, nisacsx 824attach ifritz at pci 825file dev/pci/ifpci2.c ifritz 826 827# Winbond W6692 828device iwic: isdndev, passive_isdn 829attach iwic at pci with iwic_pci 830file dev/pci/iwic_pci.c iwic 831file dev/pci/iwic_bchan.c iwic 832file dev/pci/iwic_dchan.c iwic 833file dev/pci/iwic_fsm.c iwic 834 835# IrDA devices 836# Toshiba Fast Infrared Type O IrDA driver 837device oboe: irbus, irdasir 838attach oboe at pci 839file dev/pci/oboe.c oboe 840 841# Middle Digital, Inc. PCI-Weasel serial console board control 842# devices (watchdog timer, etc.) 843device weasel: sysmon_wdog 844attach weasel at pci with weasel_pci 845file dev/pci/weasel_pci.c weasel 846 847# Game adapter (joystick) 848attach joy at pci with joy_pci 849file dev/pci/joy_pci.c joy_pci 850 851# ATI Mach64 framebuffer console driver 852defflag opt_machfb.h MACHFB_DEBUG 853device machfb: wsemuldisplaydev, rasops8, fb, vcons, videomode, edid, drm, glyphcache 854attach machfb at pci 855file dev/pci/machfb.c machfb 856 857# 3Dfx Voodoo3 framebuffer console driver 858device voodoofb: wsemuldisplaydev, rasops8, vcons, videomode, drm, i2cbus, i2c_bitbang, ddc_read_edid, edid 859attach voodoofb at pci 860file dev/pci/voodoofb.c voodoofb 861 862# VIA UniChrome framebuffer console driver 863device unichromefb: wsemuldisplaydev, rasops16, rasops32, vcons, drm 864attach unichromefb at pci 865file dev/pci/unichromefb.c unichromefb needs-flag 866 867# ATI Radeon framebuffer console driver 868# (Note: to enable the BIOS parser, add options RADEON_BIOS_INIT to the config) 869device radeonfb: wsemuldisplaydev, videomode, rasops8, rasops32, vcons, splash, i2cbus, i2c_bitbang, ddc_read_edid, edid, drm, glyphcache 870attach radeonfb at pci 871file dev/pci/radeonfb.c radeonfb 872file dev/pci/radeonfb_i2c.c radeonfb 873file dev/pci/radeonfb_bios.c radeonfb 874defflag opt_radeonfb.h RADEONFB_DEBUG 875defflag opt_radeonfb.h RADEONFB_BIOS_INIT 876defflag opt_radeonfb.h RADEONFB_BIOS_DEBUG 877defflag opt_radeonfb.h RADEONFB_MMAP_BARS 878defflag opt_radeonfb.h RADEONFB_DEPTH_32 879defflag opt_radeonfb.h RADEONFB_ALWAYS_ACCEL_PUTCHAR 880 881# Chelsio Terminator 3 (T3) 10 gigabit ethernet 882device cxgbc { } 883attach cxgbc at pci 884device cxgb: ether, ifnet, arp 885attach cxgb at cxgbc 886file dev/pci/cxgb/cxgb_main.c cxgbc | cxgb 887file dev/pci/cxgb/cxgb_mc5.c cxgbc | cxgb 888file dev/pci/cxgb/cxgb_vsc8211.c cxgbc | cxgb 889file dev/pci/cxgb/cxgb_ael1002.c cxgbc | cxgb 890file dev/pci/cxgb/cxgb_mv88e1xxx.c cxgbc | cxgb 891file dev/pci/cxgb/cxgb_vsc7323.c cxgbc | cxgb 892file dev/pci/cxgb/cxgb_xgmac.c cxgbc | cxgb 893file dev/pci/cxgb/cxgb_t3_hw.c cxgbc | cxgb 894file dev/pci/cxgb/cxgb_sge.c cxgbc | cxgb 895file dev/pci/cxgb/cxgb_lro.c cxgbc | cxgb 896# file dev/pci/cxgb/cxgb_offload.c cxgbc | cxgb 897file dev/pci/cxgb/cxgb_l2t.c cxgbc | cxgb 898file dev/pci/cxgb/cxgb_osdep.c cxgbc | cxgb 899 900# Chips & Technologies 65550 framebuffer console driver 901attach chipsfb at pci with chipsfb_pci 902file dev/pci/chipsfb.c chipsfb_pci 903 904# 3Com 3c990 905device txp: ether, ifnet, arp 906attach txp at pci 907file dev/pci/if_txp.c txp 908 909# SysKonnect 910device skc { } 911attach skc at pci 912device sk: ether, ifnet, arp, mii 913attach sk at skc 914file dev/pci/if_sk.c skc | sk 915 916# Broadcom 4401 10/100 Ethernet 917device bce: ether, ifnet, arp, mii 918attach bce at pci 919file dev/pci/if_bce.c bce 920 921# Intel PRO/10GbE 922device dge: ether, ifnet, arp 923attach dge at pci 924file dev/pci/if_dge.c dge 925 926# Realtek 8169 Ethernet controllers 927attach re at pci with re_pci 928file dev/pci/if_re_pci.c re_pci 929 930# Windows NDIS drivers (Experimental) 931device ndis 932attach ndis at pci 933file dev/if_ndis/if_ndis.c ndis 934file dev/if_ndis/if_ndis_pci.c ndis 935 936# Intel PRO/Wireless 2100 937device ipw: ifnet, arp, wlan, firmload 938attach ipw at pci 939file dev/pci/if_ipw.c ipw 940 941# Intel PRO/Wireless 2200BG/2915ABG 942device iwi: ifnet, arp, wlan, firmload 943attach iwi at pci 944file dev/pci/if_iwi.c iwi 945 946# Intel PRO/Wireless 3945ABG 947device wpi: ifnet, arp, wlan, firmload 948attach wpi at pci 949file dev/pci/if_wpi.c wpi 950 951# Intel PRO/Wireless 4965AGN Mini-PCI Adapter 952device iwn: ifnet, arp, wlan, firmload 953attach iwn at pci 954file dev/pci/if_iwn.c iwn 955 956# Intel Centrino 7260 957device iwm: ifnet, arp, wlan, firmload 958attach iwm at pci 959file dev/pci/if_iwm.c iwm 960 961# Workbit NinjaSCSI-32 controllers 962# device declaration in sys/conf/files 963attach njs at pci with njs_pci 964file dev/pci/njs_pci.c njs_pci 965 966# S2io Xframe 10 Gigabit ethernet (Xframe driver) 967device xge: ether, ifnet, arp 968attach xge at pci 969file dev/pci/if_xge.c xge 970 971# Via Velocity 612x 10/100/1000 Ethernet 972device vge: ether, ifnet, arp, mii 973attach vge at pci 974file dev/pci/if_vge.c vge 975 976# Atheros 5210/5211/5212 PCI/Mini-PCI 977attach ath at pci with ath_pci 978file dev/pci/if_ath_pci.c ath_pci 979 980# Atheros AR9k (802.11 a/g/n) 981attach athn at pci with athn_pci 982file dev/pci/if_athn_pci.c athn_pci 983 984# NVIDIA nForce Ethernet 985device nfe: ether, ifnet, arp, mii, mii_phy 986attach nfe at pci 987file dev/pci/if_nfe.c nfe 988 989# MICREL Etherent 990device kse: ether, ifnet, arp 991attach kse at pci 992file dev/pci/if_kse.c kse 993 994# Yukon 2 995device mskc { } 996attach mskc at pci 997device msk: ether, ifnet, arp, mii 998attach msk at mskc 999file dev/pci/if_msk.c mskc | msk 1000 1001# SD Host Controller 1002attach sdhc at pci with sdhc_pci 1003file dev/pci/sdhc_pci.c sdhc_pci 1004 1005# generic framebuffer console driver, PCI frontend 1006attach genfb at pci with genfb_pci : splash 1007file dev/pci/genfb_pci.c genfb_pci 1008 1009# NVIDIA nForce2/3/4 SMBus controller 1010device nfsmbc { } 1011attach nfsmbc at pci 1012device nfsmb: i2cbus 1013attach nfsmb at nfsmbc 1014file dev/pci/nfsmb.c nfsmbc | nfsmb 1015 1016# Intel ICH SMBus controller 1017device ichsmb: i2cbus 1018attach ichsmb at pci 1019file dev/pci/ichsmb.c ichsmb 1020 1021# ATI Rage 128 framebuffer console driver 1022device r128fb: wsemuldisplaydev, rasops8, rasops32, vcons, videomode, i2cbus, i2c_bitbang, glyphcache 1023attach r128fb at pci 1024file dev/pci/r128fb.c r128fb 1025defflag opt_r128fb.h R128FB_DEBUG 1026defflag opt_r128fb.h R128FB_WAIT 1027 1028# Attansic/Atheros L1 Gigabit-Ethernet 1029device age: ether, ifnet, arp, mii, mii_phy 1030attach age at pci 1031file dev/pci/if_age.c age 1032 1033# Attansic/Atheros L1C/L2C Gigabit Ethernet 1034device alc: ether, ifnet, arp, mii, mii_phy 1035attach alc at pci 1036file dev/pci/if_alc.c alc 1037 1038# Attanisc/Atheros L1E Gigabit Ethernet 1039device ale: ether, ifnet, arp, mii, mii_phy 1040attach ale at pci 1041file dev/pci/if_ale.c ale 1042 1043# Atheros/Attansic L2 Fast-Ethernet 1044device lii: ether, ifnet, arp, mii 1045attach lii at pci 1046file dev/pci/if_lii.c lii 1047 1048# Silicon Image SteelVine SATA-II controllers 1049attach siisata at pci with siisata_pci 1050file dev/pci/siisata_pci.c siisata_pci 1051 1052# Acer Labs M7101 power management controller 1053device alipm: i2cbus 1054attach alipm at pci 1055file dev/pci/alipm.c alipm 1056 1057# 1058# NetOctave NSP2000 1059# 1060include "dev/pci/n8/files.n8" 1061 1062# 1063# Broadcom AirForce / Apple Airport Extreme 1064# 1065attach bwi at pci with bwi_pci 1066file dev/pci/if_bwi_pci.c bwi_pci 1067 1068# Marvell Serial-ATA Host Controller 1069attach mvsata at pci with mvsata_pci 1070file dev/pci/mvsata_pci.c mvsata_pci 1071 1072include "dev/pci/voyager/files.voyager" 1073# Silicon Motion SM502 / Voyager GX 1074device voyager: i2c_bitbang, voyagerbus, i2cbus 1075attach voyager at pci 1076file dev/pci/voyager.c voyager 1077defflag opt_voyager.h VOYAGER_DEBUG 1078 1079# High Definition Audio 1080attach hdaudio at pci with hdaudio_pci 1081file dev/pci/hdaudio_pci.c hdaudio_pci 1082 1083# Permedia 2 / Sun PGX32 / Raptor 1084device pm2fb: wsemuldisplaydev, rasops8, rasops32, vcons, videomode, i2cbus, i2c_bitbang, ddc_read_edid, edid, glyphcache 1085attach pm2fb at pci 1086file dev/pci/pm2fb.c pm2fb 1087defflag opt_pm2fb.h PM2FB_DEBUG 1088 1089# Permedia 3 / Oxygen VX1 / Proformance 3 1090device pm3fb: wsemuldisplaydev, rasops8, vcons, videomode, i2cbus, i2c_bitbang, ddc_read_edid, edid 1091attach pm3fb at pci 1092file dev/pci/pm3fb.c pm3fb 1093 1094# 3Dlabs Wildcat / Sun XVR-500, 1200, Expert3D etc. 1095device wcfb: wsemuldisplaydev, rasops8, vcons 1096attach wcfb at pci 1097file dev/pci/wcfb.c wcfb 1098defflag opt_wcfb.h WCFB_DEBUG 1099 1100# Domex 536, 5380-compatible SCSI HBA 1101attach nca at pci with nca_pci 1102file dev/pci/nca_pci.c nca_pci 1103 1104# Agere ET1310/1301 Ethernet 1105device et: ether, ifnet, arp, mii, mii_phy 1106attach et at pci 1107file dev/pci/if_et.c et 1108 1109# RDC Semiconductor R6040 10/100 Ethernet 1110device vte: ether, ifnet, arp, mii, mii_phy 1111attach vte at pci 1112file dev/pci/if_vte.c vte 1113 1114# Conexant CX23880-series DTV interface 1115device cxdtv: dtvbus, i2c_bitbang, i2cbus, i2cexec, tvpll, nxt2k, lg3303 1116attach cxdtv at pci 1117file dev/pci/cxdtv.c cxdtv 1118file dev/pci/cxdtv_boards.c cxdtv 1119 1120# Conexant CX23885-series DTV interface 1121device coram: dtvbus, i2cbus, i2cexec, mt2131, cx24227 1122attach coram at pci 1123file dev/pci/coram.c coram 1124 1125# QUANCOM Electronic GmbH PWDOG1 1126device pwdog: sysmon_envsys 1127attach pwdog at pci 1128file dev/pci/pwdog.c pwdog 1129 1130# IBM 4810 BSP cash drawer port 1131device ibmcd: gpiobus 1132attach ibmcd at pci 1133file dev/pci/ibmcd.c ibmcd 1134 1135# SIS 315 Pro frame buffer 1136device sisfb: wsemuldisplaydev, rasops8, rasops15, rasops16, rasops32, vcons 1137attach sisfb at pci 1138file dev/pci/sisfb.c sisfb needs-flag 1139 1140# VirtIO: XXX: move to dev/vmm/virtio 1141include "dev/pci/files.virtio" 1142 1143attach virtio at pci with virtio_pci 1144file dev/pci/virtio_pci.c virtio_pci 1145 1146# Silicon Motion SM712(LynxEM+) frame buffer 1147device lynxfb: wsemuldisplaydev, rasops16 1148attach lynxfb at pci 1149file dev/pci/lynxfb.c lynxfb needs-flag 1150 1151include "dev/pci/igma/files.igma" 1152# Intel GMA 1153device igma: igmabus, i2cbus, i2c_bitbang, ddc_read_edid, edid 1154attach igma at pci 1155file dev/pci/igma.c igma 1156 1157# 3Dfx Voodoo Graphics 1158defflag opt_tdvfb.h TDVFB_CONSOLE 1159device tdvfb: wsemuldisplaydev, rasops16, rasops32, vcons, videomode 1160attach tdvfb at pci 1161file dev/pci/tdvfb.c tdvfb 1162 1163# nvidia geforce framebuffer console driver 1164device gffb: wsemuldisplaydev, rasops8, vcons, videomode, i2cbus, i2c_bitbang, glyphcache 1165attach gffb at pci 1166file dev/pci/gffb.c gffb 1167defflag opt_gffb.h GFFB_DEBUG 1168 1169# Realtek RTS5209/RTS5229 Card Reader driver 1170attach rtsx at pci with rtsx_pci 1171file dev/pci/rtsx_pci.c rtsx_pci 1172 1173# NVM Express Controller 1174attach nvme at pci with nvme_pci 1175file dev/pci/nvme_pci.c nvme_pci 1176 1177# PCI graphics devices with DRM/KMS 1178include "external/bsd/drm2/pci/files.drmkms_pci" 1179 1180# Intel S1200,C2000 (non-pch) SMBus controller 1181device ismt: i2cbus 1182attach ismt at pci 1183file dev/pci/ismt.c ismt 1184