#	$OpenBSD: files.pci,v 1.108 2001/06/21 13:21:49 nate Exp $
#	$NetBSD: files.pci,v 1.20 1996/09/24 17:47:15 christos 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.

device	pci {[dev = -1], [function = -1]}
attach	pci at pcibus
file	sys/dev/pci/pciconf.c		pci 
file	sys/dev/pci/pci_map.c		pci
file	sys/dev/pci/pci.c		pci

# Ethernet driver for DC21040-based boards
device	de: ether, ifnet, ifmedia
attach	de at pci
file	sys/dev/pci/if_de.c		de

# Ethernet driver for fxp-based boards
device	fxp: ether, ifnet, ifmedia, mii
attach	fxp at pci
file	sys/dev/pci/if_fxp.c		fxp

# DEC/Intel 21143 and "tulip" clone ethernet
attach	dc at pci with dc_pci
file	sys/dev/pci/if_dc_pci.c		dc_pci

# Ethernet driver for wx-based boards
device	wx: ether, ifnet, ifmedia, mii, mii_phy
attach	wx at pci
file	sys/dev/pci/if_wx.c		wx

# NCR 53c8xx SCSI chips
device	ncr: scsi
attach	ncr at pci
file	sys/dev/pci/ncr.c		ncr

# Symbios 53c8xx SCSI chips
# device declaration in sys/conf/files
define	siop_pci_common
file	sys/dev/pci/siop_pci_common.c	siop_pci_common
#
attach	siop at pci with siop_pci: siop_pci_common
file	sys/dev/pci/siop_pci.c		siop_pci

# UHCI USB controller
#attach  uhci at pci with uhci_pci
#file	sys/dev/pci/uhci_pci.c              uhci

# LSI MPI driver
attach	mpi at pci with mpi_pci
file	sys/dev/pci/mpi_pci.c		mpi_pci

# PCI IDE controllers
device	pciide {[channel = -1]}: wdc_base, ata, atapi, ide
attach	pciide at pci
file	sys/dev/pci/pciide.c		pciide

# PCI-PCI bridge chips
device	nppb: pcibus
attach	nppb at pci
file	sys/dev/pci/nppb.c		nppb

device  ppb: pcibus
attach  ppb at pci
file    sys/dev/pci/ppb.c              ppb

file	sys/dev/pci/pcidevs.c		pci

