files.alpha revision 1.85
1# $NetBSD: files.alpha,v 1.85 1998/07/08 00:34:27 mjacob 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
23defopt	DEC_1000	# Mikasa etc:	AlphaServer 1000
24defopt	DEC_1000A	# Corelle etc:	AlphaServer 800 and 1000A
25defopt	DEC_ALPHABOOK1	# AlphaBook1:	Tadpole/DEC AlphaBook
26defopt	DEC_EB66	# EB66:		21066 Evaluation Board
27
28# Miscellaneous CPU-specific option headers
29defopt	FIX_UNALIGNED_VAX_FP
30defopt	ZS_IOASIC_DMA
31
32# XXX Temporary, until integration is finished.
33defopt	NEW_SCC_DRIVER
34
35# this loses, but there's no way to define attributes which have attributes
36define	alpha_shared_intr
37file	arch/alpha/common/shared_intr.c	alpha_shared_intr | dec_eb164 |
38					dec_eb64plus | dec_kn20aa | dec_kn8ae |
39					dec_kn300 | dec_550 | dec_1000 |
40					dec_1000a | dec_eb66
41define	alpha_sgmap
42file	arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500
43
44#
45# Bus-independent devices
46#
47
48device	mainbus { }			# no locators (yet?)
49attach	mainbus at root
50
51device	cpu { }				# not really optional
52attach	cpu at mainbus
53file	arch/alpha/alpha/cpu.c		cpu
54
55
56#
57# Machine-independent SCSI drivers
58#
59
60include "dev/scsipi/files.scsipi"
61major { st = 2 }
62major { cd = 3 }
63major { sd = 8 }
64
65#
66# Machine-independent ATA drivers
67#
68
69include "dev/ata/files.ata"
70major { wd = 4 }
71
72# Memory Disk
73file	arch/alpha/alpha/md_root.c	memory_disk_hooks
74major { md = 6 }
75
76
77#
78# "Workstation Console" glue.
79#
80include "dev/wscons/files.wscons"
81
82
83#
84# TurboLaser Bus Support
85#
86
87device	tlsb { node = -1, offset = -1 }
88attach	tlsb at mainbus
89file	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
90
91device	kft { }
92attach	kft at tlsb
93file	arch/alpha/tlsb/kftxx.c		kft
94
95device	tlsbmem
96attach	tlsbmem at tlsb
97file	arch/alpha/tlsb/tlsbmem.c	tlsbmem
98
99device	gbus { offset = -1 }
100attach	gbus at tlsb
101file	arch/alpha/tlsb/gbus.c		gbus
102
103#
104# MCBUS support
105#
106
107device	mcbus { mid = -1 }
108attach	mcbus at mainbus
109file	arch/alpha/mcbus/mcbus.c	mcbus & dec_kn300
110
111device	mcmem
112attach	mcmem at mcbus
113file	arch/alpha/mcbus/mcmem.c	mcmem
114
115#
116# Bus-independent support for DEC devices
117#
118include "dev/dec/files.dec"
119
120#
121# TurboChannel Devices
122#
123include "dev/tc/files.tc"
124
125# TC attachment is MD
126attach	tc at tcbus
127
128device	tcasic: tcbus
129attach	tcasic at mainbus
130file	arch/alpha/tc/tcasic.c		tcasic
131file	arch/alpha/tc/tc_bus_mem.c	tcasic
132file	arch/alpha/tc/tc_dma.c		tcasic
133file	arch/alpha/tc/tc_dma_3000_300.c	tcasic & dec_3000_300
134file	arch/alpha/tc/tc_dma_3000_500.c	tcasic & dec_3000_500
135file	arch/alpha/tc/tc_sgmap.c	tcasic & dec_3000_500
136file	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
137file	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
138
139# the TurboChannel IOCTL ASIC
140#  IOASIC device and attachment defined in sys/dev/tc/files.tc
141file	arch/alpha/tc/ioasic.c		ioasic
142
143# Color Frame buffer
144device	cfb: wsemuldisplaydev, wsrasteremulops
145attach	cfb at tc
146file	arch/alpha/tc/cfb.c		cfb
147
148# Smart Frame buffer
149device	sfb: wsemuldisplaydev, wsrasteremulops
150attach	sfb at tc
151file	arch/alpha/tc/sfb.c		sfb
152
153# 8530 UARTs
154device	scc: tty
155attach	scc at ioasic
156file	arch/alpha/tc/scc.c		scc		needs-count
157
158# 8530 UARTs using the MI 8530 driver   
159device	zsc { channel = -1 }
160attach	zsc at ioasic with zsc_ioasic
161file	arch/alpha/tc/zs_ioasic.c	zsc_ioasic
162file	dev/ic/z8530sc.c		zsc
163
164device	zstty: tty
165attach	zstty at zsc
166file	dev/ic/z8530tty.c		zstty		needs-flag
167
168# the TCDS ASIC
169device	tcds { chip = -1 }
170attach	tcds at tc
171file	arch/alpha/tc/tcds.c		tcds
172
173# 53C[F]90 SCSI
174device	asc: scsi, ncr53c9x
175attach	asc at tcds with asc_tcds
176file	arch/alpha/tc/asc.c		asc
177file	arch/alpha/tc/tcds_dma.c	asc
178
179# TC and baseboard ioasic Lance ethernet are in files.tc
180
181#
182# ISA Bus support
183#
184
185include "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
186include "dev/isa/files.isa"
187
188#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
189
190# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT
191# XXX BECAUSE NOT ALL PORTS USE THE MI DRIVER YET.  (when the conf/files
192# XXX and files.isa bogons are fixed, this can be fixed as well.)
193
194# PCI IDE controllers
195device	pciide {[channel = -1]}
196attach	pciide at pci
197file	dev/pci/pciide.c		pciide
198attach	wdc at pciide with wdc_pciide
199file	dev/pci/wdc_pciide.c		wdc_pciide
200
201#
202# ISA Bus devices
203#
204
205#device	ibus at mainbus { }
206#device	jcombo at ibus: isabus
207#device	jeisa at ibus: eisabus
208
209file	arch/alpha/isa/isa_machdep.c	isa
210
211include "dev/pckbc/files.pckbc"
212
213# Floppy disk controller
214device	fdc { drive = -1 }
215attach	fdc at isa
216device	fd: disk, isadma
217attach	fd at fdc
218file	arch/alpha/isa/fd.c		fdc needs-flag
219major	{ fd = 0 }
220
221#
222# EISA Bus support
223#
224
225include "dev/eisa/files.eisa"
226
227
228#
229# PCI Bus support
230#
231
232# include "dev/pci/files.pci" XXX SEE ABOVE
233
234file	arch/alpha/pci/pciide_machdep.c		pciide
235
236define	alpha_pci_sgmap_pte32
237file	arch/alpha/pci/pci_sgmap_pte32.c	alpha_pci_sgmap_pte32
238
239define	alpha_pci_sgmap_pte64
240file	arch/alpha/pci/pci_sgmap_pte64.c	alpha_pci_sgmap_pte64
241
242device	apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
243attach	apecs at mainbus
244file	arch/alpha/pci/apecs.c		apecs
245file	arch/alpha/pci/apecs_bus_io.c	apecs
246file	arch/alpha/pci/apecs_bus_mem.c	apecs
247file	arch/alpha/pci/apecs_dma.c	apecs
248file	arch/alpha/pci/apecs_pci.c	apecs
249
250device	cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
251attach	cia at mainbus
252file	arch/alpha/pci/cia.c		cia
253file	arch/alpha/pci/cia_dma.c	cia
254file	arch/alpha/pci/cia_pci.c	cia
255file	arch/alpha/pci/cia_bwx_bus_io.c cia
256file	arch/alpha/pci/cia_bwx_bus_mem.c cia
257file	arch/alpha/pci/cia_swiz_bus_io.c cia
258file	arch/alpha/pci/cia_swiz_bus_mem.c cia
259
260device	a12c { }: pcibus
261attach	a12c at mainbus
262file	arch/alpha/pci/a12c.c		a12c
263file	arch/alpha/pci/a12c_bus_mem.c	a12c
264file	arch/alpha/pci/a12c_dma.c	a12c
265file	arch/alpha/pci/a12c_pci.c	a12c
266
267device	dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32
268attach	dwlpx at kft
269file	arch/alpha/pci/dwlpx.c		dwlpx
270file	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
271file	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
272file	arch/alpha/pci/dwlpx_dma.c	dwlpx
273file	arch/alpha/pci/dwlpx_pci.c	dwlpx
274
275device	lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
276attach	lca at mainbus
277file	arch/alpha/pci/lca.c		lca
278file	arch/alpha/pci/lca_bus_io.c	lca
279file	arch/alpha/pci/lca_bus_mem.c	lca
280file	arch/alpha/pci/lca_dma.c	lca
281file	arch/alpha/pci/lca_pci.c	lca
282
283device	mcpcia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
284attach	mcpcia at mcbus
285file	arch/alpha/pci/mcpcia.c		mcpcia
286file	arch/alpha/pci/mcpcia_bus_io.c	mcpcia
287file	arch/alpha/pci/mcpcia_bus_mem.c	mcpcia
288file	arch/alpha/pci/mcpcia_dma.c	mcpcia
289file	arch/alpha/pci/mcpcia_pci.c	mcpcia
290
291
292# CPU support files
293file	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
294file	arch/alpha/pci/pci_a12.c	avalon_a12
295file	arch/alpha/pci/pci_alphabook1.c	dec_alphabook1
296file	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
297file	arch/alpha/pci/pci_eb164.c	dec_eb164
298file	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
299file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
300file	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
301file	arch/alpha/pci/pci_eb66.c	dec_eb66
302file	arch/alpha/pci/pci_eb66_intr.s	dec_eb66
303file	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
304file	arch/alpha/pci/pci_kn8ae.c	dec_kn8ae
305file	arch/alpha/pci/pci_kn300.c	dec_kn300
306file	arch/alpha/pci/pci_550.c	dec_550
307file	arch/alpha/pci/pci_1000a.c	dec_1000a
308file	arch/alpha/pci/pci_1000.c	dec_1000
309
310
311#
312# PCI Bus devices
313#
314
315file	arch/alpha/pci/pci_machdep.c	pci
316
317device	sio: isabus, alpha_shared_intr
318attach	sio at pci
319device	pceb: isabus, eisabus
320attach	pceb at pci
321file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
322file	arch/alpha/pci/sio_pic.c	sio | pceb
323
324
325#
326# A12 if_de hack, this is temporary!
327#
328device	ade: ether, ifnet, arp
329attach	ade at pci
330file	arch/alpha/pci/if_ade.c		ade
331
332#
333# alpha/a12 platform-specific drivers
334#
335
336# Switch
337
338device	xb
339attach	xb at a12c
340file	arch/alpha/a12/if_xb.c	xb
341
342# Console
343
344device	a12dc
345attach	a12dc at a12c
346file	arch/alpha/a12/a12dc.c	a12dc		needs-flag
347
348#
349# Devices that can live on multiple busses
350#
351
352device	mcclock
353attach	mcclock at ioasic with mcclock_ioasic
354attach	mcclock at isa with mcclock_isa
355attach	mcclock at gbus with mcclock_tlsb
356file	arch/alpha/alpha/mcclock.c	mcclock
357file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
358file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
359file	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
360
361
362#
363# Standard files
364#
365file	arch/alpha/alpha/autoconf.c
366file	arch/alpha/alpha/clock.c
367file	arch/alpha/alpha/conf.c
368file	arch/alpha/alpha/cpuconf.c
369file	arch/alpha/alpha/interrupt.c
370file	arch/alpha/alpha/machdep.c
371file	arch/alpha/alpha/mainbus.c
372file	arch/alpha/alpha/mem.c
373file	arch/alpha/alpha/pmap.c
374file	arch/alpha/alpha/process_machdep.c
375file	arch/alpha/alpha/prom.c
376file	arch/alpha/alpha/support.c
377file	arch/alpha/alpha/sys_machdep.c
378file	arch/alpha/alpha/trap.c
379file	arch/alpha/alpha/vm_machdep.c
380file	arch/alpha/alpha/disksubr.c
381file	arch/alpha/common/bus_dma.c
382file	arch/alpha/common/comlogout.c
383file	dev/cons.c
384
385# Network protocol checksum routines
386file	arch/alpha/alpha/in_cksum.c		inet
387file	netns/ns_cksum.c			ns
388
389# PROM console support (for ports that don't have native console support)
390file	arch/alpha/alpha/promcons.c
391
392# CPU support
393file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50
394file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300
395file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500
396file	arch/alpha/alpha/dec_550.c		dec_550
397file	arch/alpha/alpha/dec_alphabook1.c	dec_alphabook1
398file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33
399file	arch/alpha/alpha/dec_eb164.c		dec_eb164
400file	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus
401file	arch/alpha/alpha/dec_eb66.c		dec_eb66
402file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa
403file	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae
404file	arch/alpha/alpha/dec_kn300.c		dec_kn300
405file	arch/alpha/alpha/avalon_a12.c		avalon_a12
406file	arch/alpha/alpha/dec_1000a.c		dec_1000 | dec_1000a
407
408# Kernel debugger support
409file	arch/alpha/alpha/db_disasm.c		ddb
410file	arch/alpha/alpha/db_interface.c		ddb
411file	arch/alpha/alpha/db_trace.c		ddb
412
413# OSF/1 Binary Compatibility (COMPAT_OSF1)
414include "compat/osf1/files.osf1"
415
416# XXXX pcic here because it needs to be late.  The catch: pcic needs
417# to be late, so devices which attach to it are attached late.  But it
418# needs to be before its isa and pci attachments.  This answer is
419# non-optimal, but I don't have a better answer right now.
420
421# PCIC pcmcia contoller
422# XXX this needs to be done very late, so it's done here.  This feels
423# like a kludge, but it might be for the best.
424
425defopt	PCIC_ISA_ALLOC_IOBASE
426defopt	PCIC_ISA_ALLOC_IOSIZE
427defopt	PCIC_ISA_INTR_ALLOC_MASK
428
429device	pcic {[controller = -1], [socket = -1]}
430file	dev/ic/i82365.c			pcic
431
432# PCIC pcmcia contoller
433attach	pcic at isa with pcic_isa
434file	dev/isa/i82365_isa.c		pcic_isa
435file	dev/isa/i82365_isasubr.c	pcic_isa
436
437# PCIC pcmcia contoller
438attach	pcic at pci with pcic_pci
439file	dev/pci/i82365_pci.c		pcic_pci
440
441
442# this wants to be probed as late as possible.
443#
444# Machine-independent PCMCIA drivers
445#
446include "dev/pcmcia/files.pcmcia"
447