files.pci revision 1.46
1#	$NetBSD: files.pci,v 1.46 1998/09/26 16:20:31 dante 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
7defopt	PCIVERBOSE
8
9device	pci {[dev = -1], [function = -1]}
10attach	pci at pcibus
11file	dev/pci/pci.c			pci needs-flag
12file	dev/pci/pci_map.c		pci
13file	dev/pci/pci_quirks.c		pci
14file	dev/pci/pci_subr.c		pci
15
16# Adaptec 3940, 2940, and aic78[5678]0 SCSI controllers
17# device declaration in sys/conf/files
18attach	ahc at pci with ahc_pci
19file	dev/pci/ahc_pci.c		ahc_pci
20file	dev/ic/smc93cx6.c		ahc_pci
21
22# AdvanSys 1200A, 1200B, and ULTRA SCSI controllers
23# device declaration in sys/conf/files
24attach	adv at pci with adv_pci
25file	dev/pci/adv_pci.c		adv_pci
26file	dev/ic/advlib.c			adv_pci
27file	dev/ic/advmcode.c		adv_pci
28
29# AdvanSys ULTRA WIDE SCSI controllers
30# device declaration in sys/conf/files
31attach  adw at pci with adw_pci
32file    dev/pci/adw_pci.c               adw_pci
33file    dev/ic/adwlib.c                 adw_pci
34file    dev/ic/adwmcode.c               adw_pci
35
36# BusLogic BT-9xx PCI family
37# device declaration in sys/conf/files
38attach	bha at pci with bha_pci
39file	dev/pci/bha_pci.c		bha_pci
40
41# Qlogic ISP 10x0 (PCI) family
42# device declaration in sys/conf/files
43attach	isp at pci with isp_pci
44file	dev/pci/isp_pci.c		isp_pci
45
46# Ethernet driver for DC21040-based boards
47device	de: ether, ifnet, arp
48attach	de at pci
49file	dev/pci/if_de.c			de
50
51# Efficient Networks, Inc. ATM interface
52# device declaration in sys/conf/files
53attach	en at pci with en_pci
54file    dev/pci/if_en_pci.c		en_pci
55
56# 3Com 3c590 and 3c595 Ethernet controllers
57# device declaration in sys/conf/files
58attach	ep at pci with ep_pci
59file	dev/pci/if_ep_pci.c		ep_pci
60
61# Digital DEFPA PCI FDDI Controller
62device	fpa: pdq, fddi, ifnet, arp
63attach	fpa at pci
64file	dev/pci/if_fpa.c		fpa
65
66# AMD am7990 (LANCE) -based Ethernet controllers
67# device declaration in sys/conf/files
68attach	le at pci with le_pci: le32
69file	dev/pci/if_le_pci.c		le_pci
70
71# NCR 53c8xx SCSI chips
72device	ncr: scsi
73attach	ncr at pci
74file	dev/pci/ncr.c			ncr
75
76# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT
77# XXX BECAUSE NOT ALL PORTS USE THE MI DRIVER YET.  (when the conf/files
78# XXX and files.isa bogons are fixed, this can be fixed as well.)
79
80# # PCI IDE controllers
81# device	pciide {[channel = -1]}
82# attach	pciide at pci
83# file	dev/pci/pciide.c		pciide
84# attach	wdc at pciide with wdc_pciide
85# file	dev/pci/wdc_pciide.c		wdc_pciide
86
87# PCI-PCI bridge chips
88device	ppb: pcibus
89attach	ppb at pci
90file	dev/pci/ppb.c			ppb
91
92# Cyclades Cyclom-8/16/32 
93attach	cy at pci with cy_pci
94file	dev/pci/cy_pci.c		cy_pci
95
96# Intel EtherExpress PRO 10/100B
97device	fxp: ether, ifnet, arp, mii
98attach	fxp at pci 
99file	dev/pci/if_fxp.c		fxp
100
101# NE2000-compatible PCI Ethernet cards
102attach	ne at pci with ne_pci
103file	dev/pci/if_ne_pci.c		ne_pci
104
105# Texas Instruments ThunderLAN Chip.
106device  tl: ether, ifnet, arp, i2c, i2c_eeprom, mii
107attach  tl at pci
108file    dev/pci/if_tl.c     tl
109
110# SDL Communications N2 PCI Network Interface
111device	ntwoc: ifnet, hd64570
112attach	ntwoc at pci with ntwoc_pci
113file	dev/pci/if_ntwoc_pci.c		ntwoc_pci
114
115# Essential Communications HIPPI interface
116# device declaration in sys/conf/files
117attach  esh at pci with esh_pci
118file    dev/pci/if_esh_pci.c            esh_pci
119
120# generic PCI VGA
121attach	vga at pci with vga_pci
122file	dev/pci/vga_pci.c	vga_pci	needs-flag
123
124# DEC TGA
125device	tga: wsemuldisplaydev, wsrasteremulops
126attach	tga at pci
127file	dev/pci/tga.c		tga		needs-flag
128file	dev/pci/tga_conf.c	tga
129file	dev/pci/tga_bt463.c	tga
130file	dev/pci/tga_bt485.c	tga
131
132# Ensoniq AudioPCI S5016
133device	eap: audio, auconv, mulaw
134attach	eap at pci
135file	dev/pci/eap.c			eap
136
137# SMC EPIC/100 Fast Ethernet on PCI
138attach	epic at pci with epic_pci
139file	dev/pci/if_epic_pci.c		epic_pci
140
141# PCI "universal" communication device driver, for PCI com, lpt, etc. ports
142# (see documentation in the driver for what, exactly, should be supported)
143device	puc { port = -1 }
144attach	puc at pci
145file	dev/pci/puc.c		puc
146file	dev/pci/pucdata.c	puc
147
148attach	com at puc with com_puc
149file	dev/pci/com_puc.c	com_puc
150
151# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT
152# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files.
153# XXX (when the conf/files and files.isa bogons are fixed, this can
154# XXX be fixed as well.)
155
156# attach	lpt at puc with lpt_puc
157# file	dev/pci/lpt_puc.c	lpt_puc
158
159# UHCI USB controller
160attach	uhci at pci with uhci_pci
161file	dev/pci/uhci_pci.c		uhci
162
163# OHCI USB controller
164attach	ohci at pci with ohci_pci
165file	dev/pci/ohci_pci.c		ohci
166