files.sun3 revision 1.45 1 1.45 gwr # $NetBSD: files.sun3,v 1.45 1998/02/05 04:56:31 gwr Exp $
2 1.7 cgd
3 1.7 cgd #
4 1.7 cgd # sun3-specific configuration info
5 1.7 cgd #
6 1.7 cgd
7 1.45 gwr # maxpartitions must be first item in files.${ARCH}
8 1.8 gwr maxpartitions 8
9 1.7 cgd
10 1.7 cgd maxusers 2 8 64
11 1.7 cgd
12 1.45 gwr # Standard stuff (Sun3-specific)
13 1.45 gwr file arch/sun3/sun3/bus_subr.c _sun3_
14 1.45 gwr file arch/sun3/sun3/cache.c _sun3_ & havecache
15 1.45 gwr file arch/sun3/sun3/control.c _sun3_
16 1.45 gwr file arch/sun3/sun3/ctrlsp.S _sun3_
17 1.45 gwr file arch/sun3/sun3/dvma.c _sun3_
18 1.45 gwr file arch/sun3/sun3/enable.c _sun3_
19 1.45 gwr file arch/sun3/sun3/locore2.c _sun3_
20 1.45 gwr file arch/sun3/sun3/machdep.c _sun3_
21 1.45 gwr file arch/sun3/sun3/mem.c _sun3_
22 1.45 gwr file arch/sun3/sun3/pmap.c _sun3_
23 1.45 gwr
24 1.45 gwr # Standard stuff (Sun3X-specific)
25 1.45 gwr file arch/sun3/sun3x/bus_subr.c _sun3x_
26 1.45 gwr file arch/sun3/sun3x/dvma.c _sun3x_
27 1.45 gwr file arch/sun3/sun3x/enable.c _sun3x_
28 1.45 gwr file arch/sun3/sun3x/locore2.c _sun3x_
29 1.45 gwr file arch/sun3/sun3x/machdep.c _sun3x_
30 1.45 gwr file arch/sun3/sun3x/mem.c _sun3x_
31 1.45 gwr file arch/sun3/sun3x/pmap.c _sun3x_
32 1.45 gwr
33 1.45 gwr # Standard stuff (common to Sun3 and Sun3X)
34 1.7 cgd file arch/sun3/sun3/autoconf.c
35 1.29 gwr file arch/sun3/sun3/conf.c
36 1.7 cgd file arch/sun3/sun3/db_machdep.c ddb
37 1.22 cgd file arch/sun3/sun3/db_memrw.c ddb | kgdb
38 1.29 gwr file arch/sun3/sun3/disksubr.c
39 1.23 gwr file arch/sun3/sun3/fpu.c
40 1.7 cgd file arch/sun3/sun3/isr.c
41 1.30 gwr file arch/sun3/sun3/kgdb_machdep.c kgdb
42 1.38 gwr file arch/sun3/sun3/leds.c
43 1.29 gwr file arch/sun3/sun3/stub.c
44 1.29 gwr file arch/sun3/sun3/sunmon.c
45 1.11 gwr file arch/sun3/sun3/sys_machdep.c
46 1.29 gwr file arch/sun3/sun3/trap.c
47 1.29 gwr file arch/sun3/sun3/vector.c
48 1.29 gwr file arch/sun3/sun3/vm_machdep.c
49 1.7 cgd
50 1.25 jtc include "arch/m68k/fpe/files.fpe"
51 1.18 gwr
52 1.45 gwr # Console support
53 1.45 gwr #file arch/sun3/sun3/cninit.c
54 1.7 cgd file dev/cons.c
55 1.7 cgd
56 1.23 gwr #
57 1.7 cgd # Bus types
58 1.7 cgd #
59 1.7 cgd
60 1.43 thorpej device mainbus class dull {}
61 1.23 gwr attach mainbus at root
62 1.45 gwr file arch/sun3/sun3/mainbus.c
63 1.23 gwr
64 1.45 gwr # On-board I/O space (required).
65 1.45 gwr device obio class dull {addr = -1, [ipl = -1], [vect = -1]}
66 1.23 gwr attach obio at mainbus
67 1.45 gwr file arch/sun3/sun3/obio.c _sun3_
68 1.45 gwr file arch/sun3/sun3x/obio.c _sun3x_
69 1.23 gwr
70 1.45 gwr # On-board MEMory space (optional).
71 1.45 gwr device obmem class dull {addr = -1, [ipl = -1], [vect = -1]}
72 1.20 thorpej attach obmem at mainbus
73 1.45 gwr file arch/sun3/sun3/obmem.c obmem
74 1.7 cgd
75 1.45 gwr # VME (unit encodes address/data sizes)
76 1.45 gwr device vme class dull {addr = -1, [ipl = -1], [vect = -1]}
77 1.45 gwr attach vme at mainbus
78 1.45 gwr file arch/sun3/sun3/vme.c vme
79 1.7 cgd
80 1.7 cgd #
81 1.13 gwr # Machine-independent SCSI drivers
82 1.7 cgd #
83 1.41 bouyer include "../../../dev/scsipi/files.scsipi"
84 1.7 cgd
85 1.7 cgd #
86 1.42 gwr # Devices and attributes needed below
87 1.42 gwr #
88 1.45 gwr
89 1.43 thorpej device ie class ifnet: ifnet, ether, arp
90 1.42 gwr file arch/sun3/dev/if_ie.c ie
91 1.42 gwr
92 1.43 thorpej device si class dull: scsi, ncr5380sbc
93 1.42 gwr file arch/sun3/dev/si.c si
94 1.42 gwr
95 1.45 gwr define fb
96 1.45 gwr file arch/sun3/dev/fb.c fb needs-flag
97 1.42 gwr
98 1.42 gwr #
99 1.45 gwr # On-Board I/O (OBIO), in attach order.
100 1.45 gwr # The following are all required.
101 1.7 cgd #
102 1.45 gwr
103 1.45 gwr # The IDPROM could have a device config line, but this
104 1.45 gwr # driver has to do its initialization before autoconfig,
105 1.45 gwr # and there is nothing left to do at attach time.
106 1.45 gwr file arch/sun3/sun3/idprom.c _sun3_
107 1.45 gwr file arch/sun3/sun3x/idprom.c _sun3x_
108 1.45 gwr
109 1.45 gwr # Interrupt register
110 1.45 gwr device intreg class dull
111 1.45 gwr attach intreg at obio
112 1.45 gwr file arch/sun3/sun3/intreg.c intreg
113 1.45 gwr
114 1.45 gwr # Memory error register
115 1.45 gwr device memerr class dull
116 1.45 gwr attach memerr at obio
117 1.45 gwr file arch/sun3/dev/memerr.c memerr
118 1.45 gwr
119 1.45 gwr # Zilog Serial (ZS)
120 1.43 thorpej device zsc class dull {channel = -1}
121 1.23 gwr attach zsc at obio
122 1.23 gwr file arch/sun3/dev/zs.c zsc needs-flag
123 1.23 gwr file dev/ic/z8530sc.c zsc
124 1.7 cgd
125 1.45 gwr # Intersil or Mostek clock
126 1.45 gwr device clock class dull
127 1.45 gwr attach clock at obio
128 1.45 gwr device oclock class dull
129 1.45 gwr attach oclock at obio
130 1.45 gwr file arch/sun3/sun3/clock.c _sun3_
131 1.45 gwr file arch/sun3/sun3x/clock.c _sun3x_
132 1.45 gwr file dev/clock_subr.c
133 1.45 gwr
134 1.45 gwr # EEPROM (or NV-RAM)
135 1.43 thorpej device eeprom class dull
136 1.20 thorpej attach eeprom at obio
137 1.7 cgd file arch/sun3/dev/eeprom.c eeprom
138 1.7 cgd
139 1.45 gwr # I/O MMU (a.k.a I/O mapper)
140 1.45 gwr device iommu class dull
141 1.45 gwr attach iommu at obio
142 1.45 gwr file arch/sun3/sun3x/iommu.c _sun3x_
143 1.7 cgd
144 1.45 gwr #
145 1.45 gwr # Optional OBIO devices
146 1.45 gwr #
147 1.23 gwr
148 1.45 gwr # device defined above
149 1.23 gwr attach ie at obio with ie_obio
150 1.23 gwr file arch/sun3/dev/if_ie_obio.c ie_obio
151 1.7 cgd
152 1.24 thorpej # device defined in sys/conf/files
153 1.20 thorpej attach le at obio
154 1.7 cgd file arch/sun3/dev/if_le.c le
155 1.7 cgd
156 1.45 gwr # Sun3/60 on-board SCSI
157 1.23 gwr attach si at obio with si_obio
158 1.23 gwr file arch/sun3/dev/si_obio.c si_obio
159 1.17 gwr
160 1.45 gwr # Sun3/80 on-board SCSI
161 1.45 gwr device esp class dull: scsi, ncr53c9x
162 1.45 gwr attach esp at obio
163 1.45 gwr file arch/sun3/dev/esp.c esp
164 1.45 gwr file arch/sun3/dev/dma.c esp
165 1.45 gwr
166 1.45 gwr # Sun3/80 Floppy disk
167 1.45 gwr device fdc class dull {}
168 1.45 gwr attach fdc at obio
169 1.45 gwr device fd class disk: disk
170 1.45 gwr attach fd at fdc
171 1.45 gwr file arch/sun3/dev/fd.c fdc | fd needs-flag
172 1.45 gwr
173 1.45 gwr # Sun3/80 printer port
174 1.45 gwr device pp class dull
175 1.45 gwr attach pp at obio
176 1.45 gwr file arch/sun3/dev/pp.c pp needs-flag
177 1.45 gwr
178 1.17 gwr #
179 1.7 cgd # On-Board MEMory (OBMEM)
180 1.1 glass #
181 1.45 gwr
182 1.45 gwr device bwtwo class dull: fb
183 1.20 thorpej attach bwtwo at obmem
184 1.7 cgd file arch/sun3/dev/bw2.c bwtwo needs-flag
185 1.7 cgd
186 1.45 gwr device cgfour class dull: fb
187 1.42 gwr attach cgfour at obmem
188 1.42 gwr file arch/sun3/dev/cg4.c cgfour needs-flag
189 1.42 gwr
190 1.42 gwr #
191 1.45 gwr # VME
192 1.42 gwr #
193 1.42 gwr
194 1.45 gwr attach ie at vme with ie_vme
195 1.45 gwr file arch/sun3/dev/if_ie_vme.c ie_vme
196 1.42 gwr
197 1.45 gwr attach si at vme with si_vme
198 1.45 gwr file arch/sun3/dev/si_vme.c si_vme
199 1.45 gwr
200 1.45 gwr # Sun3/E SCSI+Ethernet board
201 1.43 thorpej device sebuf class dull {}
202 1.45 gwr attach sebuf at vme
203 1.42 gwr file arch/sun3/dev/sebuf.c sebuf
204 1.42 gwr attach ie at sebuf with ie_sebuf
205 1.45 gwr file arch/sun3/dev/if_ie_sebuf.c ie_sebuf
206 1.42 gwr attach si at sebuf with si_sebuf
207 1.42 gwr file arch/sun3/dev/si_sebuf.c si_sebuf
208 1.42 gwr
209 1.45 gwr device cgtwo class dull: fb
210 1.45 gwr attach cgtwo at vme
211 1.7 cgd file arch/sun3/dev/cg2.c cgtwo needs-flag
212 1.7 cgd
213 1.43 thorpej device xyc class dull {drive = -1}
214 1.45 gwr attach xyc at vme
215 1.43 thorpej device xy class disk: disk
216 1.42 gwr attach xy at xyc
217 1.42 gwr file arch/sun3/dev/xy.c xy needs-flag
218 1.7 cgd
219 1.43 thorpej device xdc class dull {drive = -1}
220 1.45 gwr attach xdc at vme
221 1.43 thorpej device xd class disk: disk
222 1.20 thorpej attach xd at xdc
223 1.12 gwr file arch/sun3/dev/xd.c xd needs-flag
224 1.12 gwr
225 1.12 gwr
226 1.7 cgd #
227 1.7 cgd # Console (zs) related stuff
228 1.7 cgd #
229 1.17 gwr
230 1.43 thorpej device zstty class tty: tty
231 1.20 thorpej attach zstty at zsc
232 1.17 gwr file dev/ic/z8530tty.c zstty needs-flag
233 1.19 gwr file arch/sun3/dev/zs_kgdb.c kgdb
234 1.17 gwr
235 1.17 gwr define zsevent
236 1.17 gwr file dev/sun/event.c zsevent
237 1.17 gwr
238 1.43 thorpej device kbd class dull: zsevent
239 1.21 cgd attach kbd at zsc
240 1.17 gwr file dev/sun/kbd.c kbd needs-flag
241 1.17 gwr file dev/sun/kbd_tables.c kbd
242 1.17 gwr file arch/sun3/dev/kd.c kbd
243 1.17 gwr
244 1.43 thorpej device ms class dull: zsevent
245 1.20 thorpej attach ms at zsc
246 1.17 gwr file dev/sun/ms.c ms needs-flag
247 1.17 gwr
248 1.7 cgd
249 1.27 pk # Memory Disk for boot tape
250 1.45 gwr file arch/sun3/dev/md_root.c memory_disk_hooks
251 1.45 gwr
252 1.45 gwr # Compatibility modules
253 1.45 gwr
254 1.45 gwr # SunOS Binary Compatibility (COMPAT_SUNOS)
255 1.45 gwr include "../../../compat/sunos/files.sunos"
256 1.45 gwr file arch/m68k/m68k/sunos_machdep.c compat_sunos
257 1.7 cgd
258 1.7 cgd # Major numbers for root/swap device configuration
259 1.12 gwr major {xy=3} # Xylogics 450 and 451
260 1.9 gwr major {vnd=5} # vnode pseudo-device
261 1.7 cgd major {sd=7} # SCSI disk
262 1.12 gwr major {xd=10} # Xylogics 7053
263 1.27 pk major {md=13} # Memory disk (for mini-kernel)
264