files.sun3 revision 1.33
1#	$NetBSD: files.sun3,v 1.33 1997/02/18 15:10:40 gwr Exp $
2
3#
4# sun3-specific configuration info
5#
6
7# maxpartitions must be first item in files.${ARCH}.newconf
8maxpartitions 8
9
10maxusers 2 8 64
11
12# Standard stuff
13file arch/sun3/sun3/autoconf.c
14file arch/sun3/sun3/bus_subr.c
15file arch/sun3/sun3/cache.c			havecache
16file arch/sun3/sun3/conf.c
17file arch/sun3/sun3/control.c	
18file arch/sun3/sun3/ctrlsp.S
19file arch/sun3/sun3/db_machdep.c		ddb
20file arch/sun3/sun3/db_memrw.c  		ddb | kgdb
21file arch/sun3/sun3/disksubr.c
22file arch/sun3/sun3/dvma.c
23file arch/sun3/sun3/fpu.c
24file arch/sun3/sun3/isr.c
25file arch/sun3/sun3/kgdb_machdep.c 		kgdb
26file arch/sun3/sun3/machdep.c
27file arch/sun3/sun3/mem.c
28file arch/sun3/sun3/pmap.c
29file arch/sun3/sun3/regdump.c
30file arch/sun3/sun3/sig_machdep.c
31file arch/sun3/sun3/stub.c
32file arch/sun3/sun3/sun3_startup.c
33file arch/sun3/sun3/sunmon.c
34file arch/sun3/sun3/sys_machdep.c
35file arch/sun3/sun3/trap.c
36file arch/sun3/sun3/vector.c
37file arch/sun3/sun3/vm_machdep.c
38
39file arch/sun3/dev/idprom.c
40
41include "arch/m68k/fpe/files.fpe"
42
43file arch/m68k/m68k/copy.s
44file dev/cons.c
45
46#
47# Bus types
48#
49# The implementation of the bus_* functions in autoconfig.c
50# requires these all to agree with <autoconf.h> struct bus_loc
51
52device mainbus {}
53attach mainbus at root
54file	arch/sun3/sun3/mainbus.c	mainbus
55
56# On-board I/O space
57device obio {addr = -1, [level = -1]}
58attach obio at mainbus
59file arch/sun3/dev/obio.c		obio
60
61# On-board MEMory space
62device obmem {addr = -1, [level = -1]}
63attach obmem at mainbus
64file arch/sun3/dev/obmem.c		obmem
65
66# VME Short space (D16)
67device vmes {addr = -1, [level = -1], [vect = -1]}
68attach vmes at mainbus
69
70# VME Long space (D32)
71device vmel {addr = -1, [level = -1], [vect = -1]}
72attach vmel at mainbus
73
74file arch/sun3/dev/vme.c		vmes | vmel
75
76#
77# Machine-independent SCSI drivers
78#
79include "../../../scsi/files.scsi"
80
81#
82# On-Board I/O (OBIO)
83#
84device zsc {channel = -1}
85attach zsc at obio
86file arch/sun3/dev/zs.c 		zsc needs-flag
87file dev/ic/z8530sc.c			zsc
88
89device eeprom
90attach eeprom at obio
91file arch/sun3/dev/eeprom.c		eeprom
92
93device clock
94attach clock at obio
95file arch/sun3/sun3/clock.c		clock
96
97device memerr
98attach memerr at obio
99file arch/sun3/dev/memerr.c		memerr
100
101device intreg
102attach intreg at obio
103file arch/sun3/sun3/intreg.c		intreg
104
105device ie: ifnet, ether
106attach ie at obio with ie_obio
107attach ie at vmes with ie_vmes
108file arch/sun3/dev/if_ie_obio.c		ie_obio
109file arch/sun3/dev/if_ie_vmes.c		ie_vmes
110file arch/sun3/dev/if_ie.c		ie
111
112# device defined in sys/conf/files
113attach le at obio
114file arch/sun3/dev/if_le.c		le
115
116device si: scsi, ncr5380sbc
117file	arch/sun3/dev/si.c		si
118attach si at obio with si_obio
119file	arch/sun3/dev/si_obio.c		si_obio
120attach si at vmes with si_vmes
121file	arch/sun3/dev/si_vme.c		si_vmes
122
123#
124# Sun-compatible Frame Buffers (?)
125#
126define sunfb
127file arch/sun3/dev/fb.c			# sunfb needs-flag
128
129#
130# On-Board MEMory (OBMEM)
131#
132device bwtwo: sunfb
133attach bwtwo at obmem
134file arch/sun3/dev/bw2.c		bwtwo needs-flag
135
136device cgtwo: sunfb
137attach cgtwo at vmes
138file arch/sun3/dev/cg2.c		cgtwo needs-flag
139
140device cgfour: sunfb
141attach cgfour at obmem
142file arch/sun3/dev/cg4.c		cgfour needs-flag
143
144#
145# VME
146#
147device	xdc {drive = -1}
148attach	xdc at vmel
149device	xd: disk
150attach	xd at xdc
151file	arch/sun3/dev/xd.c		xd needs-flag
152
153device	xyc {drive = -1}
154attach	xyc at vmes
155device	xy: disk
156attach	xy at xyc
157file	arch/sun3/dev/xy.c		xy needs-flag
158
159
160
161#
162# Console (zs) related stuff
163#
164
165device zstty: tty
166attach zstty at zsc
167file dev/ic/z8530tty.c			zstty needs-flag
168file arch/sun3/dev/zs_kgdb.c		kgdb
169
170define zsevent
171file dev/sun/event.c			zsevent
172
173device kbd: zsevent
174attach kbd at zsc
175file dev/sun/kbd.c			kbd needs-flag
176file dev/sun/kbd_tables.c 		kbd
177file arch/sun3/dev/kd.c 		kbd
178
179device ms: zsevent
180attach ms at zsc
181file dev/sun/ms.c			ms needs-flag
182
183
184# Memory Disk for boot tape
185file arch/sun3/dev/md_root.c	memory_disk_hooks
186
187# Major numbers for root/swap device configuration
188major	{xy=3}	# Xylogics 450 and 451
189major	{vnd=5}	# vnode pseudo-device
190major	{sd=7}	# SCSI disk
191major	{xd=10}	# Xylogics 7053
192major	{md=13}	# Memory disk (for mini-kernel)
193
194# Compatibility modules
195
196# SunOS Binary Compatibility (COMPAT_SUNOS)
197include "../../../compat/sunos/files.sunos"
198file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
199