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