xref: /netbsd-src/sys/arch/alpha/conf/files.alpha (revision fdecd6a253f999ae92b139670d9e15cc9df4497c)
1# $NetBSD: files.alpha,v 1.47 1997/06/06 23:49:38 thorpej 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# TurboChannel Devices
109#
110
111include "dev/tc/files.tc"
112
113device	tcasic: tcbus
114attach	tcasic at mainbus
115file	arch/alpha/tc/tcasic.c		tcasic
116file	arch/alpha/tc/tc_bus_mem.c	tcasic
117file	arch/alpha/tc/tc_dma.c		tcasic
118file	arch/alpha/tc/tc_dma_3000_300.c	tcasic & dec_3000_300
119file	arch/alpha/tc/tc_dma_3000_500.c	tcasic & dec_3000_500
120file	arch/alpha/tc/tc_sgmap.c	tcasic & dec_3000_500
121file	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
122file	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
123
124# the TurboChannel IOCTL ASIC
125device	ioasic { offset = -1 }
126attach	ioasic at tc
127file	arch/alpha/tc/ioasic.c		ioasic
128
129# Color Frame buffer
130device	cfb: raster, wsconsdev
131attach	cfb at tc
132file	arch/alpha/tc/cfb.c		cfb
133
134# Smart Frame buffer
135device	sfb: raster, wsconsdev
136attach	sfb at tc
137file	arch/alpha/tc/sfb.c		sfb
138
139# 8530 UARTs
140device	scc
141attach	scc at ioasic
142file	arch/alpha/tc/scc.c		scc		needs-count
143
144# the TCDS ASIC
145device	tcds { slot = -1 }
146attach	tcds at tc
147file	arch/alpha/tc/tcds.c		tcds		needs-count
148
149# 53C[F]90 SCSI
150device	asc: scsi, ncr53c9x
151attach	asc at tcds
152file	arch/alpha/tc/asc.c		asc		needs-count
153file	arch/alpha/tc/tcds_dma.c	asc
154
155# Baseboard Lance ethernet.
156attach	le at ioasic with le_ioasic
157attach	le at tc with le_tc
158file	dev/tc/if_le_dec.c		(le_ioasic | le_tc)
159file	dev/tc/if_le_ioasic.c		le_ioasic	needs-flag #for le_iomem
160file	dev/tc/if_le_tc.c		le_tc
161
162#
163# ISA Bus support
164#
165
166include "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
167include "dev/isa/files.isa"
168
169# Hacked version of ISA "wd" (ESDI/IDE/etc.) controller driver
170device	awdc {drive = -1}
171attach	awdc at isa
172device	awd: disk
173attach	awd at awdc
174file	arch/alpha/isa/awd.c		awdc needs-flag
175
176major { awd = 4 }
177
178#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
179
180
181#
182# ISA Bus devices
183#
184
185#device	ibus at mainbus { }
186#device	jcombo at ibus: isabus
187#device	jeisa at ibus: eisabus
188
189file	arch/alpha/isa/isa_machdep.c	isa
190
191device	pcppi { }
192attach	pcppi at isa
193file	arch/alpha/isa/pcppi.c		pcppi
194
195device	pckbd
196attach	pckbd at pcppi
197file	arch/alpha/isa/pckbd.c		pckbd
198
199device	pms
200attach	pms at pcppi
201file	arch/alpha/isa/pms.c		pms
202
203attach	vga at isa with vga_isa
204file	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
205
206# Floppy disk controller
207device	fdc { drive = -1 }
208attach	fdc at isa
209device	fd: disk, isadma
210attach	fd at fdc
211file	arch/alpha/isa/fd.c		fdc needs-flag
212major	{ fd = 0 }
213
214# PC speaker
215#
216# EISA Bus support
217#
218
219include "dev/eisa/files.eisa"
220
221
222#
223# PCI Bus support
224#
225
226# include "dev/pci/files.pci" XXX SEE ABOVE
227
228device	apecs: pcibus, alpha_sgmap
229attach	apecs at mainbus
230file	arch/alpha/pci/apecs.c		apecs
231file	arch/alpha/pci/apecs_bus_io.c	apecs
232file	arch/alpha/pci/apecs_bus_mem.c	apecs
233file	arch/alpha/pci/apecs_dma.c	apecs
234file	arch/alpha/pci/apecs_pci.c	apecs
235
236device	lca: pcibus, alpha_sgmap
237attach	lca at mainbus
238file	arch/alpha/pci/lca.c		lca
239file	arch/alpha/pci/lca_bus_io.c	lca
240file	arch/alpha/pci/lca_bus_mem.c	lca
241file	arch/alpha/pci/lca_dma.c	lca
242file	arch/alpha/pci/lca_pci.c	lca
243
244device	cia: pcibus, alpha_sgmap
245attach	cia at mainbus
246file	arch/alpha/pci/cia.c		cia
247file	arch/alpha/pci/cia_bus_io.c	cia
248file	arch/alpha/pci/cia_bus_mem.c	cia
249file	arch/alpha/pci/cia_dma.c	cia
250file	arch/alpha/pci/cia_pci.c	cia
251
252device	dwlpx:	pcibus, alpha_sgmap
253attach	dwlpx at kft
254file	arch/alpha/pci/dwlpx.c		dwlpx
255file	arch/alpha/pci/dwlpx_dma.c	dwlpx
256file	arch/alpha/pci/dwlpx_pci.c	dwlpx
257file	arch/alpha/pci/pci_kn8ae.c	dwlpx
258file	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
259file	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
260
261# common support files
262file	arch/alpha/pci/pci_sgmap_pte32.c	dwlpx
263file	arch/alpha/pci/pci_sgmap_pte64.c	apecs | cia | lca
264file	arch/alpha/pci/pci_swiz_io_common.c	apecs | cia | dwlpx | lca
265file	arch/alpha/pci/pci_swiz_mem_common.c	apecs | cia | dwlpx | lca
266
267# CPU support files
268file	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
269file	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
270file	arch/alpha/pci/pci_eb164.c	dec_eb164
271file	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
272file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
273file	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
274file	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
275
276
277#
278# PCI Bus devices
279#
280
281file	arch/alpha/pci/pci_machdep.c	pci
282
283device	sio: isabus, alpha_shared_intr
284attach	sio at pci
285device	pceb: isabus, eisabus
286attach	pceb at pci
287file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
288file	arch/alpha/pci/sio_pic.c	sio | pceb
289
290device	tga: raster, wsconsdev
291attach	tga at pci
292file	arch/alpha/pci/tga.c		tga		needs-flag
293file	arch/alpha/pci/tga_conf.c	tga
294file	arch/alpha/pci/tga_bt463.c	tga
295file	arch/alpha/pci/tga_bt485.c	tga
296
297attach	vga at pci with vga_pci
298file	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
299
300
301#
302# Devices that can live on multiple busses
303#
304
305device	mcclock
306attach	mcclock at ioasic with mcclock_ioasic
307attach	mcclock at isa with mcclock_isa
308attach	mcclock at gbus with mcclock_tlsb
309file	arch/alpha/alpha/mcclock.c	mcclock
310file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
311file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
312file	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
313
314
315#
316# Standard files
317#
318file	arch/alpha/alpha/autoconf.c
319file	arch/alpha/alpha/clock.c
320file	arch/alpha/alpha/conf.c
321file	arch/alpha/alpha/interrupt.c
322file	arch/alpha/alpha/machdep.c
323file	arch/alpha/alpha/mainbus.c
324file	arch/alpha/alpha/mem.c
325file	arch/alpha/alpha/pmap.c			new_pmap
326file	arch/alpha/alpha/pmap.old.c		!new_pmap
327file	arch/alpha/alpha/process_machdep.c
328file	arch/alpha/alpha/prom.c
329file	arch/alpha/alpha/support.c
330file	arch/alpha/alpha/sys_machdep.c
331file	arch/alpha/alpha/trap.c
332file	arch/alpha/alpha/vm_machdep.c
333file	arch/alpha/alpha/disksubr.c
334file	arch/alpha/common/bus_dma.c
335file	dev/cons.c
336
337# Network protocol checksum routines
338file	arch/alpha/alpha/in_cksum.c		inet
339file	netns/ns_cksum.c			ns
340
341# PROM console support (for ports that don't have native console support)
342file	arch/alpha/alpha/promcons.c
343
344# CPU support
345file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
346file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
347file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
348file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
349file	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
350file	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus	needs-flag
351file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
352file	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae	needs-flag
353
354# OSF/1 Binary Compatibility (COMPAT_OSF1)
355include "compat/osf1/files.osf1"
356