files.alpha revision 1.46
1# $NetBSD: files.alpha,v 1.46 1997/04/21 14:47:37 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# CPU support option headers
11defopt	DEC_2000_300	# "Jensen":	2000/300 (DECpc AXP 150)
12defopt	DEC_2100_A50	# Avanti etc:	AlphaStation 400, 200, etc.
13defopt	DEC_3000_300	# Pelican etc:	3000/300*
14defopt	DEC_3000_500	# Flamingo etc:	3000/[4-9]00*
15defopt	DEC_AXPPCI_33	# NoName:	AXPpci33, etc.
16defopt	DEC_EB164	# EB164:	AlphaPC 164
17defopt	DEC_EB64PLUS	# EB64+:	AlphaPC 64, etc.
18defopt	DEC_KN20AA	# KN20AA:	AlphaStation 500 and 600
19defopt	DEC_KN8AE	# KN8AE:	AlphaServer 8200 and 8400
20
21# Miscellaneous CPU-specific option headers
22defopt	FIX_UNALIGNED_VAX_FP
23
24# a wscons output device; used later, but needs to be near the top for
25# common file (e.g. vga) definitions.
26define  wsconsdev {[console = -1]}
27
28# this loses, but there's no way to define attributes which have attributes
29define	alpha_shared_intr
30file	arch/alpha/common/shared_intr.c	alpha_shared_intr | dec_eb164 |
31					dec_eb64plus | dec_kn20aa | dec_kn8ae
32
33device	vga: wsconsdev
34file	arch/alpha/common/vga.c		vga
35
36#
37# Bus-independent devices
38#
39
40device	mainbus { }			# no locators (yet?)
41attach	mainbus at root
42
43device	cpu { }				# not really optional
44attach	cpu at mainbus
45file	arch/alpha/alpha/cpu.c		cpu
46
47
48#
49# Machine-independent SCSI drivers
50#
51
52include "scsi/files.scsi"
53major { st = 2 }
54major { cd = 3 }
55major { sd = 8 }
56
57# Memory Disk
58file	arch/alpha/alpha/md_root.c	memory_disk_hooks
59major { md = 6 }
60
61#
62# raster console routines
63#
64
65define	raster
66include "dev/rcons/files.rcons"
67file	arch/alpha/wscons/wscons_rinit.c	raster
68file	arch/alpha/wscons/wscons_rops.c		raster
69
70
71#
72# "Workstation Console" glue; attaches frame buffer to emulator & kbd.
73#
74device	wscons
75attach	wscons at wsconsdev
76file	arch/alpha/wscons/wscons.c	wscons		needs-flag
77file	arch/alpha/wscons/wscons_emul.c	wscons
78
79file	arch/alpha/wscons/event.c	wscons
80file	arch/alpha/wscons/kbd.c		wscons
81file	arch/alpha/wscons/ms.c		wscons
82
83
84#
85# TurboLaser Bus Support
86#
87
88device	tlsb { node = -1 ,  offset = -1  }
89attach	tlsb at mainbus
90file	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
91
92device	kft { }
93attach	kft at tlsb
94file	arch/alpha/tlsb/kftxx.c		kft
95
96device	tlsbmem
97attach	tlsbmem at tlsb
98file	arch/alpha/tlsb/tlsbmem.c	tlsbmem
99
100device	gbus { offset = -1 }
101attach	gbus at tlsb
102file	arch/alpha/tlsb/gbus.c		gbus
103
104
105#
106# TurboChannel Devices
107#
108
109include "dev/tc/files.tc"
110
111device	tcasic: tcbus
112attach	tcasic at mainbus
113file	arch/alpha/tc/tcasic.c		tcasic
114file	arch/alpha/tc/tc_bus_mem.c	tcasic
115file	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
116file	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
117
118# the TurboChannel IOCTL ASIC
119device	ioasic { offset = -1 }
120attach	ioasic at tc
121file	arch/alpha/tc/ioasic.c		ioasic
122
123# Color Frame buffer
124device	cfb: raster, wsconsdev
125attach	cfb at tc
126file	arch/alpha/tc/cfb.c		cfb
127
128# Smart Frame buffer
129device	sfb: raster, wsconsdev
130attach	sfb at tc
131file	arch/alpha/tc/sfb.c		sfb
132
133# 8530 UARTs
134device	scc
135attach	scc at ioasic
136file	arch/alpha/tc/scc.c		scc		needs-count
137
138# the TCDS ASIC
139device	tcds { slot = -1 }
140attach	tcds at tc
141file	arch/alpha/tc/tcds.c		tcds		needs-count
142
143# 53C[F]90 SCSI
144device	asc: scsi, ncr53c9x
145attach	asc at tcds
146file	arch/alpha/tc/asc.c		asc		needs-count
147file	arch/alpha/tc/tcds_dma.c	asc
148
149# Baseboard Lance ethernet.
150attach	le at ioasic with le_ioasic
151attach	le at tc with le_tc
152file	dev/tc/if_le_dec.c		(le_ioasic | le_tc)
153file	dev/tc/if_le_ioasic.c		le_ioasic	needs-flag #for le_iomem
154file	dev/tc/if_le_tc.c		le_tc
155
156#
157# ISA Bus support
158#
159
160include "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
161include "dev/isa/files.isa"
162
163# Hacked version of ISA "wd" (ESDI/IDE/etc.) controller driver
164device	awdc {drive = -1}
165attach	awdc at isa
166device	awd: disk
167attach	awd at awdc
168file	arch/alpha/isa/awd.c		awdc needs-flag
169
170major { awd = 4 }
171
172#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
173
174
175#
176# ISA Bus devices
177#
178
179#device	ibus at mainbus { }
180#device	jcombo at ibus: isabus
181#device	jeisa at ibus: eisabus
182
183file	arch/alpha/isa/isa_machdep.c	isa
184
185device	pcppi { }
186attach	pcppi at isa
187file	arch/alpha/isa/pcppi.c		pcppi
188
189device	pckbd
190attach	pckbd at pcppi
191file	arch/alpha/isa/pckbd.c		pckbd
192
193device	pms
194attach	pms at pcppi
195file	arch/alpha/isa/pms.c		pms
196
197attach	vga at isa with vga_isa
198file	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
199
200# Floppy disk controller
201device	fdc { drive = -1 }
202attach	fdc at isa
203device	fd: disk, isadma
204attach	fd at fdc
205file	arch/alpha/isa/fd.c		fdc needs-flag
206major	{ fd = 0 }
207
208# PC speaker
209#
210# EISA Bus support
211#
212
213include "dev/eisa/files.eisa"
214
215
216#
217# PCI Bus support
218#
219
220# include "dev/pci/files.pci" XXX SEE ABOVE
221
222device	apecs: pcibus
223attach	apecs at mainbus
224file	arch/alpha/pci/apecs.c		apecs
225file	arch/alpha/pci/apecs_bus_io.c	apecs
226file	arch/alpha/pci/apecs_bus_mem.c	apecs
227file	arch/alpha/pci/apecs_pci.c	apecs
228
229device	lca: pcibus
230attach	lca at mainbus
231file	arch/alpha/pci/lca.c		lca
232file	arch/alpha/pci/lca_bus_io.c	lca
233file	arch/alpha/pci/lca_bus_mem.c	lca
234file	arch/alpha/pci/lca_pci.c	lca
235
236device	cia: pcibus
237attach	cia at mainbus
238file	arch/alpha/pci/cia.c		cia
239file	arch/alpha/pci/cia_bus_io.c	cia
240file	arch/alpha/pci/cia_bus_mem.c	cia
241file	arch/alpha/pci/cia_pci.c	cia
242
243device	dwlpx:	pcibus
244attach	dwlpx at kft
245file	arch/alpha/pci/dwlpx.c		dwlpx
246file	arch/alpha/pci/dwlpx_pci.c	dwlpx
247file	arch/alpha/pci/pci_kn8ae.c	dwlpx
248file	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
249file	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
250
251# common support files
252file	arch/alpha/pci/pci_swiz_io_common.c	apecs | cia | dwlpx | lca
253file	arch/alpha/pci/pci_swiz_mem_common.c	apecs | cia | dwlpx | lca
254
255# CPU support files
256file	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
257file	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
258file	arch/alpha/pci/pci_eb164.c	dec_eb164
259file	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
260file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
261file	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
262file	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
263
264
265#
266# PCI Bus devices
267#
268
269file	arch/alpha/pci/pci_machdep.c	pci
270
271device	sio: isabus, alpha_shared_intr
272attach	sio at pci
273device	pceb: isabus, eisabus
274attach	pceb at pci
275file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
276file	arch/alpha/pci/sio_pic.c	sio | pceb
277
278device	tga: raster, wsconsdev
279attach	tga at pci
280file	arch/alpha/pci/tga.c		tga		needs-flag
281file	arch/alpha/pci/tga_conf.c	tga
282file	arch/alpha/pci/tga_bt463.c	tga
283file	arch/alpha/pci/tga_bt485.c	tga
284
285attach	vga at pci with vga_pci
286file	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
287
288
289#
290# Devices that can live on multiple busses
291#
292
293device	mcclock
294attach	mcclock at ioasic with mcclock_ioasic
295attach	mcclock at isa with mcclock_isa
296attach	mcclock at gbus with mcclock_tlsb
297file	arch/alpha/alpha/mcclock.c	mcclock
298file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
299file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
300file	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
301
302
303#
304# Standard files
305#
306file	arch/alpha/alpha/autoconf.c
307file	arch/alpha/alpha/clock.c
308file	arch/alpha/alpha/conf.c
309file	arch/alpha/alpha/interrupt.c
310file	arch/alpha/alpha/machdep.c
311file	arch/alpha/alpha/mainbus.c
312file	arch/alpha/alpha/mem.c
313file	arch/alpha/alpha/pmap.c			new_pmap
314file	arch/alpha/alpha/pmap.old.c		!new_pmap
315file	arch/alpha/alpha/process_machdep.c
316file	arch/alpha/alpha/prom.c
317file	arch/alpha/alpha/support.c
318file	arch/alpha/alpha/sys_machdep.c
319file	arch/alpha/alpha/trap.c
320file	arch/alpha/alpha/vm_machdep.c
321file	arch/alpha/alpha/disksubr.c
322file	dev/cons.c
323
324# Network protocol checksum routines
325file	arch/alpha/alpha/in_cksum.c		inet
326file	netns/ns_cksum.c			ns
327
328# PROM console support (for ports that don't have native console support)
329file	arch/alpha/alpha/promcons.c
330
331# CPU support
332file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
333file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
334file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
335file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
336file	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
337file	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus	needs-flag
338file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
339file	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae	needs-flag
340
341# OSF/1 Binary Compatibility (COMPAT_OSF1)
342include "compat/osf1/files.osf1"
343