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