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