files.sun3 revision 1.27
1#	$NetBSD: files.sun3,v 1.27 1996/12/28 23:27:32 pk 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
140#
141# VME
142#
143device	xdc {drive = -1}
144attach	xdc at vmel
145device	xd: disk
146attach	xd at xdc
147file	arch/sun3/dev/xd.c		xd needs-flag
148
149device	xyc {drive = -1}
150attach	xyc at vmes
151device	xy: disk
152attach	xy at xyc
153file	arch/sun3/dev/xy.c		xy needs-flag
154
155
156
157#
158# Console (zs) related stuff
159#
160
161device zstty: tty
162attach zstty at zsc
163file dev/ic/z8530tty.c			zstty needs-flag
164file arch/sun3/dev/zs_kgdb.c		kgdb
165
166define zsevent
167file dev/sun/event.c			zsevent
168
169device kbd: zsevent
170attach kbd at zsc
171file dev/sun/kbd.c			kbd needs-flag
172file dev/sun/kbd_tables.c 		kbd
173file arch/sun3/dev/kd.c 		kbd
174
175device ms: zsevent
176attach ms at zsc
177file dev/sun/ms.c			ms needs-flag
178
179
180# Memory Disk for boot tape
181pseudo-device md
182file dev/md.c			md needs-flag
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