files.sun3 revision 1.39
1#	$NetBSD: files.sun3,v 1.39 1997/04/09 20:37:17 thorpej 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/leds.c
27file arch/sun3/sun3/machdep.c
28file arch/sun3/sun3/mem.c
29file arch/sun3/sun3/pmap.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/sig_machdep.c
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
95file dev/clock_subr.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, arp
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