files.sun3 revision 1.44 1 # $NetBSD: files.sun3,v 1.44 1998/02/01 21:23:31 is Exp $
2
3 #
4 # sun3-specific configuration info
5 #
6
7 # maxpartitions must be first item in files.${ARCH}.newconf
8 maxpartitions 8
9
10 maxusers 2 8 64
11
12 # Standard stuff
13 file arch/sun3/sun3/autoconf.c
14 file arch/sun3/sun3/bus_subr.c
15 file arch/sun3/sun3/cache.c havecache
16 file arch/sun3/sun3/conf.c
17 file arch/sun3/sun3/control.c
18 file arch/sun3/sun3/ctrlsp.S
19 file arch/sun3/sun3/db_machdep.c ddb
20 file arch/sun3/sun3/db_memrw.c ddb | kgdb
21 file arch/sun3/sun3/disksubr.c
22 file arch/sun3/sun3/dvma.c
23 file arch/sun3/sun3/fpu.c
24 file arch/sun3/sun3/isr.c
25 file arch/sun3/sun3/kgdb_machdep.c kgdb
26 file arch/sun3/sun3/leds.c
27 file arch/sun3/sun3/machdep.c
28 file arch/sun3/sun3/mem.c
29 file arch/sun3/sun3/pmap.c
30 file arch/sun3/sun3/stub.c
31 file arch/sun3/sun3/sun3_startup.c
32 file arch/sun3/sun3/sunmon.c
33 file arch/sun3/sun3/sys_machdep.c
34 file arch/sun3/sun3/trap.c
35 file arch/sun3/sun3/vector.c
36 file arch/sun3/sun3/vm_machdep.c
37
38 file arch/sun3/dev/idprom.c
39
40 include "arch/m68k/fpe/files.fpe"
41
42 file dev/cons.c
43
44 # Compatibility modules
45
46 # SunOS Binary Compatibility (COMPAT_SUNOS)
47 include "../../../compat/sunos/files.sunos"
48 file arch/m68k/m68k/sunos_machdep.c compat_sunos
49
50 #
51 # Bus types
52 #
53
54 device mainbus class dull {}
55 attach mainbus at root
56 file arch/sun3/sun3/mainbus.c mainbus
57
58 # On-board I/O space
59 device obio class dull {addr = -1, [level = -1]}
60 attach obio at mainbus
61 file arch/sun3/dev/obio.c obio
62
63 # On-board MEMory space
64 device obmem class dull {addr = -1, [level = -1]}
65 attach obmem at mainbus
66 file arch/sun3/dev/obmem.c obmem
67
68 # VME Short space (D16)
69 device vmes class dull {addr = -1, [level = -1], [vect = -1]}
70 attach vmes at mainbus
71
72 # VME Long space (D32)
73 device vmel class dull {addr = -1, [level = -1], [vect = -1]}
74 attach vmel at mainbus
75
76 file arch/sun3/dev/vme.c vmes | vmel
77
78 #
79 # Machine-independent SCSI drivers
80 #
81 include "../../../dev/scsipi/files.scsipi"
82
83 #
84 # Devices and attributes needed below
85 #
86 device ie class ifnet: ifnet, ether, arp
87 file arch/sun3/dev/if_ie.c ie
88
89 device si class dull: scsi, ncr5380sbc
90 file arch/sun3/dev/si.c si
91
92 define sunfb
93 file arch/sun3/dev/fb.c # sunfb needs-flag
94
95 #
96 # On-Board I/O (OBIO)
97 #
98 device zsc class dull {channel = -1}
99 attach zsc at obio
100 file arch/sun3/dev/zs.c zsc needs-flag
101 file dev/ic/z8530sc.c zsc
102
103 device eeprom class dull
104 attach eeprom at obio
105 file arch/sun3/dev/eeprom.c eeprom
106
107 device clock class dull
108 attach clock at obio
109 file arch/sun3/sun3/clock.c clock
110 file dev/clock_subr.c clock
111
112 device memerr class dull
113 attach memerr at obio
114 file arch/sun3/dev/memerr.c memerr
115
116 device intreg class dull
117 attach intreg at obio
118 file arch/sun3/sun3/intreg.c intreg
119
120 attach ie at obio with ie_obio
121 file arch/sun3/dev/if_ie_obio.c ie_obio
122
123 # device defined in sys/conf/files
124 attach le at obio
125 file arch/sun3/dev/if_le.c le
126
127 attach si at obio with si_obio
128 file arch/sun3/dev/si_obio.c si_obio
129
130 #
131 # On-Board MEMory (OBMEM)
132 #
133 device bwtwo class dull: sunfb
134 attach bwtwo at obmem
135 file arch/sun3/dev/bw2.c bwtwo needs-flag
136
137 device cgfour class dull: sunfb
138 attach cgfour at obmem
139 file arch/sun3/dev/cg4.c cgfour needs-flag
140
141 #
142 # VME A16 (vmes)
143 #
144 attach ie at vmes with ie_vmes
145 file arch/sun3/dev/if_ie_vmes.c ie_vmes
146
147 attach si at vmes with si_vmes
148 file arch/sun3/dev/si_vme.c si_vmes
149
150 device sebuf class dull {}
151 attach sebuf at vmes
152 file arch/sun3/dev/sebuf.c sebuf
153
154 attach ie at sebuf with ie_sebuf
155 file arch/sun3/dev/if_ie_sebuf.c ie_sebuf
156
157 attach si at sebuf with si_sebuf
158 file arch/sun3/dev/si_sebuf.c si_sebuf
159
160 device cgtwo class dull: sunfb
161 attach cgtwo at vmes
162 file arch/sun3/dev/cg2.c cgtwo needs-flag
163
164 device xyc class dull {drive = -1}
165 attach xyc at vmes
166 device xy class disk: disk
167 attach xy at xyc
168 file arch/sun3/dev/xy.c xy needs-flag
169
170 #
171 # VME A32 (vmel)
172 #
173 device xdc class dull {drive = -1}
174 attach xdc at vmel
175 device xd class disk: disk
176 attach xd at xdc
177 file arch/sun3/dev/xd.c xd needs-flag
178
179
180
181 #
182 # Console (zs) related stuff
183 #
184
185 device zstty class tty: tty
186 attach zstty at zsc
187 file dev/ic/z8530tty.c zstty needs-flag
188 file arch/sun3/dev/zs_kgdb.c kgdb
189
190 define zsevent
191 file dev/sun/event.c zsevent
192
193 device kbd class dull: zsevent
194 attach kbd at zsc
195 file dev/sun/kbd.c kbd needs-flag
196 file dev/sun/kbd_tables.c kbd
197 file arch/sun3/dev/kd.c kbd
198
199 device ms class dull: zsevent
200 attach ms at zsc
201 file dev/sun/ms.c ms needs-flag
202
203
204 # Memory Disk for boot tape
205 file arch/sun3/dev/md_root.c memory_disk_hooks
206
207 # Major numbers for root/swap device configuration
208 major {xy=3} # Xylogics 450 and 451
209 major {vnd=5} # vnode pseudo-device
210 major {sd=7} # SCSI disk
211 major {xd=10} # Xylogics 7053
212 major {md=13} # Memory disk (for mini-kernel)
213