files.sun3 revision 1.25
1#	$NetBSD: files.sun3,v 1.25 1996/10/08 18:03:00 jtc 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/dvma.c
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/fpu.c
23file arch/sun3/sun3/isr.c
24file arch/sun3/sun3/kgdb_stub.c 		kgdb
25file arch/sun3/sun3/machdep.c	
26file arch/sun3/sun3/mem.c		
27file arch/sun3/sun3/pmap.c		
28file arch/sun3/sun3/stub.c		
29file arch/sun3/sun3/sun3_startup.c	
30file arch/sun3/sun3/sys_machdep.c
31file arch/sun3/sun3/trap.c		
32file arch/sun3/sun3/vector.c		
33file arch/sun3/sun3/vm_machdep.c	
34
35file arch/sun3/dev/idprom.c
36
37include "arch/m68k/fpe/files.fpe"
38
39file arch/m68k/m68k/copy.s
40file dev/cons.c
41
42#
43# Bus types
44#
45# The implementation of the bus_* functions in autoconfig.c
46# requires these all to agree with <autoconf.h> struct bus_loc
47
48device mainbus {}
49attach mainbus at root
50file	arch/sun3/sun3/mainbus.c	mainbus
51
52# On-board I/O space
53device obio {addr = -1, [level = -1]}
54attach obio at mainbus
55file arch/sun3/dev/obio.c		obio
56
57# On-board MEMory space
58device obmem {addr = -1, [level = -1]}
59attach obmem at mainbus
60file arch/sun3/dev/obmem.c		obmem
61
62# VME Short space (D16)
63device vmes {addr = -1, [level = -1], [vect = -1]}
64attach vmes at mainbus
65
66# VME Long space (D32)
67device vmel {addr = -1, [level = -1], [vect = -1]}
68attach vmel at mainbus
69
70file arch/sun3/dev/vme.c		vmes | vmel
71
72#
73# Machine-independent SCSI drivers
74#
75include "../../../scsi/files.scsi"
76
77#
78# On-Board I/O (OBIO)
79#
80device zsc {channel = -1}
81attach zsc at obio
82file arch/sun3/dev/zs.c 		zsc needs-flag
83file dev/ic/z8530sc.c			zsc
84
85device eeprom
86attach eeprom at obio
87file arch/sun3/dev/eeprom.c		eeprom
88
89device clock
90attach clock at obio
91file arch/sun3/sun3/clock.c		clock
92
93device memerr
94attach memerr at obio
95file arch/sun3/dev/memerr.c		memerr
96
97device intreg
98attach intreg at obio
99file arch/sun3/sun3/intreg.c		intreg
100
101device ie: ifnet, ether
102attach ie at obio with ie_obio
103attach ie at vmes with ie_vmes
104file arch/sun3/dev/if_ie_obio.c		ie_obio
105file arch/sun3/dev/if_ie_vmes.c		ie_vmes
106file arch/sun3/dev/if_ie.c		ie
107
108# device defined in sys/conf/files
109attach le at obio
110file arch/sun3/dev/if_le.c		le
111
112device si: scsi, ncr5380sbc
113file	arch/sun3/dev/si.c		si
114attach si at obio with si_obio
115file	arch/sun3/dev/si_obio.c		si_obio
116attach si at vmes with si_vmes
117file	arch/sun3/dev/si_vme.c		si_vmes
118
119#
120# Sun-compatible Frame Buffers (?)
121#
122define sunfb
123file arch/sun3/dev/fb.c			# sunfb needs-flag
124
125#
126# On-Board MEMory (OBMEM)
127#
128device bwtwo: sunfb
129attach bwtwo at obmem
130file arch/sun3/dev/bw2.c		bwtwo needs-flag
131
132device cgtwo: sunfb
133attach cgtwo at vmes
134file arch/sun3/dev/cg2.c		cgtwo needs-flag
135
136device cgfour: sunfb
137attach cgfour at obmem
138file arch/sun3/dev/cg4.c		cgfour needs-flag
139
140file	arch/sun3/dev/bt_subr.c 	cgfour
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# RAM Disk for boot tape
183pseudo-device rd
184file dev/ramdisk.c			rd needs-flag
185file arch/sun3/dev/rd_root.c		ramdisk_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	{rd=13}	# RAM 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