files.alpha revision 1.111
1# $NetBSD: files.alpha,v 1.111 2000/04/07 16:35:22 thorpej 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_2100_A500	# Sable etc:	AlphaServer 2100
14defopt	DEC_3000_300	# Pelican etc:	3000/300*
15defopt	DEC_3000_500	# Flamingo etc:	3000/[4-9]00*
16defopt	DEC_550		# Miata:	Personal Workstation (550)
17defopt	DEC_AXPPCI_33	# NoName:	AXPpci33, etc.
18defopt	DEC_EB164	# EB164:	AlphaPC 164
19defopt	DEC_EB64PLUS	# EB64+:	AlphaPC 64, etc.
20defopt	DEC_KN20AA	# KN20AA:	AlphaStation 500 and 600
21defopt	DEC_KN8AE	# KN8AE:	AlphaServer 8200 and 8400
22defopt	DEC_KN300	# KN300:	AlphaServer 4X00
23defopt	AVALON_A12	# Avalon:	A12T1, A12M Parallel Supercomputer
24defopt	DEC_1000	# Mikasa etc:	AlphaServer 1000
25defopt	DEC_1000A	# Corelle etc:	AlphaServer 800 and 1000A
26defopt	DEC_ALPHABOOK1	# AlphaBook1:	Tadpole/DEC AlphaBook
27defopt	DEC_EB66	# EB66:		21066 Evaluation Board
28defopt	DEC_6600	# EV6		Various EV6 Systems
29
30# Miscellaneous CPU-specific option headers
31defopt	FIX_UNALIGNED_VAX_FP
32defopt	ZS_IOASIC_DMA
33
34# XXX Temporary, until integration is finished.
35defopt	NEW_SCC_DRIVER
36
37# realtime clock compatible to OSF/1
38defopt	CLOCK_COMPAT_OSF1
39
40# this loses, but there's no way to define attributes which have attributes
41define	alpha_shared_intr
42file	arch/alpha/common/shared_intr.c	alpha_shared_intr | dec_eb164 |
43					dec_eb64plus | dec_kn20aa | dec_kn8ae |
44					dec_kn300 | dec_550 | dec_1000 |
45					dec_1000a | dec_eb66 | dec_6600
46define	alpha_sgmap
47file	arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500
48
49#
50# Bus-independent devices
51#
52
53device	mainbus { }			# no locators (yet?)
54attach	mainbus at root
55
56device	cpu { }				# not really optional
57attach	cpu at mainbus
58file	arch/alpha/alpha/cpu.c		cpu
59
60#
61# Machine-independent MII/PHY drivers.
62#
63
64include "dev/mii/files.mii"
65
66#
67# Machine-independent SCSI drivers
68#
69
70include "dev/scsipi/files.scsipi"
71major { cd = 3 }
72major { sd = 8 }
73
74#
75# Machine-independent ATA drivers
76#
77
78include "dev/ata/files.ata"
79major { wd = 4 }
80
81# Memory Disk
82file	arch/alpha/alpha/md_root.c	memory_disk_hooks
83major { md = 6 }
84
85# RAIDframe 
86major { raid = 16 }
87
88# Raster operations
89include "dev/rasops/files.rasops"
90include "dev/wsfont/files.wsfont"
91
92#
93# "Workstation Console" glue.
94#
95include "dev/wscons/files.wscons"
96
97
98#
99# TurboLaser Bus Support
100#
101
102device	tlsb { node = -1, offset = -1 }
103attach	tlsb at mainbus
104file	arch/alpha/tlsb/tlsb.c		tlsb & dec_kn8ae
105
106device	kft { }
107attach	kft at tlsb
108file	arch/alpha/tlsb/kftxx.c		kft
109
110device	tlsbmem
111attach	tlsbmem at tlsb
112file	arch/alpha/tlsb/tlsbmem.c	tlsbmem
113
114device	gbus { offset = -1 }
115attach	gbus at tlsb
116file	arch/alpha/tlsb/gbus.c		gbus
117
118#
119# MCBUS support
120#
121
122device	mcbus { mid = -1 }
123attach	mcbus at mainbus
124file	arch/alpha/mcbus/mcbus.c	mcbus & dec_kn300
125
126device	mcmem
127attach	mcmem at mcbus
128file	arch/alpha/mcbus/mcmem.c	mcmem
129
130#
131# Bus-independent support for DEC devices
132#
133include "dev/dec/files.dec"
134
135#
136# TURBOchannel Devices
137#
138include "dev/tc/files.tc"
139
140# TC attachment is MD
141attach	tc at tcbus
142
143device	tcasic: tcbus
144attach	tcasic at mainbus
145file	arch/alpha/tc/tcasic.c		tcasic
146file	arch/alpha/tc/tc_bus_mem.c	tcasic
147file	arch/alpha/tc/tc_dma.c		tcasic
148file	arch/alpha/tc/tc_dma_3000_300.c	tcasic & dec_3000_300
149file	arch/alpha/tc/tc_dma_3000_500.c	tcasic & dec_3000_500
150file	arch/alpha/tc/tc_sgmap.c	tcasic & dec_3000_500
151file	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
152file	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
153
154# the TURBOchannel IOCTL ASIC
155#  IOASIC device and attachment defined in sys/dev/tc/files.tc
156file	arch/alpha/tc/ioasic.c		ioasic
157
158# Color Frame buffer
159device	cfb: wsemuldisplaydev, wsrasteremulops
160attach	cfb at tc
161file	arch/alpha/tc/cfb.c		cfb		needs-flag
162
163# Smart Frame buffer
164device	sfb: wsemuldisplaydev, rasops8
165attach	sfb at tc
166file	dev/tc/sfb.c			sfb		needs-flag
167
168# 8530 UARTs
169device	scc: tty
170attach	scc at ioasic
171file	arch/alpha/tc/scc.c		scc		needs-count
172
173# 8530 UARTs using the MI 8530 driver   
174device	zsc { channel = -1 }
175attach	zsc at ioasic with zsc_ioasic
176file	arch/alpha/tc/zs_ioasic.c	zsc_ioasic	needs-flag
177file	dev/ic/z8530sc.c		zsc
178
179device	zstty: tty
180attach	zstty at zsc
181file	dev/ic/z8530tty.c		zstty		needs-flag
182
183device	vsms: wsmousedev
184attach	vsms at zsc with zsms
185file	dev/dec/zsms.c			zsms
186
187device	lkkbd: wskbddev
188attach	lkkbd at zsc with zskbd
189file	dev/dec/zskbd.c			zskbd		needs-flag
190
191# the TCDS ASIC
192device	tcds { chip = -1 }
193attach	tcds at tc
194file	arch/alpha/tc/tcds.c		tcds
195
196# 53C[F]90 SCSI
197device	asc: scsi, ncr53c9x
198attach	asc at tcds with asc_tcds
199file	arch/alpha/tc/asc.c		asc
200file	arch/alpha/tc/tcds_dma.c	asc
201
202# TC and baseboard ioasic Lance ethernet are in files.tc
203
204#
205# ISA Bus support
206#
207
208include "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
209include "dev/isa/files.isa"
210
211#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
212
213#
214# ISA Bus devices
215#
216
217#device	ibus at mainbus { }
218#device	jcombo at ibus: isabus
219#device	jeisa at ibus: eisabus
220
221file	arch/alpha/isa/isa_machdep.c	isa
222
223include "dev/pckbc/files.pckbc"
224
225# Floppy disk controller
226device	fdc { drive = -1 }
227attach	fdc at isa
228device	fd: disk, isadma
229attach	fd at fdc
230file	dev/isa/fd.c			fdc needs-flag
231major	{ fd = 0 }
232
233# ISA Plug 'n Play devices
234file	arch/alpha/isa/isapnp_machdep.c	isapnp
235
236#
237# EISA Bus support
238#
239
240include "dev/eisa/files.eisa"
241
242
243#
244# PCI Bus support
245#
246
247# include "dev/pci/files.pci" XXX SEE ABOVE
248
249file	arch/alpha/pci/pciide_machdep.c		pciide
250
251define	alpha_pci_sgmap_pte32
252file	arch/alpha/pci/pci_sgmap_pte32.c	alpha_pci_sgmap_pte32
253
254define	alpha_pci_sgmap_pte64
255file	arch/alpha/pci/pci_sgmap_pte64.c	alpha_pci_sgmap_pte64
256
257device	apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
258attach	apecs at mainbus
259file	arch/alpha/pci/apecs.c		apecs
260file	arch/alpha/pci/apecs_bus_io.c	apecs
261file	arch/alpha/pci/apecs_bus_mem.c	apecs
262file	arch/alpha/pci/apecs_dma.c	apecs
263file	arch/alpha/pci/apecs_pci.c	apecs
264
265device	cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
266attach	cia at mainbus
267file	arch/alpha/pci/cia.c		cia
268file	arch/alpha/pci/cia_dma.c	cia
269file	arch/alpha/pci/cia_pci.c	cia
270file	arch/alpha/pci/cia_bwx_bus_io.c cia
271file	arch/alpha/pci/cia_bwx_bus_mem.c cia
272file	arch/alpha/pci/cia_swiz_bus_io.c cia
273file	arch/alpha/pci/cia_swiz_bus_mem.c cia
274
275device	a12c { }: pcibus
276attach	a12c at mainbus
277file	arch/alpha/pci/a12c.c		a12c
278file	arch/alpha/pci/a12c_bus_mem.c	a12c
279file	arch/alpha/pci/a12c_dma.c	a12c
280file	arch/alpha/pci/a12c_pci.c	a12c
281
282device	dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32
283attach	dwlpx at kft
284file	arch/alpha/pci/dwlpx.c		dwlpx
285file	arch/alpha/pci/dwlpx_bus_io.c	dwlpx
286file	arch/alpha/pci/dwlpx_bus_mem.c	dwlpx
287file	arch/alpha/pci/dwlpx_dma.c	dwlpx
288file	arch/alpha/pci/dwlpx_pci.c	dwlpx
289
290device	lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
291attach	lca at mainbus
292file	arch/alpha/pci/lca.c		lca
293file	arch/alpha/pci/lca_bus_io.c	lca
294file	arch/alpha/pci/lca_bus_mem.c	lca
295file	arch/alpha/pci/lca_dma.c	lca
296file	arch/alpha/pci/lca_pci.c	lca
297
298device	mcpcia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
299attach	mcpcia at mcbus
300file	arch/alpha/pci/mcpcia.c		mcpcia
301file	arch/alpha/pci/mcpcia_bus_io.c	mcpcia
302file	arch/alpha/pci/mcpcia_bus_mem.c	mcpcia
303file	arch/alpha/pci/mcpcia_dma.c	mcpcia
304file	arch/alpha/pci/mcpcia_pci.c	mcpcia
305
306device	tsc { }
307attach	tsc at mainbus
308file	arch/alpha/pci/tsc.c		dec_6600
309
310device	tsp: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
311attach	tsp at tsc
312file	arch/alpha/pci/tsp_dma.c	tsp
313file	arch/alpha/pci/tsp_pci.c	tsp
314file	arch/alpha/pci/tsp_bus_io.c	tsp
315file	arch/alpha/pci/tsp_bus_mem.c	tsp
316
317device	ttwoga { hose = -1 }
318attach	ttwoga at mainbus
319device	ttwopci: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
320attach	ttwopci at ttwoga
321file	arch/alpha/pci/ttwoga.c		ttwoga
322file	arch/alpha/pci/ttwoga_bus_io.c	ttwoga
323file	arch/alpha/pci/ttwoga_bus_mem.c	ttwoga
324file	arch/alpha/pci/ttwoga_dma.c	ttwoga
325file	arch/alpha/pci/ttwoga_pci.c	ttwoga
326
327#
328# Sable STDIO support
329#
330device	sableio { port = -1 }
331attach	sableio at pcibus
332file	arch/alpha/sableio/sableio.c		sableio
333
334attach	com at sableio with com_sableio
335file	arch/alpha/sableio/com_sableio.c	com_sableio
336
337attach	lpt at sableio with lpt_sableio
338file	arch/alpha/sableio/lpt_sableio.c	lpt_sableio
339
340attach	pckbc at sableio with pckbc_sableio
341file	arch/alpha/sableio/pckbc_sableio.c	pckbc_sableio
342
343#attach	fdc at sableio with fdc_sableio
344#file	arch/alpha/sableio/fdc_sableio.c	fdc_sableio
345
346# CPU support files
347file	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
348file	arch/alpha/pci/pci_2100_a500.c	dec_2100_a500
349file	arch/alpha/pci/pci_a12.c	avalon_a12
350file	arch/alpha/pci/pci_alphabook1.c	dec_alphabook1
351file	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
352file	arch/alpha/pci/pci_eb164.c	dec_eb164
353file	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
354file	arch/alpha/pci/pci_eb64plus.c	dec_eb64plus
355file	arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
356file	arch/alpha/pci/pci_eb66.c	dec_eb66
357file	arch/alpha/pci/pci_eb66_intr.s	dec_eb66
358file	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
359file	arch/alpha/pci/pci_kn8ae.c	dec_kn8ae
360file	arch/alpha/pci/pci_kn300.c	dec_kn300
361file	arch/alpha/pci/pci_550.c	dec_550
362file	arch/alpha/pci/pci_1000a.c	dec_1000a
363file	arch/alpha/pci/pci_1000.c	dec_1000
364file	arch/alpha/pci/pci_6600.c	dec_6600
365
366
367#
368# PCI Bus devices
369#
370
371file	arch/alpha/pci/pci_machdep.c	pci
372
373device	sio: isabus, alpha_shared_intr
374attach	sio at pci
375device	pceb: isabus, eisabus
376attach	pceb at pci
377file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
378file	arch/alpha/pci/sio_pic.c	sio | pceb
379
380
381#
382# A12 if_de hack
383#
384device	ade: ether, ifnet, arp
385attach	ade at pci
386file	arch/alpha/a12/if_ade.c		ade
387
388#
389# alpha/a12 platform-specific drivers
390#
391
392# Switch
393
394device	xb
395attach	xb at a12c
396file	arch/alpha/a12/if_xb.c	xb
397
398# Console
399
400device	a12dc
401attach	a12dc at a12c
402file	arch/alpha/a12/a12dc.c	a12dc		needs-flag
403
404#
405# Devices that can live on multiple busses
406#
407
408device	mcclock
409attach	mcclock at ioasic with mcclock_ioasic
410attach	mcclock at isa with mcclock_isa
411attach	mcclock at gbus with mcclock_tlsb
412file	arch/alpha/alpha/mcclock.c	mcclock
413file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
414file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
415file	arch/alpha/tlsb/mcclock_tlsb.c	mcclock_tlsb
416
417
418#
419# Standard files
420#
421file	arch/alpha/alpha/autoconf.c
422file	arch/alpha/alpha/clock.c
423file	dev/clock_subr.c
424file	arch/alpha/alpha/conf.c
425file	arch/alpha/alpha/cpuconf.c
426file	arch/alpha/alpha/interrupt.c
427file	arch/alpha/alpha/ipifuncs.c		multiprocessor
428file	arch/alpha/alpha/machdep.c
429file	arch/alpha/alpha/mainbus.c
430file	arch/alpha/alpha/mem.c
431file	arch/alpha/alpha/pmap.c
432file	arch/alpha/alpha/process_machdep.c
433file	arch/alpha/alpha/prom.c
434file	arch/alpha/alpha/support.c
435file	arch/alpha/alpha/sys_machdep.c
436file	arch/alpha/alpha/trap.c
437file	arch/alpha/alpha/vm_machdep.c
438file	arch/alpha/alpha/disksubr.c
439file	arch/alpha/common/bus_dma.c
440file	arch/alpha/common/comlogout.c
441file	dev/cons.c
442
443# Network protocol checksum routines
444file	arch/alpha/alpha/in_cksum.c		inet
445file	netinet/in4_cksum.c			inet
446file	netns/ns_cksum.c			ns
447
448# PROM console support (for ports that don't have native console support)
449file	arch/alpha/alpha/promcons.c
450
451# CPU support
452file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50
453file	arch/alpha/alpha/dec_2100_a500.c	dec_2100_a500
454file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300
455file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500
456file	arch/alpha/alpha/dec_550.c		dec_550
457file	arch/alpha/alpha/dec_alphabook1.c	dec_alphabook1
458file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33
459file	arch/alpha/alpha/dec_eb164.c		dec_eb164
460file	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus
461file	arch/alpha/alpha/dec_eb66.c		dec_eb66
462file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa
463file	arch/alpha/alpha/dec_kn8ae.c		dec_kn8ae
464file	arch/alpha/alpha/dec_kn300.c		dec_kn300
465file	arch/alpha/alpha/avalon_a12.c		avalon_a12
466file	arch/alpha/alpha/dec_1000a.c		dec_1000 | dec_1000a
467file	arch/alpha/alpha/dec_6600.c		dec_6600
468
469# Kernel debugger support
470file	arch/alpha/alpha/db_disasm.c		ddb
471file	arch/alpha/alpha/db_interface.c		ddb
472file	arch/alpha/alpha/db_trace.c		ddb
473
474# Binary compatibility with previous NetBSD releases (COMPAT_XX)
475file	arch/alpha/alpha/compat_13_machdep.c	compat_13
476
477# OSF/1 Binary Compatibility (COMPAT_OSF1)
478include "compat/osf1/files.osf1"
479file	arch/alpha/alpha/osf1_locore.s		compat_osf1
480
481# Linux Binary Compatibility (COMPAT_LINUX)
482include "compat/linux/files.linux"
483include "compat/linux/arch/alpha/files.linux_alpha"
484
485# OSS audio driver compatibility
486include "compat/ossaudio/files.ossaudio"
487
488# XXXX pcic here because it needs to be late.  The catch: pcic needs
489# to be late, so devices which attach to it are attached late.  But it
490# needs to be before its isa and pci attachments.  This answer is
491# non-optimal, but I don't have a better answer right now.
492
493# PCIC pcmcia contoller
494# XXX this needs to be done very late, so it's done here.  This feels
495# like a kludge, but it might be for the best.
496
497defopt	PCIC_ISA_ALLOC_IOBASE
498defopt	PCIC_ISA_ALLOC_IOSIZE
499defopt	PCIC_ISA_INTR_ALLOC_MASK
500
501device	pcic: pcmciabus
502file	dev/ic/i82365.c			pcic
503
504# PCIC pcmcia controller on ISA bus.
505attach	pcic at isa with pcic_isa
506file	dev/isa/i82365_isa.c		pcic_isa
507
508# PCIC pcmcia controller on PCI bus.
509attach	pcic at pci with pcic_pci
510file	dev/pci/i82365_pci.c		pcic_pci
511
512# PCIC pcmcia controller on PnP board
513attach pcic at isapnp with pcic_isapnp
514file	dev/isapnp/i82365_isapnp.c	pcic_isapnp
515
516# Code common to ISA and ISAPnP attachments
517file	dev/isa/i82365_isasubr.c	pcic_isa | pcic_isapnp | pcic_pci
518
519
520# this wants to be probed as late as possible.
521#
522# Machine-independent PCMCIA drivers
523#
524include "dev/pcmcia/files.pcmcia"
525#
526# Machine-independent USB device support
527#
528include "dev/usb/files.usb"
529