files.alpha revision 1.70
1# $NetBSD: files.alpha,v 1.70 1998/04/15 20:35:37 drochner Exp $
2#
3# alpha-specific configuration info
4
5# maxpartitions must be first item in files.${ARCH}.newconf
6maxpartitions 8
7
8maxusers 8 16 64
9
10# CPU support option headers
11defopt	DEC_2000_300	# "Jensen":	2000/300 (DECpc AXP 150)
12defopt	DEC_2100_A50	# Avanti etc:	AlphaStation 400, 200, etc.
13defopt	DEC_3000_300	# Pelican etc:	3000/300*
14defopt	DEC_3000_500	# Flamingo etc:	3000/[4-9]00*
15defopt	DEC_550		# Miata:	Personal Workstation (550)
16defopt	DEC_AXPPCI_33	# NoName:	AXPpci33, etc.
17defopt	DEC_EB164	# EB164:	AlphaPC 164
18defopt	DEC_EB64PLUS	# EB64+:	AlphaPC 64, etc.
19defopt	DEC_KN20AA	# KN20AA:	AlphaStation 500 and 600
20defopt	DEC_KN8AE	# KN8AE:	AlphaServer 8200 and 8400
21defopt	DEC_KN300	# KN300:	AlphaServer 4X00
22defopt	AVALON_A12	# Avalon:	A12T1, A12M Parallel Supercomputer
23
24# Miscellaneous CPU-specific option headers
25defopt	FIX_UNALIGNED_VAX_FP
26defopt	ZS_IOASIC_DMA
27
28# XXX Temporary, until integration is finished.
29defopt	NEW_SCC_DRIVER
30
31# this loses, but there's no way to define attributes which have attributes
32define	alpha_shared_intr
33file	arch/alpha/common/shared_intr.c	alpha_shared_intr | dec_eb164 |
34					dec_eb64plus | dec_kn20aa | dec_kn8ae |
35					dec_kn300
36define	alpha_sgmap
37file	arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500
38
39#
40# Bus-independent devices
41#
42
43device	mainbus { }			# no locators (yet?)
44attach	mainbus at root
45
46device	cpu { }				# not really optional
47attach	cpu at mainbus
48file	arch/alpha/alpha/cpu.c		cpu
49
50
51#
52# Machine-independent SCSI drivers
53#
54
55include "dev/scsipi/files.scsipi"
56major { st = 2 }
57major { cd = 3 }
58major { sd = 8 }
59
60#
61# Machine-independent ATA drivers
62#
63
64include "dev/ata/files.ata"
65major { wd = 4 }
66
67# Memory Disk
68file	arch/alpha/alpha/md_root.c	memory_disk_hooks
69major { md = 6 }
70
71
72#
73# "Workstation Console" glue.
74#
75include "dev/wscons/files.wscons"
76
77
78#
79# TurboLaser Bus Support
80#
81
82device	tlsb { node = -1, offset = -1 }
83attach	tlsb at mainbus
84file	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
85
86device	kft { }
87attach	kft at tlsb
88file	arch/alpha/tlsb/kftxx.c		kft
89
90device	tlsbmem
91attach	tlsbmem at tlsb
92file	arch/alpha/tlsb/tlsbmem.c	tlsbmem
93
94device	gbus { offset = -1 }
95attach	gbus at tlsb
96file	arch/alpha/tlsb/gbus.c		gbus
97
98#
99# MCBUS support
100#
101
102device	mcbus { mid = -1 }
103attach	mcbus at mainbus
104file	arch/alpha/mcbus/mcbus.c	mcbus & dec_kn300
105
106device	mcmem
107attach	mcmem at mcbus
108file	arch/alpha/mcbus/mcmem.c	mcmem
109
110#
111# Bus-independent support for DEC devices
112#
113include "dev/dec/files.dec"
114
115#
116# TurboChannel Devices
117#
118include "dev/tc/files.tc"
119
120# TC attachment is MD
121attach	tc at tcbus
122
123device	tcasic: tcbus
124attach	tcasic at mainbus
125file	arch/alpha/tc/tcasic.c		tcasic
126file	arch/alpha/tc/tc_bus_mem.c	tcasic
127file	arch/alpha/tc/tc_dma.c		tcasic
128file	arch/alpha/tc/tc_dma_3000_300.c	tcasic & dec_3000_300
129file	arch/alpha/tc/tc_dma_3000_500.c	tcasic & dec_3000_500
130file	arch/alpha/tc/tc_sgmap.c	tcasic & dec_3000_500
131file	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
132file	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
133
134# the TurboChannel IOCTL ASIC
135#  IOASIC device and attachment defined in sys/dev/tc/files.tc
136file	arch/alpha/tc/ioasic.c		ioasic
137
138# Color Frame buffer
139device	cfb: wsemuldisplaydev, wsrasteremulops
140attach	cfb at tc
141file	arch/alpha/tc/cfb.c		cfb
142
143# Smart Frame buffer
144device	sfb: wsemuldisplaydev, wsrasteremulops
145attach	sfb at tc
146file	arch/alpha/tc/sfb.c		sfb
147
148# 8530 UARTs
149device	scc: tty
150attach	scc at ioasic
151file	arch/alpha/tc/scc.c		scc		needs-count
152
153# 8530 UARTs using the MI 8530 driver   
154device	zsc { channel = -1 }
155attach	zsc at ioasic with zsc_ioasic
156file	arch/alpha/tc/zs_ioasic.c	zsc_ioasic
157file	dev/ic/z8530sc.c		zsc
158
159device	zstty: tty
160attach	zstty at zsc
161file	dev/ic/z8530tty.c		zstty		needs-flag
162
163# the TCDS ASIC
164device	tcds { slot = -1 }
165attach	tcds at tc
166file	arch/alpha/tc/tcds.c		tcds		needs-count
167
168# 53C[F]90 SCSI
169device	asc: scsi, ncr53c9x
170attach	asc at tcds
171file	arch/alpha/tc/asc.c		asc		needs-count
172file	arch/alpha/tc/tcds_dma.c	asc
173
174# TC and baseboard ioasic Lance ethernet are in files.tc
175
176#
177# ISA Bus support
178#
179
180include "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
181include "dev/isa/files.isa"
182
183#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
184
185
186#
187# ISA Bus devices
188#
189
190#device	ibus at mainbus { }
191#device	jcombo at ibus: isabus
192#device	jeisa at ibus: eisabus
193
194file	arch/alpha/isa/isa_machdep.c	isa
195
196include "dev/pckbc/files.pckbc"
197
198# Floppy disk controller
199device	fdc { drive = -1 }
200attach	fdc at isa
201device	fd: disk, isadma
202attach	fd at fdc
203file	arch/alpha/isa/fd.c		fdc needs-flag
204major	{ fd = 0 }
205
206#
207# EISA Bus support
208#
209
210include "dev/eisa/files.eisa"
211
212
213#
214# PCI Bus support
215#
216
217# include "dev/pci/files.pci" XXX SEE ABOVE
218
219define	alpha_pci_sgmap_pte32
220file	arch/alpha/pci/pci_sgmap_pte32.c	alpha_pci_sgmap_pte32
221
222define	alpha_pci_sgmap_pte64
223file	arch/alpha/pci/pci_sgmap_pte64.c	alpha_pci_sgmap_pte64
224
225device	apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
226attach	apecs at mainbus
227file	arch/alpha/pci/apecs.c		apecs
228file	arch/alpha/pci/apecs_bus_io.c	apecs
229file	arch/alpha/pci/apecs_bus_mem.c	apecs
230file	arch/alpha/pci/apecs_dma.c	apecs
231file	arch/alpha/pci/apecs_pci.c	apecs
232
233device	cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
234attach	cia at mainbus
235file	arch/alpha/pci/cia.c		cia
236file	arch/alpha/pci/cia_dma.c	cia
237file	arch/alpha/pci/cia_pci.c	cia
238file	arch/alpha/pci/cia_swiz_bus_io.c cia
239file	arch/alpha/pci/cia_swiz_bus_mem.c cia
240
241device	a12c { }: pcibus
242attach	a12c at mainbus
243file	arch/alpha/pci/a12c.c		a12c
244file	arch/alpha/pci/a12c_bus_mem.c	a12c
245file	arch/alpha/pci/a12c_dma.c	a12c
246file	arch/alpha/pci/a12c_pci.c	a12c
247
248device	dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32
249attach	dwlpx at kft
250file	arch/alpha/pci/dwlpx.c		dwlpx
251file	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
252file	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
253file	arch/alpha/pci/dwlpx_dma.c	dwlpx
254file	arch/alpha/pci/dwlpx_pci.c	dwlpx
255
256device	lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
257attach	lca at mainbus
258file	arch/alpha/pci/lca.c		lca
259file	arch/alpha/pci/lca_bus_io.c	lca
260file	arch/alpha/pci/lca_bus_mem.c	lca
261file	arch/alpha/pci/lca_dma.c	lca
262file	arch/alpha/pci/lca_pci.c	lca
263
264device	mcpcia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
265attach	mcpcia at mcbus
266file	arch/alpha/pci/mcpcia.c		mcpcia
267file	arch/alpha/pci/mcpcia_bus_io.c	mcpcia
268file	arch/alpha/pci/mcpcia_bus_mem.c	mcpcia
269file	arch/alpha/pci/mcpcia_dma.c	mcpcia
270file	arch/alpha/pci/mcpcia_pci.c	mcpcia
271
272
273# CPU support files
274file	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
275file	arch/alpha/pci/pci_a12.c	avalon_a12
276file	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
277file	arch/alpha/pci/pci_eb164.c	dec_eb164
278file	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
279#file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
280file	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
281file	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
282file	arch/alpha/pci/pci_kn8ae.c	dec_kn8ae
283file	arch/alpha/pci/pci_kn300.c	dec_kn300
284
285
286#
287# PCI Bus devices
288#
289
290file	arch/alpha/pci/pci_machdep.c	pci
291
292device	sio: isabus, alpha_shared_intr
293attach	sio at pci
294device	pceb: isabus, eisabus
295attach	pceb at pci
296file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
297file	arch/alpha/pci/sio_pic.c	sio | pceb
298
299
300#
301# A12 if_de hack, this is temporary!
302#
303device	ade: ether, ifnet, arp
304attach	ade at pci
305file	arch/alpha/pci/if_ade.c		ade
306
307#
308# alpha/a12 platform-specific drivers
309#
310
311# Switch
312
313device	xb
314attach	xb at a12c
315file	arch/alpha/a12/if_xb.c	xb
316
317# Console
318
319device	a12dc
320attach	a12dc at a12c
321file	arch/alpha/a12/a12dc.c	a12dc		needs-flag
322
323#
324# Devices that can live on multiple busses
325#
326
327device	mcclock
328attach	mcclock at ioasic with mcclock_ioasic
329attach	mcclock at isa with mcclock_isa
330attach	mcclock at gbus with mcclock_tlsb
331file	arch/alpha/alpha/mcclock.c	mcclock
332file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
333file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
334file	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
335
336
337#
338# Standard files
339#
340file	arch/alpha/alpha/autoconf.c
341file	arch/alpha/alpha/clock.c
342file	arch/alpha/alpha/conf.c
343file	arch/alpha/alpha/cpuconf.c
344file	arch/alpha/alpha/interrupt.c
345file	arch/alpha/alpha/machdep.c
346file	arch/alpha/alpha/mainbus.c
347file	arch/alpha/alpha/mem.c
348file	arch/alpha/alpha/pmap.c
349file	arch/alpha/alpha/process_machdep.c
350file	arch/alpha/alpha/prom.c
351file	arch/alpha/alpha/support.c
352file	arch/alpha/alpha/sys_machdep.c
353file	arch/alpha/alpha/trap.c
354file	arch/alpha/alpha/vm_machdep.c
355file	arch/alpha/alpha/disksubr.c
356file	arch/alpha/common/bus_dma.c
357file	dev/cons.c
358
359# Network protocol checksum routines
360file	arch/alpha/alpha/in_cksum.c		inet
361file	netns/ns_cksum.c			ns
362
363# PROM console support (for ports that don't have native console support)
364file	arch/alpha/alpha/promcons.c
365
366# CPU support
367file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50
368file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300
369file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500
370file	arch/alpha/alpha/dec_550.c		dec_550
371file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33
372file	arch/alpha/alpha/dec_eb164.c		dec_eb164
373file	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus
374file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa
375file	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae
376file	arch/alpha/alpha/dec_kn300.c		dec_kn300
377file	arch/alpha/alpha/avalon_a12.c		avalon_a12
378
379# Kernel debugger support
380file	arch/alpha/alpha/db_disasm.c		ddb
381file	arch/alpha/alpha/db_interface.c		ddb
382file	arch/alpha/alpha/db_trace.c		ddb
383
384# OSF/1 Binary Compatibility (COMPAT_OSF1)
385include "compat/osf1/files.osf1"
386