files.pci revision 1.419
1# $NetBSD: files.pci,v 1.419 2020/01/01 10:11:21 ryo 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 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# Essential Communications HIPPI interface 436# device declaration in sys/conf/files 437attach esh at pci with esh_pci 438file dev/pci/if_esh_pci.c esh_pci 439 440# generic PCI VGA 441defflag opt_vga.h VGA_POST: X86EMU 442attach vga at pci with vga_pci 443file dev/pci/vga_pci.c vga_pci needs-flag 444 445# DEC TGA 446device tga: wsemuldisplaydev, rasops8, rasops32 447attach tga at pci 448file dev/pci/tga.c tga needs-flag 449file dev/pci/tga_conf.c tga 450file dev/ic/bt485.c tga 451file dev/ic/bt463.c tga 452file dev/ic/ibm561.c tga 453 454# HP Visualize 455attach sti at pci with sti_pci 456file dev/pci/sti_pci.c sti_pci needs-flag 457 458# Integraphics Systems IGA168x and CyberPro framebuffers (linear non-VGA mode) 459# device declaration in sys/conf/files 460attach igsfb at pci with igsfb_pci 461file dev/pci/igsfb_pci.c igsfb_pci 462 463# Brooktree Bt848 video capture 464device bktr: radiodev 465attach bktr at pci 466file dev/pci/bktr/bktr_audio.c bktr 467file dev/pci/bktr/bktr_card.c bktr 468file dev/pci/bktr/bktr_core.c bktr 469file dev/pci/bktr/bktr_os.c bktr needs-flag 470file dev/pci/bktr/bktr_tuner.c bktr 471 472# Cirrus Logic CrystalClear PCI Audio CS4280 473device clcs: audiobus, ac97, midibus 474attach clcs at pci 475file dev/pci/cs4280.c clcs 476 477# Cirrus Logic CrystalClear PCI Audio CS4281 478device clct: audiobus, ac97 479attach clct at pci 480file dev/pci/cs4281.c clct 481 482# Shared code for Cirrus Logic CrystalClear PCI Audio CS4280 and CS4281 483file dev/pci/cs428x.c clcs | clct 484 485# Forte Media FM801 486device fms { }: audiobus, ac97, midibus 487attach fms at pci 488file dev/pci/fms.c fms 489 490attach opl at fms with opl_fms 491file dev/pci/opl_fms.c opl_fms 492 493attach mpu at fms with mpu_fms 494file dev/pci/mpu_fms.c mpu_fms 495 496# Ensoniq AudioPCI S5016 497device eap { }: audiobus, ac97, midibus 498attach eap at pci 499file dev/pci/eap.c eap 500 501attach joy at eap with joy_eap 502file dev/pci/joy_eap.c joy_eap needs-flag 503 504# Acer Labs M5455 505device auacer: audiobus, ac97, aurateconv 506attach auacer at pci 507file dev/pci/auacer.c auacer 508 509# Intel ICH AC'97 audio 510device auich: audiobus, ac97, aurateconv 511attach auich at pci 512file dev/pci/auich.c auich 513 514# VIA VT82C686A/VT8233/VT8235 AC'97 Audio 515device auvia: audiobus, ac97, aurateconv 516attach auvia at pci 517file dev/pci/auvia.c auvia 518 519# ATI IXP 200/300/400 series AC'97 Audio 520device auixp: audiobus, ac97, aurateconv 521attach auixp at pci 522file dev/pci/auixp.c auixp 523 524# High Definition Audio 525device azalia: audiobus, ac97, aurateconv 526attach azalia at pci 527file dev/pci/azalia.c azalia 528file dev/pci/azalia_codec.c azalia 529 530# AMD Geode CS5536 Companion Audio 531device gcscaudio: audiobus, ac97, aurateconv 532attach gcscaudio at pci 533file dev/pci/gcscaudio.c gcscaudio 534 535# NeoMagic 256 AC'97 Audio 536device neo: audiobus, ac97 537attach neo at pci 538file dev/pci/neo.c neo 539 540# ESS Allegro-1 / Maestro3 541device esa: audiobus, ac97 542attach esa at pci 543file dev/pci/esa.c esa 544 545# ESS Solo-1 PCI AudioDrive 546device eso { }: audiobus, midibus 547attach eso at pci 548file dev/pci/eso.c eso 549 550attach opl at eso with opl_eso 551file dev/pci/opl_eso.c opl_eso 552 553attach mpu at eso with mpu_eso 554file dev/pci/mpu_eso.c mpu_eso 555 556attach joy at eso with joy_eso 557file dev/pci/joy_eso.c joy_eso 558 559# ESS Maestro-1/2/2e PCI AC97 Audio Accelerator 560device esm: audiobus, ac97 561attach esm at pci 562file dev/pci/esm.c esm 563 564# S3 SonicVibes (S3 617) 565device sv { }: audiobus, midibus 566attach sv at pci 567file dev/pci/sv.c sv 568 569attach opl at sv with opl_sv 570file dev/pci/opl_sv.c opl_sv 571 572# C-Media CMI8x38 Audio Chip 573device cmpci { }: audiobus 574attach cmpci at pci 575file dev/pci/cmpci.c cmpci 576 577attach opl at cmpci with opl_cmpci 578file dev/pci/opl_cmpci.c opl_cmpci 579 580attach mpu at cmpci with mpu_cmpci 581file dev/pci/mpu_cmpci.c mpu_cmpci 582 583# Yamaha YMF724/740/744/754 PCI audio controller 584device yds { }: audiobus, ac97 585attach yds at pci 586file dev/pci/yds.c yds 587 588attach opl at yds with opl_yds 589file dev/pci/opl_yds.c opl_yds 590 591attach mpu at yds with mpu_yds 592file dev/pci/mpu_yds.c mpu_yds 593 594# Creative Labs EMU10k1 (SBLive! series and PCI512) 595device emuxki: audiobus, ac97 596attach emuxki at pci 597file dev/pci/emuxki.c emuxki 598 599# Trident 4DWAVE AC'97 audio (including SiS 7018,ALi M5451) 600device autri: audiobus, ac97, midibus 601attach autri at pci 602file dev/pci/autri.c autri 603 604# SMC EPIC/100 Fast Ethernet on PCI 605attach epic at pci with epic_pci 606file dev/pci/if_epic_pci.c epic_pci 607 608# PCI "universal" communication device driver, for PCI com, lpt, etc. ports 609# (see documentation in the driver for what, exactly, should be supported) 610device puc { port = -1 } 611attach puc at pci 612file dev/pci/puc.c puc 613file dev/pci/pucdata.c puc 614defflag opt_puc.h PUC_CNAUTO 615defparam opt_puc.h PUC_CNBUS 616 617attach com at puc with com_puc 618file dev/pci/com_puc.c com_puc needs-flag 619file dev/pci/cyber.c com_puc 620file dev/pci/puccn.c com_puc 621 622attach lpt at puc with lpt_puc 623file dev/pci/lpt_puc.c lpt_puc & !ppbus 624 625attach atppc at puc with atppc_puc 626file dev/pci/atppc_puc.c atppc_puc 627 628# UHCI USB controller 629attach uhci at pci with uhci_pci 630file dev/pci/uhci_pci.c uhci_pci 631 632# OHCI USB controller 633attach ohci at pci with ohci_pci 634file dev/pci/ohci_pci.c ohci_pci 635 636# EHCI USB controller 637attach ehci at pci with ehci_pci 638file dev/pci/ehci_pci.c ehci_pci 639 640file dev/pci/usb_pci.c ehci_pci | ehci_cardbus 641 642# xHCI USB controller 643attach xhci at pci with xhci_pci 644file dev/pci/xhci_pci.c xhci_pci 645defflag opt_xhci_pci.h XHCI_DISABLE_MSI 646defflag opt_xhci_pci.h XHCI_DISABLE_MSIX 647 648# OHCI IEEE 1394 controller 649attach fwohci at pci with fwohci_pci 650file dev/pci/fwohci_pci.c fwohci_pci 651 652# VIA Rhine/Rhine II Fast Ethernet controllers 653device vr: ether, ifnet, arp, mii, mii_bitbang 654attach vr at pci 655file dev/pci/if_vr.c vr 656 657# SiS 900 Fast Ethernet controllers 658device sip: ether, ifnet, arp, mii, mii_bitbang 659attach sip at pci 660file dev/pci/if_sip.c sip | gsip 661 662# National Semiconductor DP83820 Gigabit Ethernet 663device gsip: ether, ifnet, arp, mii, mii_bitbang 664attach gsip at pci 665 666# Level One LXT-1001 Gigabit Ethernet 667#device glxt: ether, ifnet, arp, mii 668#attach glxt at pci 669#file dev/pci/if_glxt.c glxt 670 671# Sundance Tech./Tamarack TC9021 Gigabit Ethernet 672device stge: ether, ifnet, arp, mii, mii_bitbang 673attach stge at pci 674file dev/pci/if_stge.c stge 675 676# Intel i82598 & i82599 10-Gigabit Ethernet 677device ixg: ether, ifnet, arp, mii, mii_phy 678attach ixg at pci 679file dev/pci/ixgbe/ixgbe.c ixg | ixv 680file dev/pci/ixgbe/ix_txrx.c ixg | ixv 681file dev/pci/ixgbe/ixgbe_netbsd.c ixg | ixv 682file dev/pci/ixgbe/ixgbe_82598.c ixg | ixv 683file dev/pci/ixgbe/ixgbe_82599.c ixg | ixv 684file dev/pci/ixgbe/ixgbe_x540.c ixg | ixv 685file dev/pci/ixgbe/ixgbe_x550.c ixg | ixv 686file dev/pci/ixgbe/ixgbe_api.c ixg | ixv 687file dev/pci/ixgbe/ixgbe_common.c ixg | ixv 688file dev/pci/ixgbe/ixgbe_mbx.c ixg | ixv 689file dev/pci/ixgbe/ixgbe_osdep.c ixg | ixv 690file dev/pci/ixgbe/ixgbe_phy.c ixg | ixv 691file dev/pci/ixgbe/ixgbe_vf.c ixg | ixv 692file dev/pci/ixgbe/if_bypass.c ixg | ixv 693file dev/pci/ixgbe/if_fdir.c ixg | ixv 694 695# This appears to be the driver for virtual instances of i82599. 696device ixv: ether, ifnet, arp, mii, mii_phy 697attach ixv at pci 698file dev/pci/ixgbe/ixv.c ixv 699 700# Intel i8254x Gigabit Ethernet 701device wm: ether, ifnet, arp, mii, mii_bitbang 702attach wm at pci 703file dev/pci/if_wm.c wm 704defflag opt_if_wm.h WM_EVENT_COUNTERS 705defparam opt_if_wm.h WM_RX_PROCESS_LIMIT_DEFAULT 706 WM_RX_INTR_PROCESS_LIMIT_DEFAULT 707 WM_DISABLE_MSI 708 WM_DISABLE_MSIX 709 710# Mellanox 5th generation Ethernet devices 711device mcx: ether, ifnet, arp 712attach mcx at pci 713file dev/pci/if_mcx.c mcx 714 715# Broadcom 570x Gigabit Ethernet 716device bge: ether, ifnet, arp, mii, mii_bitbang 717attach bge at pci 718file dev/pci/if_bge.c bge 719 720# Broadcom NetXtreme II 721device bnx: ether, ifnet, arp, mii 722attach bnx at pci 723file dev/pci/if_bnx.c bnx 724 725# Realtek 8129/8139 Ethernet controllers 726attach rtk at pci with rtk_pci 727file dev/pci/if_rtk_pci.c rtk_pci 728 729# DECchip 21x4x Ethernet controller family, and assorted clones. 730attach tlp at pci with tlp_pci 731file dev/pci/if_tlp_pci.c tlp_pci 732 733# Bit3 PCI-VME mod. 617 734device btvmei: vmebus 735attach btvmei at pci 736file dev/pci/btvmei.c btvmei 737#file dev/pci/btvmei_dma.c btvmei 738#file dev/pci/btvmei_cntlrdma.c btvmei 739 740# Alteon ACEnic Gigabit Ethernet controller 741device ti: ether, ifnet, arp 742attach ti at pci 743file dev/pci/if_ti.c ti 744 745# Adaptec AIC-6915 Ethernet interface 746attach sf at pci with sf_pci 747file dev/pci/if_sf_pci.c sf_pci 748 749# Sundance Tech. ST-201 10/100 Ethernet 750device ste: ether, ifnet, arp, mii, mii_bitbang 751attach ste at pci 752file dev/pci/if_ste.c ste 753 754# YENTA PCI-Cardbus bridge 755#device cbb: cbbus, pcmciabus 756device cbb: pcmciaslot 757attach cbb at pci with cbb_pci 758file dev/pci/pccbb.c cbb 759 760# Tundra Universe PCI-VME adapter 761define univ_pci 762file dev/pci/universe_pci.c univ_pci 763 764# Bit3 PCI-VME mod. 2706 765device btvmeii: vmebus, univ_pci 766attach btvmeii at pci 767file dev/pci/btvmeii.c btvmeii 768 769# VIA VT82C686A/VT8231 PM Timer and Hardware Monitor 770device viaenv: acpipmtimer, sysmon_envsys 771attach viaenv at pci 772file dev/pci/viaenv.c viaenv 773 774# Intel PIIX4 power management controller 775device piixpm: i2cbus, acpipmtimer 776attach piixpm at pci 777file dev/pci/piixpm.c piixpm 778 779# AMD 768MPX power management controller 780defflag opt_amdpm.h AMDPM_RND_COUNTERS 781device amdpm: i2cbus, acpipmtimer 782attach amdpm at pci 783file dev/pci/amdpm.c amdpm 784file dev/pci/amdpm_smbus.c amdpm 785 786# Hi/fn 7751 787device hifn: opencrypto 788attach hifn at pci 789file dev/pci/hifn7751.c hifn 790 791# Bluesteelnet 5501/5601, Broadcom 580x/582x security processor 792device ubsec: opencrypto 793attach ubsec at pci 794file dev/pci/ubsec.c ubsec 795 796# Aironet PC4500/PC4800 797attach an at pci with an_pci 798file dev/pci/if_an_pci.c an_pci 799 800# ADMtek ADM8211 PCI/Mini-PCI 801attach atw at pci with atw_pci 802file dev/pci/if_atw_pci.c atw_pci 803 804# Realtek RTL8180 PCI/Mini-PCI 805attach rtw at pci with rtw_pci 806file dev/pci/if_rtw_pci.c rtw_pci 807 808# Realtek RTL8188CE Mini-PCIe 809device rtwn: ifnet, arp, wlan, firmload 810attach rtwn at pci 811file dev/pci/if_rtwn.c rtwn 812 813# Ralink RT2500/RT2600 PCI/Mini-PCI 814attach ral at pci with ral_pci 815file dev/pci/if_ral_pci.c ral_pci 816 817# Marvel Libertas Open 818attach malo at pci with malo_pci 819file dev/pci/if_malo_pci.c malo_pci 820 821# Intersil Prism2.5 Mini-PCI 822attach wi at pci with wi_pci 823file dev/pci/if_wi_pci.c wi_pci 824 825# IrDA devices 826# Toshiba Fast Infrared Type O IrDA driver 827device oboe: irbus, irdasir 828attach oboe at pci 829file dev/pci/oboe.c oboe 830 831# Middle Digital, Inc. PCI-Weasel serial console board control 832# devices (watchdog timer, etc.) 833device weasel: sysmon_wdog 834attach weasel at pci with weasel_pci 835file dev/pci/weasel_pci.c weasel 836 837# Game adapter (joystick) 838attach joy at pci with joy_pci 839file dev/pci/joy_pci.c joy_pci 840 841# ATI Mach64 framebuffer console driver 842defflag opt_machfb.h MACHFB_DEBUG 843device machfb: wsemuldisplaydev, rasops8, fb, vcons, videomode, edid, drm, glyphcache 844attach machfb at pci 845file dev/pci/machfb.c machfb 846 847# 3Dfx Voodoo3 framebuffer console driver 848device voodoofb: wsemuldisplaydev, rasops8, vcons, videomode, drm, i2cbus, i2c_bitbang, ddc_read_edid, edid 849attach voodoofb at pci 850file dev/pci/voodoofb.c voodoofb 851 852# VIA UniChrome framebuffer console driver 853device unichromefb: wsemuldisplaydev, rasops16, rasops32, vcons, drm 854attach unichromefb at pci 855file dev/pci/unichromefb.c unichromefb needs-flag 856 857# ATI Radeon framebuffer console driver 858# (Note: to enable the BIOS parser, add options RADEON_BIOS_INIT to the config) 859device radeonfb: wsemuldisplaydev, videomode, rasops8, rasops32, vcons, splash, i2cbus, i2c_bitbang, ddc_read_edid, edid, drm, glyphcache 860attach radeonfb at pci 861file dev/pci/radeonfb.c radeonfb 862file dev/pci/radeonfb_i2c.c radeonfb 863file dev/pci/radeonfb_bios.c radeonfb 864defflag opt_radeonfb.h RADEONFB_DEBUG 865defflag opt_radeonfb.h RADEONFB_BIOS_INIT 866defflag opt_radeonfb.h RADEONFB_BIOS_DEBUG 867defflag opt_radeonfb.h RADEONFB_MMAP_BARS 868defflag opt_radeonfb.h RADEONFB_DEPTH_32 869defflag opt_radeonfb.h RADEONFB_ALWAYS_ACCEL_PUTCHAR 870 871# Chelsio Terminator 3 (T3) 10 gigabit ethernet 872device cxgbc { } 873attach cxgbc at pci 874device cxgb: ether, ifnet, arp 875attach cxgb at cxgbc 876file dev/pci/cxgb/cxgb_main.c cxgbc | cxgb 877file dev/pci/cxgb/cxgb_mc5.c cxgbc | cxgb 878file dev/pci/cxgb/cxgb_vsc8211.c cxgbc | cxgb 879file dev/pci/cxgb/cxgb_ael1002.c cxgbc | cxgb 880file dev/pci/cxgb/cxgb_mv88e1xxx.c cxgbc | cxgb 881file dev/pci/cxgb/cxgb_vsc7323.c cxgbc | cxgb 882file dev/pci/cxgb/cxgb_xgmac.c cxgbc | cxgb 883file dev/pci/cxgb/cxgb_t3_hw.c cxgbc | cxgb 884file dev/pci/cxgb/cxgb_sge.c cxgbc | cxgb 885file dev/pci/cxgb/cxgb_lro.c cxgbc | cxgb 886# file dev/pci/cxgb/cxgb_offload.c cxgbc | cxgb 887file dev/pci/cxgb/cxgb_l2t.c cxgbc | cxgb 888file dev/pci/cxgb/cxgb_osdep.c cxgbc | cxgb 889 890# Chips & Technologies 65550 framebuffer console driver 891attach chipsfb at pci with chipsfb_pci 892file dev/pci/chipsfb.c chipsfb_pci 893 894# 3Com 3c990 895device txp: ether, ifnet, arp 896attach txp at pci 897file dev/pci/if_txp.c txp 898 899# SysKonnect 900device skc { } 901attach skc at pci 902device sk: ether, ifnet, arp, mii 903attach sk at skc 904file dev/pci/if_sk.c skc | sk 905 906# Broadcom 4401 10/100 Ethernet 907device bce: ether, ifnet, arp, mii 908attach bce at pci 909file dev/pci/if_bce.c bce 910 911# Intel PRO/10GbE 912device dge: ether, ifnet, arp 913attach dge at pci 914file dev/pci/if_dge.c dge 915 916# Realtek 8169 Ethernet controllers 917attach re at pci with re_pci 918file dev/pci/if_re_pci.c re_pci 919 920# Intel PRO/Wireless 2100 921device ipw: ifnet, arp, wlan, firmload 922attach ipw at pci 923file dev/pci/if_ipw.c ipw 924 925# Intel PRO/Wireless 2200BG/2915ABG 926device iwi: ifnet, arp, wlan, firmload 927attach iwi at pci 928file dev/pci/if_iwi.c iwi 929 930# Intel PRO/Wireless 3945ABG 931device wpi: ifnet, arp, wlan, firmload 932attach wpi at pci 933file dev/pci/if_wpi.c wpi 934 935# Intel PRO/Wireless 4965AGN Mini-PCI Adapter 936device iwn: ifnet, arp, wlan, firmload 937attach iwn at pci 938file dev/pci/if_iwn.c iwn 939 940# Intel Centrino 7260 941device iwm: ifnet, arp, wlan, firmload 942attach iwm at pci 943file dev/pci/if_iwm.c iwm 944 945# Workbit NinjaSCSI-32 controllers 946# device declaration in sys/conf/files 947attach njs at pci with njs_pci 948file dev/pci/njs_pci.c njs_pci 949 950# S2io Xframe 10 Gigabit ethernet (Xframe driver) 951device xge: ether, ifnet, arp 952attach xge at pci 953file dev/pci/if_xge.c xge 954 955# Via Velocity 612x 10/100/1000 Ethernet 956device vge: ether, ifnet, arp, mii 957attach vge at pci 958file dev/pci/if_vge.c vge 959 960# Atheros 5210/5211/5212 PCI/Mini-PCI 961attach ath at pci with ath_pci 962file dev/pci/if_ath_pci.c ath_pci 963 964# Atheros AR9k (802.11 a/g/n) 965attach athn at pci with athn_pci 966file dev/pci/if_athn_pci.c athn_pci 967 968# NVIDIA nForce Ethernet 969device nfe: ether, ifnet, arp, mii, mii_phy 970attach nfe at pci 971file dev/pci/if_nfe.c nfe 972 973# MICREL Etherent 974device kse: ether, ifnet, arp, mii 975attach kse at pci 976file dev/pci/if_kse.c kse 977 978# Yukon 2 979device mskc { } 980attach mskc at pci 981device msk: ether, ifnet, arp, mii 982attach msk at mskc 983file dev/pci/if_msk.c mskc | msk 984 985# SD Host Controller 986attach sdhc at pci with sdhc_pci 987file dev/pci/sdhc_pci.c sdhc_pci 988 989# generic framebuffer console driver, PCI frontend 990attach genfb at pci with genfb_pci : splash 991file dev/pci/genfb_pci.c genfb_pci 992 993# NVIDIA nForce2/3/4 SMBus controller 994device nfsmbc { } 995attach nfsmbc at pci 996device nfsmb: i2cbus 997attach nfsmb at nfsmbc 998file dev/pci/nfsmb.c nfsmbc | nfsmb 999 1000# Intel ICH SMBus controller 1001device ichsmb: i2cbus 1002attach ichsmb at pci 1003file dev/pci/ichsmb.c ichsmb 1004 1005# ATI Rage 128 framebuffer console driver 1006device r128fb: wsemuldisplaydev, rasops8, rasops32, vcons, videomode, i2cbus, i2c_bitbang, glyphcache 1007attach r128fb at pci 1008file dev/pci/r128fb.c r128fb 1009defflag opt_r128fb.h R128FB_DEBUG 1010defflag opt_r128fb.h R128FB_WAIT 1011 1012# Attansic/Atheros L1 Gigabit-Ethernet 1013device age: ether, ifnet, arp, mii, mii_phy 1014attach age at pci 1015file dev/pci/if_age.c age 1016 1017# Attansic/Atheros L1C/L2C Gigabit Ethernet 1018device alc: ether, ifnet, arp, mii, mii_phy 1019attach alc at pci 1020file dev/pci/if_alc.c alc 1021 1022# Attanisc/Atheros L1E Gigabit Ethernet 1023device ale: ether, ifnet, arp, mii, mii_phy 1024attach ale at pci 1025file dev/pci/if_ale.c ale 1026 1027# Atheros/Attansic L2 Fast-Ethernet 1028device lii: ether, ifnet, arp, mii 1029attach lii at pci 1030file dev/pci/if_lii.c lii 1031 1032# Silicon Image SteelVine SATA-II controllers 1033attach siisata at pci with siisata_pci 1034file dev/pci/siisata_pci.c siisata_pci 1035 1036# Acer Labs M7101 power management controller 1037device alipm: i2cbus 1038attach alipm at pci 1039file dev/pci/alipm.c alipm 1040 1041# 1042# Broadcom AirForce / Apple Airport Extreme 1043# 1044attach bwi at pci with bwi_pci 1045file dev/pci/if_bwi_pci.c bwi_pci 1046 1047# Broadcom FullMAC USB wireless adapter 1048attach bwfm at pci with bwfm_pci: firmload 1049file dev/pci/if_bwfm_pci.c bwfm_pci 1050 1051# Marvell Serial-ATA Host Controller 1052attach mvsata at pci with mvsata_pci 1053file dev/pci/mvsata_pci.c mvsata_pci 1054 1055include "dev/pci/voyager/files.voyager" 1056# Silicon Motion SM502 / Voyager GX 1057device voyager: i2c_bitbang, voyagerbus, i2cbus 1058attach voyager at pci 1059file dev/pci/voyager.c voyager 1060defflag opt_voyager.h VOYAGER_DEBUG 1061 1062# High Definition Audio 1063attach hdaudio at pci with hdaudio_pci 1064file dev/pci/hdaudio_pci.c hdaudio_pci 1065 1066# Permedia 2 / Sun PGX32 / Raptor 1067device pm2fb: wsemuldisplaydev, rasops8, rasops32, vcons, videomode, i2cbus, i2c_bitbang, ddc_read_edid, edid, glyphcache 1068attach pm2fb at pci 1069file dev/pci/pm2fb.c pm2fb 1070defflag opt_pm2fb.h PM2FB_DEBUG 1071 1072# Permedia 3 / Oxygen VX1 / Proformance 3 1073device pm3fb: wsemuldisplaydev, rasops8, vcons, videomode, i2cbus, i2c_bitbang, ddc_read_edid, edid 1074attach pm3fb at pci 1075file dev/pci/pm3fb.c pm3fb 1076 1077# 3Dlabs Wildcat / Sun XVR-500, 1200, Expert3D etc. 1078device wcfb: wsemuldisplaydev, rasops8, vcons 1079attach wcfb at pci 1080file dev/pci/wcfb.c wcfb 1081defflag opt_wcfb.h WCFB_DEBUG 1082 1083# Domex 536, 5380-compatible SCSI HBA 1084attach nca at pci with nca_pci 1085file dev/pci/nca_pci.c nca_pci 1086 1087# Agere ET1310/1301 Ethernet 1088device et: ether, ifnet, arp, mii, mii_phy 1089attach et at pci 1090file dev/pci/if_et.c et 1091 1092# RDC Semiconductor R6040 10/100 Ethernet 1093device vte: ether, ifnet, arp, mii, mii_phy 1094attach vte at pci 1095file dev/pci/if_vte.c vte 1096 1097# Conexant CX23880-series DTV interface 1098device cxdtv: dtvbus, i2c_bitbang, i2cbus, i2cexec, tvpll, nxt2k, lg3303 1099attach cxdtv at pci 1100file dev/pci/cxdtv.c cxdtv 1101file dev/pci/cxdtv_boards.c cxdtv 1102 1103# Conexant CX23885-series DTV interface 1104device coram: dtvbus, i2cbus, i2cexec, mt2131, cx24227 1105attach coram at pci 1106file dev/pci/coram.c coram 1107 1108# QUANCOM Electronic GmbH PWDOG1 1109device pwdog: sysmon_envsys 1110attach pwdog at pci 1111file dev/pci/pwdog.c pwdog 1112 1113# IBM 4810 BSP cash drawer port 1114device ibmcd: gpiobus 1115attach ibmcd at pci 1116file dev/pci/ibmcd.c ibmcd 1117 1118# SIS 315 Pro frame buffer 1119device sisfb: wsemuldisplaydev, rasops8, rasops15, rasops16, rasops32, vcons 1120attach sisfb at pci 1121file dev/pci/sisfb.c sisfb needs-flag 1122 1123attach virtio at pci with virtio_pci 1124file dev/pci/virtio_pci.c virtio_pci 1125 1126# Silicon Motion SM712(LynxEM+) frame buffer 1127device lynxfb: wsemuldisplaydev, rasops16 1128attach lynxfb at pci 1129file dev/pci/lynxfb.c lynxfb needs-flag 1130 1131include "dev/pci/igma/files.igma" 1132# Intel GMA 1133device igma: igmabus, i2cbus, i2c_bitbang, ddc_read_edid, edid 1134attach igma at pci 1135file dev/pci/igma.c igma 1136 1137# 3Dfx Voodoo Graphics 1138defflag opt_tdvfb.h TDVFB_CONSOLE 1139device tdvfb: wsemuldisplaydev, rasops16, rasops32, vcons, videomode 1140attach tdvfb at pci 1141file dev/pci/tdvfb.c tdvfb 1142 1143# nvidia geforce framebuffer console driver 1144device gffb: wsemuldisplaydev, rasops8, vcons, videomode, i2cbus, i2c_bitbang, glyphcache 1145attach gffb at pci 1146file dev/pci/gffb.c gffb 1147defflag opt_gffb.h GFFB_DEBUG 1148 1149# Realtek RTS5209/RTS5229 Card Reader driver 1150attach rtsx at pci with rtsx_pci 1151file dev/pci/rtsx_pci.c rtsx_pci 1152 1153# NVM Express Controller 1154attach nvme at pci with nvme_pci 1155file dev/pci/nvme_pci.c nvme_pci 1156 1157# PCI graphics devices with DRM/KMS 1158include "external/bsd/drm2/pci/files.drmkms_pci" 1159 1160# Intel S1200,C2000 (non-pch) SMBus controller 1161device ismt: i2cbus 1162attach ismt at pci 1163file dev/pci/ismt.c ismt 1164 1165# Amazon Elastic Network Adapter (ENA) family 1166device ena: ether, ifnet, arp 1167attach ena at pci 1168file dev/pci/if_ena.c ena 1169file external/bsd/ena-com/ena_com.c ena 1170file external/bsd/ena-com/ena_eth_com.c ena 1171 1172# Intel QuickAssist 1173device qat: opencrypto, firmload 1174attach qat at pci 1175file dev/pci/qat/qat.c qat 1176file dev/pci/qat/qat_ae.c qat 1177file dev/pci/qat/qat_hw15.c qat 1178file dev/pci/qat/qat_hw17.c qat 1179file dev/pci/qat/qat_c2xxx.c qat 1180file dev/pci/qat/qat_c3xxx.c qat 1181file dev/pci/qat/qat_c62x.c qat 1182file dev/pci/qat/qat_d15xx.c qat 1183 1184# Intel Ethernet 700 Series 1185device ixl: ether, ifnet, arp 1186attach ixl at pci 1187file dev/pci/if_ixl.c ixl 1188