files.sun2 revision 1.2
1#	$NetBSD: files.sun2,v 1.2 2001/04/06 17:17:58 fredette Exp $
2
3#
4# sun2-specific configuration info
5#
6
7# maxpartitions must be first item in files.${ARCH}
8maxpartitions 8
9
10maxusers 2 8 64
11
12# Standard stuff
13file arch/sun2/sun2/locore2.c
14file arch/sun2/sun2/machdep.c
15file arch/sun2/sun2/pmap.c
16file arch/sun2/sun2/control.c
17file arch/sun2/sun2/ctrlsp.S
18file arch/sun2/sun2/mem.c
19file arch/sun2/sun2/autoconf.c
20file arch/sun2/sun2/conf.c
21file arch/sun2/sun2/db_machdep.c		ddb
22file arch/sun2/sun2/db_memrw.c  		ddb | kgdb
23file arch/sun2/sun2/disksubr.c
24file arch/sun2/sun2/fpu.c
25file arch/sun2/sun2/isr.c
26file arch/sun2/sun2/kgdb_machdep.c 		kgdb
27file arch/sun2/sun2/leds.c
28file arch/sun2/sun2/idprom.c
29file arch/sun2/sun2/stub.c
30file arch/sun2/sun2/promlib.c
31file arch/sun2/sun2/sys_machdep.c
32file arch/sun2/sun2/trap.c
33file arch/sun2/sun2/vector.c
34file arch/sun2/sun2/vm_machdep.c
35
36include "arch/m68k/fpe/files.fpe"
37
38# Console support
39#file arch/sun2/sun2/cninit.c
40file dev/cons.c
41
42#
43# Bus types
44#
45
46device mainbus {}
47attach mainbus at root
48
49# On-board I/O space (required).
50device obio {addr = -1, [ipl = -1], [vect = -1]}
51attach obio at mainbus
52file arch/sun2/sun2/obio.c
53
54# On-board MEMory space (required).
55device obmem {addr = -1, [ipl = -1], [vect = -1]}
56attach obmem at mainbus
57file arch/sun2/sun2/obmem.c		obmem
58
59# MultiBus MEMory space (optional).
60device mbmem {addr = -1, [ipl = -1], [vect = -1]}
61attach mbmem at mainbus
62file arch/sun2/sun2/mbmem.c		mbmem
63
64# MultiBus I/O space (optional).
65device mbio {addr = -1, [ipl = -1], [vect = -1]}
66attach mbio at mainbus
67file arch/sun2/sun2/mbio.c		mbio
68
69# VME
70include "dev/vme/files.vme"
71device sun2vme: vmebus
72attach sun2vme at mainbus with vme_mainbus
73
74#
75# Machine-independent SCSI drivers
76#
77include "dev/scsipi/files.scsipi"
78
79#
80# Devices, files, and attributes needed below
81#
82
83#device sc: scsi, sunscpal
84#file arch/sun2/dev/sc.c		sc
85
86include "dev/sun/files.sun"
87
88file arch/sun2/dev/zs_any.c		zs_obio | zs_obmem | zs_mbmem
89file arch/sun2/dev/bwtwo_any.c		bwtwo_obio | bwtwo_obmem
90
91#
92# On-Board I/O (OBIO), in attach order.
93# The following are all required.
94#
95
96# Zilog Serial (ZS)
97attach zs at obio with zs_obio
98
99# AMD timer
100device clock
101attach clock at obio
102file arch/sun2/sun2/clock.c
103file dev/clock_subr.c
104
105# National Semiconductor Time-Of-Day clock
106device tod: mm58167
107attach tod at obio
108file arch/sun2/sun2/tod.c
109
110# These are optional:
111
112# Intel Ethernet
113attach ie at obio with ie_obio
114#file arch/sun2/dev/if_ie_obio.c		ie_obio
115
116attach bwtwo at obio with bwtwo_obio
117
118#
119# On-Board MEMory (OBMEM)
120#
121
122attach zs at obmem with zs_obmem
123
124attach bwtwo at obmem with bwtwo_obmem
125
126#
127# MultiBus MEMory (MBMEM)
128#
129
130attach zs at mbmem with zs_mbmem
131
132attach ie at mbmem with ie_mbmem
133file arch/sun2/dev/if_ie_mbmem.c	ie_mbmem
134
135#attach sc at mbmem with sc_mbmem
136#file arch/sun2/dev/sc_mbmem.c		sc_mbmem
137
138#
139# Console (zs) related stuff
140#
141
142device zstty: tty
143attach zstty at zs
144file dev/ic/z8530tty.c			zstty needs-flag
145file dev/sun/zs_kgdb.c			kgdb
146
147define zsevent
148#file dev/sun/event.c			zsevent
149
150device kbd: zsevent
151attach kbd at zs with kbd_zs
152file dev/sun/kbd_zs.c			kbd_zs
153file dev/sun/kbd.c			kbd needs-flag
154file dev/sun/kbd_tables.c 		kbd
155file dev/sun/kd.c 			kbd
156
157device ms: zsevent
158attach ms at zs with ms_zs
159file dev/sun/ms_zs.c			ms_zs
160file dev/sun/ms.c			ms needs-flag
161
162# Memory Disk for boot tape
163#file arch/sun2/dev/md_root.c		memory_disk_hooks
164
165# Compatibility modules
166
167# SunOS Binary Compatibility (COMPAT_SUNOS)
168include "compat/sunos/files.sunos"
169file arch/m68k/m68k/sunos_machdep.c	compat_sunos
170
171# SVR4 Binary Compatibility (COMPAT_SVR4)
172include "compat/svr4/files.svr4"
173
174# Linux binary compatibility (COMPAT_LINUX)
175include "compat/linux/files.linux"
176include "compat/linux/arch/m68k/files.linux_m68k"
177
178# OSS audio driver compatibility
179include "compat/ossaudio/files.ossaudio"
180
181# Major numbers for root/swap device configuration
182major	{xy=3}	# Xylogics 450 and 451
183major	{sd=7}	# SCSI disk
184major	{xd=10}	# Xylogics 7053
185major	{md=13}	# Memory disk (for mini-kernel)
186major	{raid=25} # RAIDframe
187