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