files.alpha revision 1.49
1# $NetBSD: files.alpha,v 1.49 1997/08/12 00:04:14 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
20defopt	DEC_550		# Miata:	Personal Workstation (550)
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
230device	apecs: pcibus, alpha_sgmap
231attach	apecs at mainbus
232file	arch/alpha/pci/apecs.c		apecs
233file	arch/alpha/pci/apecs_bus_io.c	apecs
234file	arch/alpha/pci/apecs_bus_mem.c	apecs
235file	arch/alpha/pci/apecs_dma.c	apecs
236file	arch/alpha/pci/apecs_pci.c	apecs
237
238device	lca: pcibus, alpha_sgmap
239attach	lca at mainbus
240file	arch/alpha/pci/lca.c		lca
241file	arch/alpha/pci/lca_bus_io.c	lca
242file	arch/alpha/pci/lca_bus_mem.c	lca
243file	arch/alpha/pci/lca_dma.c	lca
244file	arch/alpha/pci/lca_pci.c	lca
245
246device	cia: pcibus, alpha_sgmap
247attach	cia at mainbus
248file	arch/alpha/pci/cia.c		cia
249file	arch/alpha/pci/cia_bus_io.c	cia
250file	arch/alpha/pci/cia_bus_mem.c	cia
251file	arch/alpha/pci/cia_dma.c	cia
252file	arch/alpha/pci/cia_pci.c	cia
253
254device	dwlpx:	pcibus, alpha_sgmap
255attach	dwlpx at kft
256file	arch/alpha/pci/dwlpx.c		dwlpx
257file	arch/alpha/pci/dwlpx_dma.c	dwlpx
258file	arch/alpha/pci/dwlpx_pci.c	dwlpx
259file	arch/alpha/pci/pci_kn8ae.c	dwlpx
260file	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
261file	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
262
263# common support files
264file	arch/alpha/pci/pci_sgmap_pte32.c	dwlpx
265file	arch/alpha/pci/pci_sgmap_pte64.c	apecs | cia | lca
266file	arch/alpha/pci/pci_swiz_io_common.c	apecs | cia | dwlpx | lca
267file	arch/alpha/pci/pci_swiz_mem_common.c	apecs | cia | dwlpx | lca
268
269# CPU support files
270file	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
271file	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
272file	arch/alpha/pci/pci_eb164.c	dec_eb164
273file	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
274file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
275file	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
276file	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
277
278
279#
280# PCI Bus devices
281#
282
283file	arch/alpha/pci/pci_machdep.c	pci
284
285device	sio: isabus, alpha_shared_intr
286attach	sio at pci
287device	pceb: isabus, eisabus
288attach	pceb at pci
289file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
290file	arch/alpha/pci/sio_pic.c	sio | pceb
291
292device	tga: raster, wsconsdev
293attach	tga at pci
294file	arch/alpha/pci/tga.c		tga		needs-flag
295file	arch/alpha/pci/tga_conf.c	tga
296file	arch/alpha/pci/tga_bt463.c	tga
297file	arch/alpha/pci/tga_bt485.c	tga
298
299attach	vga at pci with vga_pci
300file	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
301
302
303#
304# Devices that can live on multiple busses
305#
306
307device	mcclock
308attach	mcclock at ioasic with mcclock_ioasic
309attach	mcclock at isa with mcclock_isa
310attach	mcclock at gbus with mcclock_tlsb
311file	arch/alpha/alpha/mcclock.c	mcclock
312file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
313file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
314file	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
315
316
317#
318# Standard files
319#
320file	arch/alpha/alpha/autoconf.c
321file	arch/alpha/alpha/clock.c
322file	arch/alpha/alpha/conf.c
323file	arch/alpha/alpha/interrupt.c
324file	arch/alpha/alpha/machdep.c
325file	arch/alpha/alpha/mainbus.c
326file	arch/alpha/alpha/mem.c
327file	arch/alpha/alpha/pmap.c			new_pmap
328file	arch/alpha/alpha/pmap.old.c		!new_pmap
329file	arch/alpha/alpha/process_machdep.c
330file	arch/alpha/alpha/prom.c
331file	arch/alpha/alpha/support.c
332file	arch/alpha/alpha/sys_machdep.c
333file	arch/alpha/alpha/trap.c
334file	arch/alpha/alpha/vm_machdep.c
335file	arch/alpha/alpha/disksubr.c
336file	arch/alpha/common/bus_dma.c
337file	dev/cons.c
338
339# Network protocol checksum routines
340file	arch/alpha/alpha/in_cksum.c		inet
341file	netns/ns_cksum.c			ns
342
343# PROM console support (for ports that don't have native console support)
344file	arch/alpha/alpha/promcons.c
345
346# CPU support
347file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
348file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
349file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
350file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
351file	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
352file	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus	needs-flag
353file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
354file	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae	needs-flag
355
356# OSF/1 Binary Compatibility (COMPAT_OSF1)
357include "compat/osf1/files.osf1"
358