files.alpha revision 1.45
1# $NetBSD: files.alpha,v 1.45 1997/04/14 18:23:18 mjacob 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"
162major { wd = 4 }
163
164#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
165
166
167#
168# ISA Bus devices
169#
170
171#device	ibus at mainbus { }
172#device	jcombo at ibus: isabus
173#device	jeisa at ibus: eisabus
174
175file	arch/alpha/isa/isa_machdep.c	isa
176
177device	pcppi { }
178attach	pcppi at isa
179file	arch/alpha/isa/pcppi.c		pcppi
180
181device	pckbd
182attach	pckbd at pcppi
183file	arch/alpha/isa/pckbd.c		pckbd
184
185device	pms
186attach	pms at pcppi
187file	arch/alpha/isa/pms.c		pms
188
189attach	vga at isa with vga_isa
190file	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
191
192# Floppy disk controller
193device	fdc { drive = -1 }
194attach	fdc at isa
195device	fd: disk, isadma
196attach	fd at fdc
197file	arch/alpha/isa/fd.c		fdc needs-flag
198major	{ fd = 0 }
199
200# PC speaker
201#
202# EISA Bus support
203#
204
205include "dev/eisa/files.eisa"
206
207
208#
209# PCI Bus support
210#
211
212# include "dev/pci/files.pci" XXX SEE ABOVE
213
214device	apecs: pcibus
215attach	apecs at mainbus
216file	arch/alpha/pci/apecs.c		apecs
217file	arch/alpha/pci/apecs_bus_io.c	apecs
218file	arch/alpha/pci/apecs_bus_mem.c	apecs
219file	arch/alpha/pci/apecs_pci.c	apecs
220
221device	lca: pcibus
222attach	lca at mainbus
223file	arch/alpha/pci/lca.c		lca
224file	arch/alpha/pci/lca_bus_io.c	lca
225file	arch/alpha/pci/lca_bus_mem.c	lca
226file	arch/alpha/pci/lca_pci.c	lca
227
228device	cia: pcibus
229attach	cia at mainbus
230file	arch/alpha/pci/cia.c		cia
231file	arch/alpha/pci/cia_bus_io.c	cia
232file	arch/alpha/pci/cia_bus_mem.c	cia
233file	arch/alpha/pci/cia_pci.c	cia
234
235device	dwlpx:	pcibus
236attach	dwlpx at kft
237file	arch/alpha/pci/dwlpx.c		dwlpx
238file	arch/alpha/pci/dwlpx_pci.c	dwlpx
239file	arch/alpha/pci/pci_kn8ae.c	dwlpx
240file	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
241file	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
242
243# common support files
244file	arch/alpha/pci/pci_swiz_io_common.c	apecs | cia | dwlpx | lca
245file	arch/alpha/pci/pci_swiz_mem_common.c	apecs | cia | dwlpx | lca
246
247# CPU support files
248file	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
249file	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
250file	arch/alpha/pci/pci_eb164.c	dec_eb164
251file	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
252file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
253file	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
254file	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
255
256
257#
258# PCI Bus devices
259#
260
261file	arch/alpha/pci/pci_machdep.c	pci
262
263device	sio: isabus, alpha_shared_intr
264attach	sio at pci
265device	pceb: isabus, eisabus
266attach	pceb at pci
267file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
268file	arch/alpha/pci/sio_pic.c	sio | pceb
269
270device	tga: raster, wsconsdev
271attach	tga at pci
272file	arch/alpha/pci/tga.c		tga		needs-flag
273file	arch/alpha/pci/tga_conf.c	tga
274file	arch/alpha/pci/tga_bt463.c	tga
275file	arch/alpha/pci/tga_bt485.c	tga
276
277attach	vga at pci with vga_pci
278file	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
279
280
281#
282# Devices that can live on multiple busses
283#
284
285device	mcclock
286attach	mcclock at ioasic with mcclock_ioasic
287attach	mcclock at isa with mcclock_isa
288attach	mcclock at gbus with mcclock_tlsb
289file	arch/alpha/alpha/mcclock.c	mcclock
290file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
291file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
292file	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
293
294
295#
296# Standard files
297#
298file	arch/alpha/alpha/autoconf.c
299file	arch/alpha/alpha/clock.c
300file	arch/alpha/alpha/conf.c
301file	arch/alpha/alpha/interrupt.c
302file	arch/alpha/alpha/machdep.c
303file	arch/alpha/alpha/mainbus.c
304file	arch/alpha/alpha/mem.c
305file	arch/alpha/alpha/pmap.c			new_pmap
306file	arch/alpha/alpha/pmap.old.c		!new_pmap
307file	arch/alpha/alpha/process_machdep.c
308file	arch/alpha/alpha/prom.c
309file	arch/alpha/alpha/support.c
310file	arch/alpha/alpha/sys_machdep.c
311file	arch/alpha/alpha/trap.c
312file	arch/alpha/alpha/vm_machdep.c
313file	arch/alpha/alpha/disksubr.c
314file	dev/cons.c
315
316# Network protocol checksum routines
317file	arch/alpha/alpha/in_cksum.c		inet
318file	netns/ns_cksum.c			ns
319
320# PROM console support (for ports that don't have native console support)
321file	arch/alpha/alpha/promcons.c
322
323# CPU support
324file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
325file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
326file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
327file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
328file	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
329file	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus	needs-flag
330file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
331file	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae	needs-flag
332
333# OSF/1 Binary Compatibility (COMPAT_OSF1)
334include "compat/osf1/files.osf1"
335