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