files.alpha revision 1.48
1#	$OpenBSD: files.alpha,v 1.48 2001/05/11 06:41:36 deraadt Exp $
2#	$NetBSD: files.alpha,v 1.32 1996/11/25 04:03:21 cgd Exp $
3#
4# alpha-specific configuration info
5
6# maxpartitions must be first item in files.${ARCH}
7maxpartitions 16
8
9maxusers 2 8 64
10
11# this loses, but there's no way to define attributes which have attributes
12define	alpha_shared_intr
13file	arch/alpha/dev/shared_intr.c	alpha_shared_intr | dec_eb164 |
14					dec_kn20aa | dec_6600 | dec_550
15
16define	alpha_sgmap
17file	arch/alpha/dev/sgmap_common.c alpha_sgmap | dec_3000_500
18
19#
20# Bus-independent devices
21#
22
23device	mainbus { }			# no locators (yet?)
24attach	mainbus at root
25
26device	cpu { }				# not really optional
27attach	cpu at mainbus
28file	arch/alpha/alpha/cpu.c		cpu
29
30major { ccd = 7 }
31major { vnd = 9 }
32
33#
34# Media Indepedent Interface (mii)
35#
36include "../../../dev/mii/files.mii"
37
38#
39# Machine-independent SCSI drivers
40#
41
42include "scsi/files.scsi"
43major { st = 2 }
44major { cd = 3 }
45major { sd = 8 }
46
47# RAM Disk
48file	dev/rd.c			ramdisk_hooks
49major { rd = 6 }
50
51# Raster operations
52include "dev/rasops/files.rasops"
53include "dev/wsfont/files.wsfont"
54
55#
56# "workstation console" routines
57#
58
59include "dev/wscons/files.wscons"
60
61#
62# TurboChannel Devices
63#
64
65include "dev/tc/files.tc"
66
67device	tcasic: tcbus
68attach	tcasic at mainbus
69file	arch/alpha/tc/tcasic.c		tcasic
70file	arch/alpha/tc/tc_bus_mem.c	tcasic
71file	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
72file	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
73
74# the TurboChannel IOCTL ASIC
75device	ioasic { offset = -1 }
76attach	ioasic at tc
77file	arch/alpha/tc/ioasic.c		ioasic
78
79# Color Frame buffer
80device	cfb: wsemuldisplaydev, wsrasteremulops
81attach	cfb at tc
82file	arch/alpha/tc/cfb.c		cfb
83
84# Smart Frame buffer
85device	sfb: wsemuldisplaydev, wsrasteremulops
86attach	sfb at tc
87file	arch/alpha/tc/sfb.c		sfb
88
89# 8530 UARTs
90device	scc
91attach	scc at ioasic
92file	arch/alpha/tc/scc.c		scc		needs-count
93
94# the TCDS ASIC
95device	tcds { slot = -1 }
96attach	tcds at tc
97file	arch/alpha/tc/tcds.c		tcds		needs-count
98
99# 53C[F]90 SCSI
100device asc: scsi
101attach	asc at tcds
102file	arch/alpha/tc/asc.c		asc		needs-count
103file	arch/alpha/tc/tcds_dma.c	asc
104
105# Baseboard Lance ethernet.
106attach	le at ioasic with le_ioasic
107attach	le at tc with le_tc
108file	dev/tc/if_le_dec.c		(le_ioasic | le_tc)
109file	dev/tc/if_le_ioasic.c		le_ioasic	needs-flag #for le_iomem
110file	dev/tc/if_le_tc.c		le_tc
111
112#
113# ISA Bus support
114#
115
116#
117# Machine-independent ATAPI drivers
118#
119
120include "dev/atapiscsi/files.atapiscsi"
121include "dev/ata/files.ata"
122
123# XXX Dummy bus needed for some multi-homed devices specified in files.isa
124define	pcmcia {}
125
126include "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
127include "dev/isa/files.isa"
128major { wd = 0 }
129
130#
131# ISA Bus devices
132#
133
134file	arch/alpha/isa/isa_machdep.c	isa
135
136include "dev/pckbc/files.pckbc"
137
138# National Semiconductor DS8390/WD83C690-based boards
139# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones)
140# XXX conflicts with other ports; can't be in files.isa
141device	ed: ether, ifnet
142attach	ed at isa with ed_isa
143attach	ed at pcmcia with ed_pcmcia
144attach	ed at pci with ed_pci
145file	dev/isa/if_ed.c			ed & (ed_isa | ed_pcmcia | ed_pci) needs-flag
146
147#
148# EISA Bus support
149#
150
151include "dev/eisa/files.eisa"
152
153
154#
155# PCI Bus support
156#
157
158# include "dev/pci/files.pci" XXX SEE ABOVE
159
160file    arch/alpha/pci/pciide_machdep.c  pci
161
162define	alpha_pci_sgmap_pte64
163file	arch/alpha/pci/pci_sgmap_pte64.c	alpha_pci_sgmap_pte64
164
165device	apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
166attach	apecs at mainbus
167file	arch/alpha/pci/apecs.c		apecs
168file	arch/alpha/pci/apecs_bus_io.c	apecs
169file	arch/alpha/pci/apecs_bus_mem.c	apecs
170file	arch/alpha/pci/apecs_pci.c	apecs
171file	arch/alpha/pci/apecs_dma.c	apecs
172
173device	lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
174attach	lca at mainbus
175file	arch/alpha/pci/lca.c		lca
176file	arch/alpha/pci/lca_bus_io.c	lca
177file	arch/alpha/pci/lca_bus_mem.c	lca
178file	arch/alpha/pci/lca_pci.c	lca
179file	arch/alpha/pci/lca_dma.c	lca
180
181device	cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
182attach	cia at mainbus
183file	arch/alpha/pci/cia.c		cia
184file	arch/alpha/pci/cia_dma.c	cia
185file	arch/alpha/pci/cia_pci.c	cia
186file	arch/alpha/pci/cia_bus_io.c	cia
187file	arch/alpha/pci/cia_bus_mem.c	cia
188file	arch/alpha/pci/cia_bwx_bus_io.c	cia
189file	arch/alpha/pci/cia_bwx_bus_mem.c	cia
190
191device	irongate: pcibus
192attach	irongate at mainbus
193file	arch/alpha/pci/irongate.c		irongate
194file	arch/alpha/pci/irongate_bus_io.c	irongate
195file	arch/alpha/pci/irongate_bus_mem.c	irongate
196file	arch/alpha/pci/irongate_dma.c		irongate
197file	arch/alpha/pci/irongate_pci.c		irongate
198
199device  tsc { }
200attach  tsc at mainbus
201file    arch/alpha/pci/tsc.c            dec_6600
202
203device  tsp: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
204attach  tsp at tsc
205file    arch/alpha/pci/tsp_dma.c        tsp
206file    arch/alpha/pci/tsp_pci.c        tsp
207file    arch/alpha/pci/tsp_bus_io.c     tsp
208file    arch/alpha/pci/tsp_bus_mem.c    tsp
209
210file	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
211file	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
212file	arch/alpha/pci/pci_eb164.c	dec_eb164
213file	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
214file	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
215file	arch/alpha/pci/pci_550.c	dec_550
216file	arch/alpha/pci/pci_6600.c	dec_6600
217file	arch/alpha/pci/pci_up1000.c	api_up1000
218
219#
220# PCI Bus devices
221#
222
223file	arch/alpha/pci/pci_machdep.c	pci
224
225device	sio: isabus, alpha_shared_intr, cy82c693
226attach	sio at pci
227device	pceb: isabus, eisabus, cy82c693
228attach	pceb at pci
229file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
230file	arch/alpha/pci/sio_pic.c	sio | pceb
231
232#
233# ISA PnP
234#
235
236include "../../../dev/isa/files.isapnp"
237file	arch/alpha/isa/isapnp_machdep.c	isapnp
238
239attach  com at isapnp with com_isapnp
240
241#
242# Devices that can live on multiple busses
243#
244
245device	mcclock
246attach	mcclock at ioasic with mcclock_ioasic
247attach	mcclock at isa with mcclock_isa
248file	arch/alpha/alpha/mcclock.c	mcclock
249file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
250file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
251
252#
253# Standard files
254#
255
256file	arch/alpha/alpha/autoconf.c
257file	arch/alpha/alpha/clock.c
258file	arch/alpha/alpha/conf.c
259file	arch/alpha/alpha/db_disasm.c		ddb
260file	arch/alpha/alpha/db_interface.c		ddb
261file	arch/alpha/alpha/db_trace.c		ddb
262file	arch/alpha/alpha/interrupt.c
263file	arch/alpha/alpha/machdep.c
264file	arch/alpha/alpha/mainbus.c
265file	arch/alpha/alpha/mem.c
266file	arch/alpha/alpha/pmap.c
267file	arch/alpha/alpha/process_machdep.c
268file	arch/alpha/alpha/prom.c
269file	arch/alpha/alpha/support.c
270file	arch/alpha/alpha/sys_machdep.c
271file	arch/alpha/alpha/trap.c
272file	arch/alpha/alpha/vm_machdep.c
273file	arch/alpha/alpha/disksubr.c
274file	arch/alpha/dev/bus_dma.c
275file	dev/clock_subr.c
276file	dev/cons.c
277
278
279#
280# Optional/miscellaneous files
281#
282
283file	arch/alpha/alpha/in_cksum.c		inet & !generic_in_cksum
284file	netinet/in_cksum.c			inet & generic_in_cksum
285file	netns/ns_cksum.c			ns
286
287# XXX
288file	arch/alpha/alpha/promcons.c
289
290# XXX
291# file	arch/alpha/alpha/cpuconf.c
292file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
293file	arch/alpha/alpha/dec_21000.c		dec_21000	needs-flag
294file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
295file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
296file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
297file	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
298file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
299file	arch/alpha/alpha/dec_550.c		dec_550		needs-flag
300file    arch/alpha/alpha/dec_6600.c             dec_6600	needs-flag
301file	arch/alpha/alpha/api_up1000.c		api_up1000	needs-flag
302
303# OSF/1 Binary Compatibility (COMPAT_OSF1)
304include "compat/osf1/files.osf1"
305file	arch/alpha/alpha/osf1_locore.s		compat_osf1
306
307# NetBSD binary compatibility (COMPAT_NETBSD)
308include "../../../compat/netbsd/files.netbsd"
309file	arch/alpha/alpha/netbsd_machdep.c	compat_netbsd
310
311#
312# Machine-independent USB drivers
313#
314include "dev/usb/files.usb"
315