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