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