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