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