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