files.sun3 revision 1.35
1#	$NetBSD: files.sun3,v 1.35 1997/03/13 20:30:19 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/stub.c
31file arch/sun3/sun3/sun3_startup.c
32file arch/sun3/sun3/sunmon.c
33file arch/sun3/sun3/sys_machdep.c
34file arch/sun3/sun3/trap.c
35file arch/sun3/sun3/vector.c
36file arch/sun3/sun3/vm_machdep.c
37
38file arch/sun3/dev/idprom.c
39
40include "arch/m68k/fpe/files.fpe"
41
42file arch/m68k/m68k/copy.s
43file arch/m68k/m68k/sig_machdep.c
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
96file dev/clock_subr.c			clock
97
98device memerr
99attach memerr at obio
100file arch/sun3/dev/memerr.c		memerr
101
102device intreg
103attach intreg at obio
104file arch/sun3/sun3/intreg.c		intreg
105
106device ie: ifnet, ether
107attach ie at obio with ie_obio
108attach ie at vmes with ie_vmes
109file arch/sun3/dev/if_ie_obio.c		ie_obio
110file arch/sun3/dev/if_ie_vmes.c		ie_vmes
111file arch/sun3/dev/if_ie.c		ie
112
113# device defined in sys/conf/files
114attach le at obio
115file arch/sun3/dev/if_le.c		le
116
117device si: scsi, ncr5380sbc
118file	arch/sun3/dev/si.c		si
119attach si at obio with si_obio
120file	arch/sun3/dev/si_obio.c		si_obio
121attach si at vmes with si_vmes
122file	arch/sun3/dev/si_vme.c		si_vmes
123
124#
125# Sun-compatible Frame Buffers (?)
126#
127define sunfb
128file arch/sun3/dev/fb.c			# sunfb needs-flag
129
130#
131# On-Board MEMory (OBMEM)
132#
133device bwtwo: sunfb
134attach bwtwo at obmem
135file arch/sun3/dev/bw2.c		bwtwo needs-flag
136
137device cgtwo: sunfb
138attach cgtwo at vmes
139file arch/sun3/dev/cg2.c		cgtwo needs-flag
140
141device cgfour: sunfb
142attach cgfour at obmem
143file arch/sun3/dev/cg4.c		cgfour needs-flag
144
145#
146# VME
147#
148device	xdc {drive = -1}
149attach	xdc at vmel
150device	xd: disk
151attach	xd at xdc
152file	arch/sun3/dev/xd.c		xd needs-flag
153
154device	xyc {drive = -1}
155attach	xyc at vmes
156device	xy: disk
157attach	xy at xyc
158file	arch/sun3/dev/xy.c		xy needs-flag
159
160
161
162#
163# Console (zs) related stuff
164#
165
166device zstty: tty
167attach zstty at zsc
168file dev/ic/z8530tty.c			zstty needs-flag
169file arch/sun3/dev/zs_kgdb.c		kgdb
170
171define zsevent
172file dev/sun/event.c			zsevent
173
174device kbd: zsevent
175attach kbd at zsc
176file dev/sun/kbd.c			kbd needs-flag
177file dev/sun/kbd_tables.c 		kbd
178file arch/sun3/dev/kd.c 		kbd
179
180device ms: zsevent
181attach ms at zsc
182file dev/sun/ms.c			ms needs-flag
183
184
185# Memory Disk for boot tape
186file arch/sun3/dev/md_root.c	memory_disk_hooks
187
188# Major numbers for root/swap device configuration
189major	{xy=3}	# Xylogics 450 and 451
190major	{vnd=5}	# vnode pseudo-device
191major	{sd=7}	# SCSI disk
192major	{xd=10}	# Xylogics 7053
193major	{md=13}	# Memory disk (for mini-kernel)
194
195# Compatibility modules
196
197# SunOS Binary Compatibility (COMPAT_SUNOS)
198include "../../../compat/sunos/files.sunos"
199file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
200