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