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