files.sun3 revision 1.22 1 # $NetBSD: files.sun3,v 1.22 1996/03/17 13:21:25 cgd 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/isr.c
23 file arch/sun3/sun3/kgdb_stub.c kgdb
24 file arch/sun3/sun3/machdep.c
25 file arch/sun3/sun3/mem.c
26 file arch/sun3/sun3/pmap.c
27 #file arch/sun3/sun3/stub.c
28 file arch/sun3/sun3/sun3_startup.c
29 file arch/sun3/sun3/sys_machdep.c
30 file arch/sun3/sun3/trap.c
31 file arch/sun3/sun3/vector.c
32 file arch/sun3/sun3/vm_machdep.c
33
34 include "../../m68k/fpe/files.fpe"
35
36 file arch/m68k/m68k/copy.s
37 file dev/cons.c
38
39 # Declare our "catch-all" root node.
40 device mainbus {}
41 attach mainbus at root
42 # Misc. mainbus things (catch-all)
43 # Control space hack
44 device obctl {addr = -1, [level = -1]}
45 attach obctl at mainbus
46 # Floating Point Unit
47 device fpu {}
48 attach fpu at mainbus
49 file arch/sun3/sun3/fpu.c fpu
50
51 # Bus types
52 #
53 # The implementation of the bus_* functions in autoconfig.c
54 # requires these all to agree with <autoconf.h> struct bus_loc
55
56 # On-board MEMory space
57 device obmem {addr = -1, [level = -1]}
58 attach obmem at mainbus
59 # On-board I/O space
60 device obio {addr = -1, [level = -1]}
61 attach obio at mainbus
62 # VME Short space (D16)
63 device vmes {addr = -1, [level = -1], [vect = -1]}
64 attach vmes at mainbus
65 # VME Long space (D32)
66 device vmel {addr = -1, [level = -1], [vect = -1]}
67 attach vmel at mainbus
68
69 file arch/sun3/dev/obctl.c obctl
70 file arch/sun3/dev/obio.c obio
71 file arch/sun3/dev/obmem.c obmem
72 file arch/sun3/dev/vme.c vmes | vmel
73
74 #
75 # Machine-independent SCSI drivers
76 #
77 include "../../../scsi/files.scsi"
78
79 #
80 # On-Board I/O (OBIO)
81 #
82
83 device eeprom
84 attach eeprom at obio
85 file arch/sun3/dev/eeprom.c eeprom
86
87 device clock
88 attach clock at obio
89 file arch/sun3/sun3/clock.c clock
90
91 device ie: ifnet, ether
92 attach ie at obio, vmes
93 file arch/sun3/dev/if_ie.c ie
94 file arch/sun3/dev/if_ie_subr.c ie
95
96 device le: ifnet, ether
97 attach le at obio
98 file arch/sun3/dev/if_le.c le
99 file arch/sun3/dev/if_le_subr.c le
100
101 device si: scsi
102 attach si at obio, vmes
103 file arch/sun3/dev/si.c si
104
105 device ncr_si: scsi, ncr5380sbc
106 attach ncr_si at obio, vmes
107 file arch/sun3/dev/ncr_si.c ncr_si
108
109 #
110 # Sun-compatible Frame Buffers (?)
111 #
112 define sunfb
113 file arch/sun3/dev/fb.c sunfb
114
115 #
116 # On-Board MEMory (OBMEM)
117 #
118 device bwtwo: sunfb
119 attach bwtwo at obmem
120 file arch/sun3/dev/bw2.c bwtwo needs-flag
121
122 device cgtwo: sunfb
123 attach cgtwo at vmes
124 file arch/sun3/dev/cg2.c cgtwo needs-flag
125
126 device cgfour: sunfb
127 attach cgfour at obmem
128 file arch/sun3/dev/cg4.c cgfour needs-flag
129
130 file arch/sun3/dev/bt_subr.c cgfour
131
132 #
133 # VME
134 #
135 device xdc {drive = -1}
136 attach xdc at vmel
137 device xd: disk
138 attach xd at xdc
139 file arch/sun3/dev/xd.c xd needs-flag
140
141 device xyc {drive = -1}
142 attach xyc at vmes
143 device xy: disk
144 attach xy at xyc
145 file arch/sun3/dev/xy.c xy needs-flag
146
147
148 #
149 # On-Board Control (OBCTL)
150 #
151 device idprom
152 attach idprom at obctl
153 file arch/sun3/dev/idprom.c idprom needs-count
154
155 #
156 # Console (zs) related stuff
157 #
158 device zsc {channel = -1}
159 attach zsc at obio
160 file arch/sun3/dev/zs.c zsc needs-flag
161 file dev/ic/z8530sc.c zsc
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 device rd
184 attach rd at mainbus
185 file dev/ramdisk.c rd needs-count
186 file arch/sun3/dev/rd_root.c ramdisk_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 {rd=13} # RAM 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