files.alpha revision 1.34
1#	$NetBSD: files.alpha,v 1.34 1997/01/21 09:37:17 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# a wscons output device; used later, but needs to be near the top for
11# common file (e.g. vga) definitions.
12define  wsconsdev {[console = -1]}
13
14# this loses, but there's no way to define attributes which have attributes
15define	alpha_shared_intr
16file	arch/alpha/common/shared_intr.c	alpha_shared_intr | dec_eb164 |
17					dec_kn20aa
18
19device	vga: wsconsdev
20file	arch/alpha/common/vga.c		vga
21
22#
23# Bus-independent devices
24#
25
26device	mainbus { }			# no locators (yet?)
27attach	mainbus at root
28
29device	cpu { }				# not really optional
30attach	cpu at mainbus
31file	arch/alpha/alpha/cpu.c		cpu
32
33
34#
35# Machine-independent SCSI drivers
36#
37
38include "scsi/files.scsi"
39major { st = 2 }
40major { cd = 3 }
41major { sd = 8 }
42
43# Memory Disk
44file	arch/alpha/alpha/md_root.c	memory_disk_hooks
45major { md = 6 }
46
47#
48# raster console routines
49#
50
51define	raster
52include "dev/rcons/files.rcons"
53file	arch/alpha/wscons/wscons_rinit.c	raster
54file	arch/alpha/wscons/wscons_rops.c		raster
55
56
57#
58# "Workstation Console" glue; attaches frame buffer to emulator & kbd.
59#
60device	wscons
61attach	wscons at wsconsdev
62file	arch/alpha/wscons/wscons.c	wscons		needs-flag
63file	arch/alpha/wscons/wscons_emul.c	wscons
64
65file	arch/alpha/wscons/event.c	wscons
66file	arch/alpha/wscons/kbd.c		wscons
67file	arch/alpha/wscons/ms.c		wscons
68
69#
70# TurboChannel Devices
71#
72
73include "dev/tc/files.tc"
74
75device	tcasic: tcbus
76attach	tcasic at mainbus
77file	arch/alpha/tc/tcasic.c		tcasic
78file	arch/alpha/tc/tc_bus_mem.c	tcasic
79file	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
80file	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
81
82# the TurboChannel IOCTL ASIC
83device	ioasic { offset = -1 }
84attach	ioasic at tc
85file	arch/alpha/tc/ioasic.c		ioasic
86
87# Color Frame buffer
88device	cfb: raster, wsconsdev
89attach	cfb at tc
90file	arch/alpha/tc/cfb.c		cfb
91
92# Smart Frame buffer
93device	sfb: raster, wsconsdev
94attach	sfb at tc
95file	arch/alpha/tc/sfb.c		sfb
96
97# 8530 UARTs
98device	scc
99attach	scc at ioasic
100file	arch/alpha/tc/scc.c		scc		needs-count
101
102# the TCDS ASIC
103device	tcds { slot = -1 }
104attach	tcds at tc
105file	arch/alpha/tc/tcds.c		tcds		needs-count
106
107# 53C[F]90 SCSI
108device	esp: scsi
109attach	esp at tcds
110file	arch/alpha/tc/esp.c		esp		needs-count
111file	arch/alpha/tc/tcds_dma.c	esp
112
113# Baseboard Lance ethernet.
114attach	le at ioasic with le_ioasic
115attach	le at tc with le_tc
116file	dev/tc/if_le_dec.c		(le_ioasic | le_tc)
117file	dev/tc/if_le_ioasic.c		le_ioasic	needs-flag #for le_iomem
118file	dev/tc/if_le_tc.c		le_tc
119
120#
121# ISA Bus support
122#
123
124include "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
125include "dev/isa/files.isa"
126
127#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
128
129
130#
131# ISA Bus devices
132#
133
134#device	ibus at mainbus { }
135#device	jcombo at ibus: isabus
136#device	jeisa at ibus: eisabus
137
138file	arch/alpha/isa/isa_machdep.c	isa
139
140device	pcppi { }
141attach	pcppi at isa
142file	arch/alpha/isa/pcppi.c		pcppi
143
144device	pckbd
145attach	pckbd at pcppi
146file	arch/alpha/isa/pckbd.c		pckbd
147
148device	pms
149attach	pms at pcppi
150file	arch/alpha/isa/pms.c		pms
151
152attach	vga at isa with vga_isa
153file	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
154
155#
156# EISA Bus support
157#
158
159include "dev/eisa/files.eisa"
160
161
162#
163# PCI Bus support
164#
165
166# include "dev/pci/files.pci" XXX SEE ABOVE
167
168device	apecs: pcibus
169attach	apecs at mainbus
170file	arch/alpha/pci/apecs.c		apecs
171file	arch/alpha/pci/apecs_bus_io.c	apecs
172file	arch/alpha/pci/apecs_bus_mem.c	apecs
173file	arch/alpha/pci/apecs_pci.c	apecs
174
175device	lca: pcibus
176attach	lca at mainbus
177file	arch/alpha/pci/lca.c		lca
178file	arch/alpha/pci/lca_bus_io.c	lca
179file	arch/alpha/pci/lca_bus_mem.c	lca
180file	arch/alpha/pci/lca_pci.c	lca
181
182device	cia: pcibus
183attach	cia at mainbus
184file	arch/alpha/pci/cia.c		cia
185file	arch/alpha/pci/cia_bus_io.c	cia
186file	arch/alpha/pci/cia_bus_mem.c	cia
187file	arch/alpha/pci/cia_pci.c	cia
188
189file	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
190file	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
191file	arch/alpha/pci/pci_eb164.c	dec_eb164
192file	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
193file	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
194
195
196#
197# PCI Bus devices
198#
199
200file	arch/alpha/pci/pci_machdep.c	pci
201
202device	sio: isabus, alpha_shared_intr
203attach	sio at pci
204device	pceb: isabus, eisabus
205attach	pceb at pci
206file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
207file	arch/alpha/pci/sio_pic.c	sio | pceb
208
209device	tga: raster, wsconsdev
210attach	tga at pci
211file	arch/alpha/pci/tga.c		tga		needs-flag
212file	arch/alpha/pci/tga_conf.c	tga
213file	arch/alpha/pci/tga_bt463.c	tga
214file	arch/alpha/pci/tga_bt485.c	tga
215
216
217attach	vga at pci with vga_pci
218file	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
219
220
221#
222# Devices that can live on multiple busses
223#
224
225device	mcclock
226attach	mcclock at ioasic with mcclock_ioasic
227attach	mcclock at isa with mcclock_isa
228file	arch/alpha/alpha/mcclock.c	mcclock
229file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
230file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
231
232#
233# Standard files
234#
235
236file	arch/alpha/alpha/autoconf.c
237file	arch/alpha/alpha/clock.c
238file	arch/alpha/alpha/conf.c
239file	arch/alpha/alpha/interrupt.c
240file	arch/alpha/alpha/machdep.c
241file	arch/alpha/alpha/mainbus.c
242file	arch/alpha/alpha/mem.c
243file	arch/alpha/alpha/pmap.c			new_pmap
244file	arch/alpha/alpha/pmap.old.c		!new_pmap
245file	arch/alpha/alpha/process_machdep.c
246file	arch/alpha/alpha/prom.c
247file	arch/alpha/alpha/support.c
248file	arch/alpha/alpha/sys_machdep.c
249file	arch/alpha/alpha/trap.c
250file	arch/alpha/alpha/vm_machdep.c
251file	arch/alpha/alpha/disksubr.c
252file	dev/cons.c
253
254
255#
256# Optional/miscellaneous files
257#
258
259file	arch/alpha/alpha/in_cksum.c		inet & !generic_in_cksum
260file	netinet/in_cksum.c			inet & generic_in_cksum
261file	netns/ns_cksum.c			ns
262
263# XXX
264file	arch/alpha/alpha/promcons.c
265
266# XXX
267file	arch/alpha/alpha/cpuconf.c
268file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
269file	arch/alpha/alpha/dec_21000.c		dec_21000	needs-flag
270file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
271file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
272file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
273file	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
274file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
275
276# OSF/1 Binary Compatibility (COMPAT_OSF1)
277include "compat/osf1/files.osf1"
278