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