files.sun2 revision 1.3
1#	$NetBSD: files.sun2,v 1.3 2001/04/18 15:09:47 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
83device sc: scsi, sunscpal
84
85include "dev/sun/files.sun"
86
87file arch/sun2/dev/zs_any.c		zs_obio | zs_obmem | zs_mbmem
88file arch/sun2/dev/bwtwo_any.c		bwtwo_obio | bwtwo_obmem
89
90#
91# On-Board I/O (OBIO), in attach order.
92# The following are all required.
93#
94
95# Zilog Serial (ZS)
96attach zs at obio with zs_obio
97
98# AMD timer
99device clock
100attach clock at obio
101file arch/sun2/sun2/clock.c
102file dev/clock_subr.c
103
104# National Semiconductor Time-Of-Day clock
105device tod: mm58167
106attach tod at obio
107file arch/sun2/sun2/tod.c
108
109# These are optional:
110
111# Intel Ethernet
112attach ie at obio with ie_obio
113#file arch/sun2/dev/if_ie_obio.c		ie_obio
114
115attach bwtwo at obio with bwtwo_obio
116
117#
118# On-Board MEMory (OBMEM)
119#
120
121attach zs at obmem with zs_obmem
122
123attach bwtwo at obmem with bwtwo_obmem
124
125#
126# MultiBus MEMory (MBMEM)
127#
128
129attach zs at mbmem with zs_mbmem
130
131attach ie at mbmem with ie_mbmem
132file arch/sun2/dev/if_ie_mbmem.c	ie_mbmem
133
134attach sc at mbmem with sc_mbmem
135file arch/sun2/dev/sc_mbmem.c		sc_mbmem
136
137#
138# Console (zs) related stuff
139#
140
141device zstty: tty
142attach zstty at zs
143file dev/ic/z8530tty.c			zstty needs-flag
144file dev/sun/zs_kgdb.c			kgdb
145
146define zsevent
147#file dev/sun/event.c			zsevent
148
149device kbd: zsevent
150attach kbd at zs with kbd_zs
151file dev/sun/kbd_zs.c			kbd_zs
152file dev/sun/kbd.c			kbd needs-flag
153file dev/sun/kbd_tables.c 		kbd
154file dev/sun/kd.c 			kbd
155
156device ms: zsevent
157attach ms at zs with ms_zs
158file dev/sun/ms_zs.c			ms_zs
159file dev/sun/ms.c			ms needs-flag
160
161# Memory Disk for boot tape
162#file arch/sun2/dev/md_root.c		memory_disk_hooks
163
164# Compatibility modules
165
166# SunOS Binary Compatibility (COMPAT_SUNOS)
167include "compat/sunos/files.sunos"
168file arch/m68k/m68k/sunos_machdep.c	compat_sunos
169
170# SVR4 Binary Compatibility (COMPAT_SVR4)
171include "compat/svr4/files.svr4"
172
173# Linux binary compatibility (COMPAT_LINUX)
174include "compat/linux/files.linux"
175include "compat/linux/arch/m68k/files.linux_m68k"
176
177# OSS audio driver compatibility
178include "compat/ossaudio/files.ossaudio"
179
180# Major numbers for root/swap device configuration
181major	{xy=3}	# Xylogics 450 and 451
182major	{sd=7}	# SCSI disk
183major	{xd=10}	# Xylogics 7053
184major	{md=13}	# Memory disk (for mini-kernel)
185major	{raid=25} # RAIDframe
186