files.alpha revision 1.36
1#	$NetBSD: files.alpha,v 1.36 1997/01/23 22:50:52 cgd Exp $
2#
3# alpha-specific configuration info
4
5# maxpartitions must be first item in files.${ARCH}.newconf
6maxpartitions 8
7
8maxusers 2 8 64
9
10# a wscons output device; used later, but needs to be near the top for
11# common file (e.g. vga) definitions.
12define  wsconsdev {[console = -1]}
13
14# this loses, but there's no way to define attributes which have attributes
15define	alpha_shared_intr
16file	arch/alpha/common/shared_intr.c	alpha_shared_intr | dec_eb164 |
17					dec_kn20aa
18
19device	vga: wsconsdev
20file	arch/alpha/common/vga.c		vga
21
22#
23# Bus-independent devices
24#
25
26device	mainbus { }			# no locators (yet?)
27attach	mainbus at root
28
29device	cpu { }				# not really optional
30attach	cpu at mainbus
31file	arch/alpha/alpha/cpu.c		cpu
32
33
34#
35# Machine-independent SCSI drivers
36#
37
38include "scsi/files.scsi"
39major { st = 2 }
40major { cd = 3 }
41major { sd = 8 }
42
43# Memory Disk
44file	arch/alpha/alpha/md_root.c	memory_disk_hooks
45major { md = 6 }
46
47#
48# raster console routines
49#
50
51define	raster
52include "dev/rcons/files.rcons"
53file	arch/alpha/wscons/wscons_rinit.c	raster
54file	arch/alpha/wscons/wscons_rops.c		raster
55
56
57#
58# "Workstation Console" glue; attaches frame buffer to emulator & kbd.
59#
60device	wscons
61attach	wscons at wsconsdev
62file	arch/alpha/wscons/wscons.c	wscons		needs-flag
63file	arch/alpha/wscons/wscons_emul.c	wscons
64
65file	arch/alpha/wscons/event.c	wscons
66file	arch/alpha/wscons/kbd.c		wscons
67file	arch/alpha/wscons/ms.c		wscons
68
69#
70# TurboChannel Devices
71#
72
73include "dev/tc/files.tc"
74
75device	tcasic: tcbus
76attach	tcasic at mainbus
77file	arch/alpha/tc/tcasic.c		tcasic
78file	arch/alpha/tc/tc_bus_mem.c	tcasic
79file	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
80file	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
81
82# the TurboChannel IOCTL ASIC
83device	ioasic { offset = -1 }
84attach	ioasic at tc
85file	arch/alpha/tc/ioasic.c		ioasic
86
87# Color Frame buffer
88device	cfb: raster, wsconsdev
89attach	cfb at tc
90file	arch/alpha/tc/cfb.c		cfb
91
92# Smart Frame buffer
93device	sfb: raster, wsconsdev
94attach	sfb at tc
95file	arch/alpha/tc/sfb.c		sfb
96
97# 8530 UARTs
98device	scc
99attach	scc at ioasic
100file	arch/alpha/tc/scc.c		scc		needs-count
101
102# the TCDS ASIC
103device	tcds { slot = -1 }
104attach	tcds at tc
105file	arch/alpha/tc/tcds.c		tcds		needs-count
106
107# 53C[F]90 SCSI
108device	esp: scsi
109attach	esp at tcds
110file	arch/alpha/tc/esp.c		esp		needs-count
111file	arch/alpha/tc/tcds_dma.c	esp
112
113# Baseboard Lance ethernet.
114attach	le at ioasic with le_ioasic
115attach	le at tc with le_tc
116file	dev/tc/if_le_dec.c		(le_ioasic | le_tc)
117file	dev/tc/if_le_ioasic.c		le_ioasic	needs-flag #for le_iomem
118file	dev/tc/if_le_tc.c		le_tc
119
120#
121# ISA Bus support
122#
123
124include "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
125include "dev/isa/files.isa"
126
127#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
128
129
130#
131# ISA Bus devices
132#
133
134#device	ibus at mainbus { }
135#device	jcombo at ibus: isabus
136#device	jeisa at ibus: eisabus
137
138file	arch/alpha/isa/isa_machdep.c	isa
139
140device	pcppi { }
141attach	pcppi at isa
142file	arch/alpha/isa/pcppi.c		pcppi
143
144device	pckbd
145attach	pckbd at pcppi
146file	arch/alpha/isa/pckbd.c		pckbd
147
148device	pms
149attach	pms at pcppi
150file	arch/alpha/isa/pms.c		pms
151
152attach	vga at isa with vga_isa
153file	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
154
155# Floppy disk controller
156device	fdc { drive = -1 }
157attach	fdc at isa
158device	fd: disk, isadma
159attach	fd at fdc
160file	arch/alpha/isa/fd.c		fdc needs-flag
161major	{ fd = 0 }
162
163# PC speaker
164#
165# EISA Bus support
166#
167
168include "dev/eisa/files.eisa"
169
170
171#
172# PCI Bus support
173#
174
175# include "dev/pci/files.pci" XXX SEE ABOVE
176
177device	apecs: pcibus
178attach	apecs at mainbus
179file	arch/alpha/pci/apecs.c		apecs
180file	arch/alpha/pci/apecs_bus_io.c	apecs
181file	arch/alpha/pci/apecs_bus_mem.c	apecs
182file	arch/alpha/pci/apecs_pci.c	apecs
183
184device	lca: pcibus
185attach	lca at mainbus
186file	arch/alpha/pci/lca.c		lca
187file	arch/alpha/pci/lca_bus_io.c	lca
188file	arch/alpha/pci/lca_bus_mem.c	lca
189file	arch/alpha/pci/lca_pci.c	lca
190
191device	cia: pcibus
192attach	cia at mainbus
193file	arch/alpha/pci/cia.c		cia
194file	arch/alpha/pci/cia_bus_io.c	cia
195file	arch/alpha/pci/cia_bus_mem.c	cia
196file	arch/alpha/pci/cia_pci.c	cia
197
198file	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
199file	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
200file	arch/alpha/pci/pci_eb164.c	dec_eb164
201file	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
202file	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
203
204
205#
206# PCI Bus devices
207#
208
209file	arch/alpha/pci/pci_machdep.c	pci
210
211device	sio: isabus, alpha_shared_intr
212attach	sio at pci
213device	pceb: isabus, eisabus
214attach	pceb at pci
215file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
216file	arch/alpha/pci/sio_pic.c	sio | pceb
217
218device	tga: raster, wsconsdev
219attach	tga at pci
220file	arch/alpha/pci/tga.c		tga		needs-flag
221file	arch/alpha/pci/tga_conf.c	tga
222file	arch/alpha/pci/tga_bt463.c	tga
223file	arch/alpha/pci/tga_bt485.c	tga
224
225
226attach	vga at pci with vga_pci
227file	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
228
229
230#
231# Devices that can live on multiple busses
232#
233
234device	mcclock
235attach	mcclock at ioasic with mcclock_ioasic
236attach	mcclock at isa with mcclock_isa
237file	arch/alpha/alpha/mcclock.c	mcclock
238file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
239file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
240
241#
242# Standard files
243#
244
245file	arch/alpha/alpha/autoconf.c
246file	arch/alpha/alpha/clock.c
247file	arch/alpha/alpha/conf.c
248file	arch/alpha/alpha/interrupt.c
249file	arch/alpha/alpha/machdep.c
250file	arch/alpha/alpha/mainbus.c
251file	arch/alpha/alpha/mem.c
252file	arch/alpha/alpha/pmap.c			new_pmap
253file	arch/alpha/alpha/pmap.old.c		!new_pmap
254file	arch/alpha/alpha/process_machdep.c
255file	arch/alpha/alpha/prom.c
256file	arch/alpha/alpha/support.c
257file	arch/alpha/alpha/sys_machdep.c
258file	arch/alpha/alpha/trap.c
259file	arch/alpha/alpha/vm_machdep.c
260file	arch/alpha/alpha/disksubr.c
261file	dev/cons.c
262
263
264#
265# Optional/miscellaneous files
266#
267
268file	arch/alpha/alpha/in_cksum.c		inet & !generic_in_cksum
269file	netinet/in_cksum.c			inet & generic_in_cksum
270file	netns/ns_cksum.c			ns
271
272# XXX
273file	arch/alpha/alpha/promcons.c
274
275# XXX
276file	arch/alpha/alpha/cpuconf.c
277file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
278file	arch/alpha/alpha/dec_21000.c		dec_21000	needs-flag
279file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
280file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
281file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
282file	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
283file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
284
285# OSF/1 Binary Compatibility (COMPAT_OSF1)
286include "compat/osf1/files.osf1"
287