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