NetBSD/sys/dev/pci/files.pci

718 lines
18 KiB
Plaintext

# $NetBSD: files.pci,v 1.215 2004/08/12 04:23:02 thorpej Exp $
#
# Config file and device description for machine-independent PCI code.
# Included by ports that need it. Requires that the SCSI files be
# defined first.
defflag opt_pci.h PCIVERBOSE PCI_CONFIG_DUMP PCI_NETBSD_CONFIGURE
defparam opt_pci.h PCI_NETBSD_ENABLE_IDE
defflag opt_bktr.h BKTR_430_FX_MODE BKTR_GPIO_ACCESS BKTR_NO_MSP_RESET
BKTR_REVERSE_MUTE BKTR_SIS_VIA_MODE BKTR_USE_PLL
defparam opt_bktr.h BKTR_OVERRIDE_CARD BKTR_OVERRIDE_TUNER BKTR_OVERRIDE_DBX
BKTR_OVERRIDE_MSP BKTR_SYSTEM_DEFAULT
defflag opt_pciide.h PCIIDE_CMD064x_DISABLE PCIIDE_AMD756_ENABLEDMA
PCIIDE_CMD0646U_ENABLEUDMA
defflag opt_pcn.h PCN_NO_PROM
device pci {[dev = -1], [function = -1]}
attach pci at pcibus
file dev/pci/pci.c pci needs-flag
file dev/pci/pci_map.c pci
file dev/pci/pci_quirks.c pci
file dev/pci/pci_subr.c pci
file dev/pci/pci_usrreq.c pci
file dev/pci/pciconf.c pci & pci_netbsd_configure
# Cypress 82c693 hyperCache(tm) Stand-Alone PCI Peripheral Controller
# with USB. This is a combo chip:
#
# PCI-ISA bridge
# PCI IDE controller
# OHCI USB controller
#
# There are some common subroutines that each function needs.
define cy82c693
file dev/pci/cy82c693.c cy82c693
# Adaptec 3940, 2940, and aic78[5678]0 SCSI controllers
# device declaration in sys/conf/files
attach ahc at pci with ahc_pci: ahc_seeprom, smc93cx6
file dev/pci/ahc_pci.c ahc_pci
attach ahd at pci with ahd_pci
file dev/pci/ahd_pci.c ahd_pci
# I2O adapters
attach iop at pci with iop_pci
file dev/pci/iop_pci.c iop_pci
# 3ware RAID controllers
device twe {unit = -1}
attach twe at pci
file dev/pci/twe.c twe
attach ld at twe with ld_twe
file dev/pci/ld_twe.c ld_twe
# AMI RAID controllers
device amr {unit = -1}
attach amr at pci
file dev/pci/amr.c amr
attach ld at amr with ld_amr
file dev/pci/ld_amr.c ld_amr
# Compaq RAID controllers
attach cac at pci with cac_pci
file dev/pci/cac_pci.c cac_pci
# Mylex DAC960 RAID controllers
attach mlx at pci with mlx_pci
file dev/pci/mlx_pci.c mlx_pci
# Newer Mylex AcceleRAID and eXtremeRAID controllers
device mly: scsi
attach mly at pci
file dev/pci/mly.c mly needs-flag
# Myson-Century Technology MTD803 3-in-1 Fast Ethernet Controller
attach mtd at pci with mtd_pci
file dev/pci/if_mtd_pci.c mtd_pci
# ICP-Vortex/Intel RAID controllers
attach icp at pci with icp_pci
file dev/pci/icp_pci.c icp_pci
# Adaptec FSA RAID controllers
attach aac at pci with aac_pci
file dev/pci/aac_pci.c aac_pci
# DPT EATA SCSI controllers
attach dpt at pci with dpt_pci
file dev/pci/dpt_pci.c dpt_pci
# AdvanSys 1200A, 1200B, and ULTRA SCSI controllers
# device declaration in sys/conf/files
attach adv at pci with adv_pci
file dev/pci/adv_pci.c adv_pci
# AdvanSys ULTRA WIDE SCSI controllers
# device declaration in sys/conf/files
attach adw at pci with adw_pci
file dev/pci/adw_pci.c adw_pci
file dev/ic/adwlib.c adw_pci
file dev/ic/adwmcode.c adw_pci
# AMD Am53c974 PCscsi-PCI SCSI controllers
device pcscp: scsi, ncr53c9x
attach pcscp at pci
file dev/pci/pcscp.c pcscp
# BusLogic BT-9xx PCI family
# device declaration in sys/conf/files
attach bha at pci with bha_pci
file dev/pci/bha_pci.c bha_pci
# Qlogic ISP 10x0 (PCI) family
# device declaration in sys/conf/files
attach isp at pci with isp_pci
file dev/pci/isp_pci.c isp_pci
# LSILogic Fusion-MPT I/O Processor family
# device declaration in sys/conf/files
attach mpt at pci with mpt_pci
file dev/pci/mpt_pci.c mpt_pci
# Ethernet driver for DC21040-based boards
device de: ether, ifnet, arp
attach de at pci
file dev/pci/if_de.c de
# Efficient Networks, Inc. ATM interface
# device declaration in sys/conf/files
attach en at pci with en_pci
file dev/pci/if_en_pci.c en_pci
# 3Com 3c590 and 3c595 Ethernet controllers
# device declaration in sys/conf/files
attach ep at pci with ep_pci
file dev/pci/if_ep_pci.c ep_pci
# 3Com 3c90x[B] Ethernet controllers
# device declaration in sys/conf/files
attach ex at pci with ex_pci
file dev/pci/if_ex_pci.c ex_pci
# Digital DEFPA PCI FDDI Controller
device fpa: pdq, fddi, ifnet, arp
attach fpa at pci
file dev/pci/if_fpa.c fpa
# AMD am7990 (LANCE) -based Ethernet controllers
# device declaration in sys/conf/files
attach le at pci with le_pci: le32
file dev/pci/if_le_pci.c le_pci
# AMD PCnet-PCI Ethernet controller family
# Supersedes if_le_pci.c
device pcn: ether, ifnet, arp, mii
attach pcn at pci
file dev/pci/if_pcn.c pcn
# common code for siop/esiop pci front end
define siop_pci_common
file dev/pci/siop_pci_common.c siop_pci_common
# Symbios 53c8xx SCSI chips
# device declaration in sys/conf/files
attach siop at pci with siop_pci: siop_pci_common
file dev/pci/siop_pci.c siop_pci
attach esiop at pci with esiop_pci: siop_pci_common
file dev/pci/esiop_pci.c esiop_pci
# Initio INIC-940/950 SCSI controllers
attach iha at pci with iha_pci
file dev/pci/iha_pci.c iha_pci
# Tekram DC-395U/UW/F and DC-315/U SCSI controllers
device trm: scsi
attach trm at pci
file dev/pci/trm.c trm
# Guillemot Maxi Radio FM 2000 Radio Card
device gtp: radiodev, tea5757
attach gtp at pci
file dev/pci/gtp.c gtp
# MediaForte SoundForte SF64-PCR Radio card
#device sf4r: radiodev, tea5757
#attach sf4r at pci
#file dev/pci/sf64pcr.c sf4r
# PCI IDE controllers
define pciide_common
file dev/pci/pciide_common.c pciide_common
device pciide {[channel = -1]}: ata, pciide_common, wdc_common
attach pciide at pci
file dev/pci/pciide.c pciide
# Acard IDE controllers
device acardide {[channel = -1]}: ata, pciide_common, wdc_common
attach acardide at pci
file dev/pci/acardide.c acardide
# Acer Lab IDE controllers
device aceride {[channel = -1]}: ata, pciide_common, wdc_common
attach aceride at pci
file dev/pci/aceride.c aceride
# Intel i31244 SATA controller
device artsata {[channel = -1]}: ata, pciide_common, wdc_common
attach artsata at pci
file dev/pci/artsata.c artsata
# CMD tech IDE controllers
device cmdide {[channel = -1]}: ata, pciide_common, wdc_common
attach cmdide at pci
file dev/pci/cmdide.c cmdide
# Cypress IDE controllers
device cypide {[channel = -1]}: ata, pciide_common, wdc_common, cy82c693
attach cypide at pci
file dev/pci/cypide.c cypide
# AMD Geode IDE controllers
device geodeide {[channel = -1]}: ata, pciide_common, wdc_common
attach geodeide at pci
file dev/pci/geodeide.c geodeide
# Triones/HighPoint IDE controllers
device hptide {[channel = -1]}: ata, pciide_common, wdc_common
attach hptide at pci
file dev/pci/hptide.c hptide
# Opti IDE controllers
device optiide {[channel = -1]}: ata, pciide_common, wdc_common
attach optiide at pci
file dev/pci/optiide.c optiide
# Intel IDE controllers
device piixide {[channel = -1]}: ata, pciide_common, wdc_common
attach piixide at pci
file dev/pci/piixide.c piixide
# Promise IDE controllers
device pdcide {[channel = -1]}: ata, pciide_common, wdc_common
attach pdcide at pci
file dev/pci/pdcide.c pdcide
# ServerWorks IDE controllers
device rccide {[channel = -1]}: ata, pciide_common, wdc_common
attach rccide at pci
file dev/pci/rccide.c rccide
# Silicon Image SATALink controllers
device satalink {[channel = -1]}: ata, pciide_common, wdc_common, sata
attach satalink at pci
file dev/pci/satalink.c satalink
# SiS IDE controllers
device siside {[channel = -1]}: ata, pciide_common, wdc_common
attach siside at pci
file dev/pci/siside.c siside
# Symphony Labs IDE controllers
device slide {[channel = -1]}: ata, pciide_common, wdc_common
attach slide at pci
file dev/pci/slide.c slide
# ServerWorks IDE controllers
#device swide {[channel = -1]}: ata, pciide_common, wdc_common
#attach swide at pci
#file dev/pci/swide.c swide
# VIA/AMD/Nvidia IDE controllers
device viaide {[channel = -1]}: ata, pciide_common, wdc_common
attach viaide at pci
file dev/pci/viaide.c viaide
# STMicroelectronics STPC IDE controllers
device stpcide {[channel = -1 ]}: ata, pciide_common, wdc_common
attach stpcide at pci
file dev/pci/stpcide.c stpcide
# PCI-PCI bridge chips
device ppb: pcibus
attach ppb at pci
file dev/pci/ppb.c ppb
# Cyclades Cyclom-8/16/32
attach cy at pci with cy_pci
file dev/pci/cy_pci.c cy_pci
# Cyclades-Z series of intelligent multi-port serial adapters
device cz
attach cz at pci
file dev/pci/cz.c cz needs-flag
# Intel EtherExpress PRO 10/100B
attach fxp at pci with fxp_pci
file dev/pci/if_fxp_pci.c fxp_pci
# Sun HME-network
attach hme at pci with hme_pci
file dev/pci/if_hme_pci.c hme_pci
# Sun GEM-network
attach gem at pci with gem_pci
file dev/pci/if_gem_pci.c gem_pci
# NE2000-compatible PCI Ethernet cards
defparam opt_ipkdb.h IPKDB_NE_PCISLOT
defflag opt_ipkdb.h IPKDB_NE_PCI : IPKDB_NE
attach ne at pci with ne_pci: rtl80x9
file dev/pci/if_ne_pci.c ne_pci | ipkdb_ne_pci
# Texas Instruments ThunderLAN Chip.
device tl: ether, ifnet, arp, i2cexec, at24cxx_eeprom, i2c_bitbang,
mii, mii_bitbang
attach tl at pci
file dev/pci/if_tl.c tl
# SDL Communications N2 PCI Network Interface
# device declaration in sys/conf/files
attach ntwoc at pci with ntwoc_pci
file dev/pci/if_ntwoc_pci.c ntwoc_pci
# Lan Media Corporation T1/HSSI/DS3 driver
device lmc: ifnet, sppp
attach lmc at pci
file dev/pci/if_lmc.c lmc
file dev/pci/if_lmc_common.c lmc
file dev/pci/if_lmc_media.c lmc
file dev/pci/if_lmc_nbsd.c lmc
# Essential Communications HIPPI interface
# device declaration in sys/conf/files
attach esh at pci with esh_pci
file dev/pci/if_esh_pci.c esh_pci
# generic PCI VGA
attach vga at pci with vga_pci
file dev/pci/vga_pci.c vga_pci needs-flag
# DEC TGA
device tga: wsemuldisplaydev, rasops8, rasops32
attach tga at pci
file dev/pci/tga.c tga needs-flag
file dev/pci/tga_conf.c tga
file dev/ic/bt485.c tga
file dev/ic/bt463.c tga
file dev/ic/ibm561.c tga
# Integraphics Systems IGA168x and CyberPro framebuffers (linear non-VGA mode)
# device declaration in sys/conf/files
attach igsfb at pci with igsfb_pci
file dev/pci/igsfb_pci.c igsfb_pci
# Brooktree Bt848 video capture
device bktr: pcibus, radiodev
attach bktr at pci
file dev/pci/bktr/bktr_audio.c bktr
file dev/pci/bktr/bktr_card.c bktr
file dev/pci/bktr/bktr_core.c bktr
file dev/pci/bktr/bktr_os.c bktr needs-flag
file dev/pci/bktr/bktr_tuner.c bktr
# Cirrus Logic CrystalClear PCI Audio CS4280
device clcs: audiobus, auconv, mulaw, ac97, midibus
attach clcs at pci
file dev/pci/cs4280.c clcs
# Cirrus Logic CrystalClear PCI Audio CS4281
device clct: audiobus, auconv, mulaw, ac97
attach clct at pci
file dev/pci/cs4281.c clct
# Shared code for Cirrus Logic CrystalClear PCI Audio CS4280 and CS4281
file dev/pci/cs428x.c clcs | clct
# Forte Media FM801
device fms { }: audiobus, auconv, mulaw, ac97, midibus
attach fms at pci
file dev/pci/fms.c fms
attach opl at fms with opl_fms
file dev/pci/opl_fms.c opl_fms
attach mpu at fms with mpu_fms
file dev/pci/mpu_fms.c mpu_fms
# Ensoniq AudioPCI S5016
device eap { }: audiobus, auconv, mulaw, ac97, midibus
attach eap at pci
file dev/pci/eap.c eap
attach joy at eap with joy_eap
file dev/pci/joy_eap.c joy_eap needs-flag
# Intel ICH AC'97 audio
device auich: audiobus, auconv, mulaw, ac97, aurateconv
attach auich at pci
file dev/pci/auich.c auich
# VIA VT82C686A/VT8233/VT8235 AC'97 Audio
device auvia: audiobus, auconv, mulaw, ac97, aurateconv
attach auvia at pci
file dev/pci/auvia.c auvia
# NeoMagic 256 AC'97 Audio
device neo: audiobus, auconv, mulaw, ac97
attach neo at pci
file dev/pci/neo.c neo
# ESS Allegro-1 / Maestro3
device esa: audiobus, auconv, mulaw, ac97
attach esa at pci
file dev/pci/esa.c esa
# ESS Solo-1 PCI AudioDrive
device eso { }: audiobus, auconv, mulaw, midibus
attach eso at pci
file dev/pci/eso.c eso
attach opl at eso with opl_eso
file dev/pci/opl_eso.c opl_eso
attach mpu at eso with mpu_eso
file dev/pci/mpu_eso.c mpu_eso
attach joy at eso with joy_eso
file dev/pci/joy_eso.c joy_eso
# ESS Maestro-1/2/2e PCI AC97 Audio Accelerator
device esm: audiobus, auconv, mulaw, ac97
attach esm at pci
file dev/pci/esm.c esm
# S3 SonicVibes (S3 617)
device sv { }: audiobus, auconv, mulaw, midibus
attach sv at pci
file dev/pci/sv.c sv
attach opl at sv with opl_sv
file dev/pci/opl_sv.c opl_sv
# C-Media CMI8x38 Audio Chip
device cmpci { }: audiobus, auconv, mulaw
attach cmpci at pci
file dev/pci/cmpci.c cmpci
attach opl at cmpci with opl_cmpci
file dev/pci/opl_cmpci.c opl_cmpci
attach mpu at cmpci with mpu_cmpci
file dev/pci/mpu_cmpci.c mpu_cmpci
# Yamaha YMF724/740/744/754 PCI audio controller
device yds { }: audiobus, auconv, mulaw, ac97
attach yds at pci
file dev/pci/yds.c yds
attach opl at yds with opl_yds
file dev/pci/opl_yds.c opl_yds
attach mpu at yds with mpu_yds
file dev/pci/mpu_yds.c mpu_yds
# Creative Labs EMU10k1 (SBLive! series and PCI512)
device emuxki: audiobus, auconv, mulaw, ac97
attach emuxki at pci
file dev/pci/emuxki.c emuxki
# Trident 4DWAVE AC'97 audio (including SiS 7018,ALi M5451)
device autri: audiobus, auconv, mulaw, ac97, midibus
attach autri at pci
file dev/pci/autri.c autri
# SMC EPIC/100 Fast Ethernet on PCI
attach epic at pci with epic_pci
file dev/pci/if_epic_pci.c epic_pci
# PCI "universal" communication device driver, for PCI com, lpt, etc. ports
# (see documentation in the driver for what, exactly, should be supported)
device puc { port = -1 }
attach puc at pci
file dev/pci/puc.c puc
file dev/pci/pucdata.c puc
attach com at puc with com_puc
file dev/pci/com_puc.c com_puc
file dev/pci/cyber.c com_puc
attach lpt at puc with lpt_puc
file dev/pci/lpt_puc.c lpt_puc & !ppbus
attach atppc at puc with atppc_puc
file dev/pci/atppc_puc.c atppc_puc
# Console device support for puc drivers
defflag opt_puccn.h PUCCN
file dev/pci/puccn.c puccn
# UHCI USB controller
attach uhci at pci with uhci_pci
file dev/pci/uhci_pci.c uhci_pci
# OHCI USB controller
attach ohci at pci with ohci_pci
file dev/pci/ohci_pci.c ohci_pci
# EHCI USB controller
attach ehci at pci with ehci_pci
file dev/pci/ehci_pci.c ehci_pci
file dev/pci/usb_pci.c ehci_pci | ehci_cardbus
# OHCI IEEE 1394 controller
attach fwohci at pci with fwohci_pci
file dev/pci/fwohci_pci.c fwohci_pci
# IEEE 1394 TI "Lynx" controller
attach fwlynx at pci with fwlynx_pci
file dev/pci/fwlynx_pci.c fwlynx_pci
# VIA Rhine/Rhine II Fast Ethernet controllers
device vr: ether, ifnet, arp, mii, mii_bitbang
attach vr at pci
file dev/pci/if_vr.c vr
# SiS 900 Fast Ethernet controllers
device sip: ether, ifnet, arp, mii, mii_bitbang
attach sip at pci
file dev/pci/if_sip.c sip
# National Semiconductor DP83820 Gigabit Ethernet
device gsip: ether, ifnet, arp, mii, mii_bitbang
attach gsip at pci
file dev/pci/if_gsip.c gsip
# Level One LXT-1001 Gigabit Ethernet
device glxt: ether, ifnet, arp, mii
attach glxt at pci
file dev/pci/if_glxt.c glxt
# Sundance Tech./Tamarack TC9021 Gigabit Ethernet
device stge: ether, ifnet, arp, mii, mii_bitbang
attach stge at pci
file dev/pci/if_stge.c stge
# Intel i8254x Gigabit Ethernet
device wm: ether, ifnet, arp, mii, mii_bitbang
attach wm at pci
file dev/pci/if_wm.c wm
# Broadcom 570x Gigabit Ethernet
device bge: ether, ifnet, arp, mii, mii_bitbang
attach bge at pci
file dev/pci/if_bge.c bge
# Realtek 8129/8139 Ethernet controllers
attach rtk at pci with rtk_pci
file dev/pci/if_rtk_pci.c rtk_pci
# DECchip 21x4x Ethernet controller family, and assorted clones.
attach tlp at pci with tlp_pci
file dev/pci/if_tlp_pci.c tlp_pci
# Bit3 PCI-VME mod. 617
device btvmei: vmebus
attach btvmei at pci
file dev/pci/btvmei.c btvmei
#file dev/pci/btvmei_dma.c btvmei
#file dev/pci/btvmei_cntlrdma.c btvmei
# Alteon ACEnic Gigabit Ethernet controller
device ti: ether, ifnet, arp
attach ti at pci
file dev/pci/if_ti.c ti
# Adaptec AIC-6915 Ethernet interface
attach sf at pci with sf_pci
file dev/pci/if_sf_pci.c sf_pci
# Sundance Tech. ST-201 10/100 Ethernet
device ste: ether, ifnet, arp, mii, mii_bitbang
attach ste at pci
file dev/pci/if_ste.c ste
# YENTA PCI-Cardbus bridge
#device cbb: cbbus, pcmciabus
device cbb: pcmciaslot
attach cbb at pci with cbb_pci
file dev/pci/pccbb.c cbb
# Tundra Universe PCI-VME adapter
define univ_pci
file dev/pci/universe_pci.c univ_pci
# Bit3 PCI-VME mod. 2706
device btvmeii: vmebus, univ_pci
attach btvmeii at pci
file dev/pci/btvmeii.c btvmeii
# VT86C686A power management
device viapm {}
attach viapm at pci
file dev/pci/viapm.c viapm
# hardware monitoring part of viapm
device viaenv: sysmon_envsys
attach viaenv at viapm
file dev/pci/viaenv.c viaenv needs-flag
# AMD 768MPX power management controller
defflag opt_amdpm.h AMDPM_RND_COUNTERS
device amdpm {}
attach amdpm at pci
file dev/pci/amdpm.c amdpm
# Hi/fn 7751
device hifn: opencrypto
attach hifn at pci
file dev/pci/hifn7751.c hifn
# Bluesteelnet 5501/5601, Broadcom 580x/582x security processor
device ubsec: opencrypto
attach ubsec at pci
file dev/pci/ubsec.c ubsec
# Aironet PC4500/PC4800
attach an at pci with an_pci
file dev/pci/if_an_pci.c an_pci
# ADMtek ADM8211 PCI/Mini-PCI
attach atw at pci with atw_pci
file dev/pci/if_atw_pci.c atw_pci
# Intersil Prism2.5 Mini-PCI
attach wi at pci with wi_pci
file dev/pci/if_wi_pci.c wi_pci
# ISDN devices
attach isic at pci with isic_pci
file dev/pci/isic_pci.c isic_pci
file dev/pci/isic_pci_elsa_qs1p.c isic_pci
# AVM T1/B1
attach iavc at pci with iavc_pci
file dev/pci/iavc_pci.c iavc_pci
device ifpci: isdndev, passive_isdn, nisac
attach ifpci at pci
file dev/pci/ifpci.c ifpci
device ifritz: isdndev, passive_isdn, nisacsx
attach ifritz at pci
file dev/pci/ifpci2.c ifritz
# Winbond W6692
device iwic: isdndev, passive_isdn
attach iwic at pci with iwic_pci
file dev/pci/iwic_pci.c iwic
file dev/pci/iwic_bchan.c iwic
file dev/pci/iwic_dchan.c iwic
file dev/pci/iwic_fsm.c iwic
# IrDA devices
# Toshiba Fast Infrared Type O IrDA driver
device oboe: irbus, irdasir
attach oboe at pci
file dev/pci/oboe.c oboe
# Middle Digital, Inc. PCI-Weasel serial console board control
# devices (watchdog timer, etc.)
device weasel: sysmon_wdog
attach weasel at pci with weasel_pci
file dev/pci/weasel_pci.c weasel
# Game adapter (joystick)
attach joy at pci with joy_pci
file dev/pci/joy_pci.c joy_pci
# ATI Mach64 framebuffer console driver
device machfb: wsemuldisplaydev, rasops8
attach machfb at pci
file dev/pci/machfb.c machfb
# 3Com 3c990
device txp: ether, ifnet, arp
attach txp at pci
file dev/pci/if_txp.c txp
# SysKonnect
device skc { }
attach skc at pci
device sk: ether, ifnet, arp, mii
attach sk at skc
file dev/pci/if_sk.c skc | sk
# Broadcom 4401 10/100 Ethernet
device bce: ether, ifnet, arp, mii
attach bce at pci
file dev/pci/if_bce.c bce
# Intel PRO/10GbE
device dge: ether, ifnet, arp
attach dge at pci
file dev/pci/if_dge.c dge
# Realtek 8129/8139 Ethernet controllers
attach re at pci
file dev/pci/if_re.c re