files.alpha revision 1.43
1# $NetBSD: files.alpha,v 1.43 1997/04/06 23:03:13 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# 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_eb64plus | 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#
71# TurboLaser Bus Support
72#
73
74device	tlsb { node = -1 ,  offset = -1  }
75attach	tlsb at mainbus
76file	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
77
78device	kft { }
79attach	kft at tlsb
80file	arch/alpha/tlsb/kftxx.c		kft
81
82device	tlsbmem
83attach	tlsbmem at tlsb
84file	arch/alpha/tlsb/tlsbmem.c	tlsbmem
85
86device	gbus { offset = -1 }
87attach	gbus at tlsb
88file	arch/alpha/tlsb/gbus.c		gbus
89
90
91#
92# TurboChannel Devices
93#
94
95include "dev/tc/files.tc"
96
97device	tcasic: tcbus
98attach	tcasic at mainbus
99file	arch/alpha/tc/tcasic.c		tcasic
100file	arch/alpha/tc/tc_bus_mem.c	tcasic
101file	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
102file	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
103
104# the TurboChannel IOCTL ASIC
105device	ioasic { offset = -1 }
106attach	ioasic at tc
107file	arch/alpha/tc/ioasic.c		ioasic
108
109# Color Frame buffer
110device	cfb: raster, wsconsdev
111attach	cfb at tc
112file	arch/alpha/tc/cfb.c		cfb
113
114# Smart Frame buffer
115device	sfb: raster, wsconsdev
116attach	sfb at tc
117file	arch/alpha/tc/sfb.c		sfb
118
119# 8530 UARTs
120device	scc
121attach	scc at ioasic
122file	arch/alpha/tc/scc.c		scc		needs-count
123
124# the TCDS ASIC
125device	tcds { slot = -1 }
126attach	tcds at tc
127file	arch/alpha/tc/tcds.c		tcds		needs-count
128
129# 53C[F]90 SCSI
130device	asc: scsi, ncr53c9x
131attach	asc at tcds
132file	arch/alpha/tc/asc.c		asc		needs-count
133file	arch/alpha/tc/tcds_dma.c	asc
134
135# Baseboard Lance ethernet.
136attach	le at ioasic with le_ioasic
137attach	le at tc with le_tc
138file	dev/tc/if_le_dec.c		(le_ioasic | le_tc)
139file	dev/tc/if_le_ioasic.c		le_ioasic	needs-flag #for le_iomem
140file	dev/tc/if_le_tc.c		le_tc
141
142#
143# ISA Bus support
144#
145
146include "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
147include "dev/isa/files.isa"
148major { wd = 4 }
149
150#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
151
152
153#
154# ISA Bus devices
155#
156
157#device	ibus at mainbus { }
158#device	jcombo at ibus: isabus
159#device	jeisa at ibus: eisabus
160
161file	arch/alpha/isa/isa_machdep.c	isa
162
163device	pcppi { }
164attach	pcppi at isa
165file	arch/alpha/isa/pcppi.c		pcppi
166
167device	pckbd
168attach	pckbd at pcppi
169file	arch/alpha/isa/pckbd.c		pckbd
170
171device	pms
172attach	pms at pcppi
173file	arch/alpha/isa/pms.c		pms
174
175attach	vga at isa with vga_isa
176file	arch/alpha/isa/vga_isa.c	vga_isa		needs-flag
177
178# Floppy disk controller
179device	fdc { drive = -1 }
180attach	fdc at isa
181device	fd: disk, isadma
182attach	fd at fdc
183file	arch/alpha/isa/fd.c		fdc needs-flag
184major	{ fd = 0 }
185
186# PC speaker
187#
188# EISA Bus support
189#
190
191include "dev/eisa/files.eisa"
192
193
194#
195# PCI Bus support
196#
197
198# include "dev/pci/files.pci" XXX SEE ABOVE
199
200device	apecs: pcibus
201attach	apecs at mainbus
202file	arch/alpha/pci/apecs.c		apecs
203file	arch/alpha/pci/apecs_bus_io.c	apecs
204file	arch/alpha/pci/apecs_bus_mem.c	apecs
205file	arch/alpha/pci/apecs_pci.c	apecs
206
207device	lca: pcibus
208attach	lca at mainbus
209file	arch/alpha/pci/lca.c		lca
210file	arch/alpha/pci/lca_bus_io.c	lca
211file	arch/alpha/pci/lca_bus_mem.c	lca
212file	arch/alpha/pci/lca_pci.c	lca
213
214device	cia: pcibus
215attach	cia at mainbus
216file	arch/alpha/pci/cia.c		cia
217file	arch/alpha/pci/cia_bus_io.c	cia
218file	arch/alpha/pci/cia_bus_mem.c	cia
219file	arch/alpha/pci/cia_pci.c	cia
220
221file	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
222file	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
223file	arch/alpha/pci/pci_eb164.c	dec_eb164
224file	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
225file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
226file	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
227file	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
228
229device	dwlpx:	pcibus
230attach	dwlpx at kft
231file	arch/alpha/pci/dwlpx.c		dwlpx
232file	arch/alpha/pci/dwlpx_pci.c	dwlpx
233file	arch/alpha/pci/pci_kn8ae.c	dwlpx
234file	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
235file	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
236
237#
238# PCI Bus devices
239#
240
241file	arch/alpha/pci/pci_machdep.c	pci
242
243device	sio: isabus, alpha_shared_intr
244attach	sio at pci
245device	pceb: isabus, eisabus
246attach	pceb at pci
247file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
248file	arch/alpha/pci/sio_pic.c	sio | pceb
249
250device	tga: raster, wsconsdev
251attach	tga at pci
252file	arch/alpha/pci/tga.c		tga		needs-flag
253file	arch/alpha/pci/tga_conf.c	tga
254file	arch/alpha/pci/tga_bt463.c	tga
255file	arch/alpha/pci/tga_bt485.c	tga
256
257attach	vga at pci with vga_pci
258file	arch/alpha/pci/vga_pci.c	vga_pci		needs-flag
259
260
261#
262# Devices that can live on multiple busses
263#
264
265device	mcclock
266attach	mcclock at ioasic with mcclock_ioasic
267attach	mcclock at isa with mcclock_isa
268attach	mcclock at gbus with mcclock_tlsb
269file	arch/alpha/alpha/mcclock.c	mcclock
270file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
271file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
272file	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
273
274
275#
276# Standard files
277#
278
279file	arch/alpha/alpha/autoconf.c
280file	arch/alpha/alpha/clock.c
281file	arch/alpha/alpha/conf.c
282file	arch/alpha/alpha/interrupt.c
283file	arch/alpha/alpha/machdep.c
284file	arch/alpha/alpha/mainbus.c
285file	arch/alpha/alpha/mem.c
286file	arch/alpha/alpha/pmap.c			new_pmap
287file	arch/alpha/alpha/pmap.old.c		!new_pmap
288file	arch/alpha/alpha/process_machdep.c
289file	arch/alpha/alpha/prom.c
290file	arch/alpha/alpha/support.c
291file	arch/alpha/alpha/sys_machdep.c
292file	arch/alpha/alpha/trap.c
293file	arch/alpha/alpha/vm_machdep.c
294file	arch/alpha/alpha/disksubr.c
295file	dev/cons.c
296
297
298#
299# Optional/miscellaneous files
300#
301
302file	arch/alpha/alpha/in_cksum.c		inet & !generic_in_cksum
303file	netinet/in_cksum.c			inet & generic_in_cksum
304file	netns/ns_cksum.c			ns
305
306# XXX
307file	arch/alpha/alpha/promcons.c
308
309# XXX
310file	arch/alpha/alpha/cpuconf.c
311file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
312file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
313file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
314file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
315file	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
316file	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus	needs-flag
317file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
318file	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae	needs-flag
319
320# OSF/1 Binary Compatibility (COMPAT_OSF1)
321include "compat/osf1/files.osf1"
322