files.sparc64 revision 1.30 1 # $NetBSD: files.sparc64,v 1.30 2000/06/08 21:25:18 eeh Exp $
2
3 # @(#)files.sparc64 8.1 (Berkeley) 7/19/93
4 # sparc64-specific configuration info
5
6 # maxpartitions must be first item in files.${ARCH}
7 maxpartitions 8
8
9 maxusers 2 8 1024
10
11 #
12 # XXXXXXXXXXX
13 #
14 # These files must be compiled w/no omtimization in 64-bit mode
15 #
16
17 file net/if_ppp.c ppp needs-count compile-with "${NOOPT_C}"
18 file net/if_loop.c loop needs-count compile-with "${NOOPT_C}"
19 file net/if_sl.c sl needs-count compile-with "${NOOPT_C}"
20
21 #
22 # XXXXXXXXXXX
23 #
24
25 define mainbus {}
26 device mainbus: pcibus, mainbus
27 attach mainbus at root
28
29 device pcons
30 attach pcons at mainbus
31 file arch/sparc64/dev/pcons.c pcons needs-flag
32
33 include "dev/sbus/files.sbus"
34 attach sbus at mainbus
35 file arch/sparc64/dev/sbus.c sbus
36
37 device psycho: pcibus
38 attach psycho at mainbus
39 include "dev/pci/files.pci"
40 file arch/sparc64/dev/psycho.c psycho
41 file arch/sparc64/dev/pci_machdep.c psycho
42
43 # IOMMU is for both
44 file arch/sparc64/dev/iommu.c sbus | psycho
45
46 # can't use ppb for SUNW,simba
47 device simba: pcibus
48 attach simba at pci
49 file arch/sparc64/dev/simba.c simba
50
51 include "dev/ata/files.ata"
52 file arch/sparc64/dev/pciide_machdep.c pciide
53
54 device ebus {[addr = -1]}: pcibus
55 attach ebus at pci
56 file arch/sparc64/dev/ebus.c ebus
57
58 # network devices MII bus
59 include "dev/mii/files.mii"
60
61 device clock
62 attach clock at mainbus, sbus with clock_sbus
63 attach clock at ebus with clock_ebus
64
65 device timer
66 attach timer at mainbus, sbus
67
68 device eeprom
69 attach eeprom at sbus, ebus
70 file arch/sparc64/sparc64/clock.c
71
72 device power
73 attach power at sbus, ebus
74 file arch/sparc64/dev/power.c power
75
76 device cpu
77 attach cpu at mainbus
78 file arch/sparc64/sparc64/cpu.c
79
80 device zs {channel = -1}
81 attach zs at mainbus, sbus
82 file arch/sparc64/dev/zs.c zs needs-count
83 file dev/ic/z8530sc.c zs
84
85 # siemens SAB82532; found on U5/U10/... for tty ports.
86 #device sab {channel = -1}
87 #attach sab at ebus
88 #file arch/sparc64/dev/sab_ebus.c sab
89 #file dev/ic/sab82532.c sab
90
91 # "com" attachments for the kbd/mouse of the U5/U10/...
92 #device ucom {}
93 #attach ucom at ebus with com
94 #file arch/sparc64/dev/ucom_ebus.c ucom
95
96 # XXX bogus; this is in dev/isa/files.isa. fix me please!
97 # XXX we should attach a `bpp'-style device here rather than
98 # `lpt' because the `bpp' driver supports DMA.
99 device lpt
100 file dev/ic/lpt.c lpt needs-flag
101
102 device auxio
103 attach auxio at ebus with auxio_ebus
104 attach auxio at sbus with auxio_sbus
105 file arch/sparc64/dev/auxio.c auxio
106
107 attach lpt at ebus with lpt_ebus
108 file arch/sparc64/dev/lpt_ebus.c lpt_ebus
109
110 device fdc {}
111 attach fdc at mainbus, sbus, ebus
112 # attach fdc at ebus
113 device fd: disk
114 attach fd at fdc
115 file dev/sun/fd.c fdc | fd needs-flag
116 file arch/sparc64/sparc64/bsd_fdintr.s fdc
117
118 attach audiocs at ebus with audiocs_ebus
119 file arch/sparc64/dev/cs4231_ebus.c audiocs_ebus
120
121 #
122 # Console (zs) related stuff
123 #
124
125 device zstty: tty
126 attach zstty at zs
127 file dev/ic/z8530tty.c zstty needs-flag
128 file arch/sparc/dev/zs_kgdb.c kgdb
129
130 #device sabtty: tty
131 #attach sabtty at sab
132 #file dev/ic/sabtty.c sabtty needs-flag
133
134 define zsevent
135 file dev/sun/event.c zsevent
136
137 device kbd: zsevent
138 attach kbd at zs with kbd_zs
139 #attach kbd at ucom with kbd_ucom
140 file dev/sun/kbd_zs.c kbd_zs
141 file dev/sun/kbd.c kbd needs-flag
142 file dev/sun/kbd_tables.c kbd
143 file arch/sparc64/dev/kd.c kbd
144 #file arch/sparc64/dev/kbd_ucom.c kbd_ucom
145
146 device ms: zsevent
147 attach ms at zs with ms_zs
148 #attach ms at ucom with ms_ucom
149 file dev/sun/ms_zs.c ms_zs
150 file dev/sun/ms.c ms needs-flag
151 #file arch/sparc64/dev/ms_ucom.c ms_ucom
152
153
154 #
155 # Machine-independent SCSI drivers
156 #
157 include "dev/scsipi/files.scsipi"
158
159 major { cd = 18 }
160 major { fd = 16 }
161 major { md = 5 }
162 major { sd = 7 }
163 major { wd = 12 }
164
165 # RAIDframe
166 major { raid = 25 }
167
168 # Brooktree DAC attribute
169 define bt_dac
170
171 device bwtwo
172 attach bwtwo at sbus
173 file arch/sparc64/dev/bwtwo.c bwtwo needs-flag
174
175 device cgtwo
176 attach cgtwo at sbus
177 file arch/sparc64/dev/cgtwo.c cgtwo needs-flag
178
179 device cgthree: bt_dac
180 attach cgthree at sbus
181 file arch/sparc64/dev/cgthree.c cgthree needs-flag
182
183 device cgfour: bt_dac
184 attach cgfour at sbus
185 file arch/sparc64/dev/cgfour.c cgfour needs-flag
186
187 device cgsix: bt_dac
188 attach cgsix at sbus
189 file arch/sparc64/dev/cgsix.c cgsix needs-flag
190 file arch/sparc64/dev/cgsix_sbus.c cgsix needs-flag
191
192 device cgeight: bt_dac
193 attach cgeight at sbus
194 file arch/sparc64/dev/cgeight.c cgeight needs-flag
195
196 device tcx: bt_dac
197 attach tcx at sbus
198 file arch/sparc64/dev/tcx.c tcx needs-flag
199
200 device cgfourteen
201 attach cgfourteen at sbus
202 file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag
203
204 file arch/sparc64/dev/bt_subr.c bt_dac
205
206 #
207 # Generic Sun stuff
208 #
209
210 file dev/cons.c
211 file arch/sparc64/dev/fb.c
212 file arch/sparc64/dev/consinit.c
213
214 file arch/sparc64/fpu/fpu.c
215 file arch/sparc64/fpu/fpu_add.c
216 file arch/sparc64/fpu/fpu_compare.c
217 file arch/sparc64/fpu/fpu_div.c
218 file arch/sparc64/fpu/fpu_explode.c
219 file arch/sparc64/fpu/fpu_implode.c
220 file arch/sparc64/fpu/fpu_mul.c
221 file arch/sparc64/fpu/fpu_sqrt.c
222 file arch/sparc64/fpu/fpu_subr.c
223
224 # N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
225 # identified the exact problem yet. NOOPT_C suffices for now.
226 file arch/sparc64/sparc64/autoconf.c
227 file arch/sparc64/sparc64/cache.c
228 file arch/sparc64/sparc64/conf.c
229 file arch/sparc64/sparc64/emul.c
230 file arch/sparc64/sparc64/in_cksum.c
231 file netinet/in4_cksum.c inet
232 file arch/sparc64/sparc64/intr.c
233 file arch/sparc64/sparc64/kgdb_machdep.c kgdb
234 # sparc/sparc/locore.s is handled specially in the makefile,
235 # because it must come first in the "ld" command line.
236 file arch/sparc64/sparc64/locore2.c
237 file arch/sparc64/sparc64/machdep.c
238 file arch/sparc64/sparc64/process_machdep.c
239 file arch/sparc64/sparc64/mem.c
240 file arch/sparc64/sparc64/openprom.c
241 file arch/sparc64/sparc64/openfirm.c
242 file arch/sparc64/sparc64/ofw_machdep.c
243 file arch/sparc64/sparc64/pmap.c
244 # the following overrides the generic "sys_process.c"
245 # commented out by deraadt
246 #file arch/sparc64/sparc64/sys_process.c
247 file arch/sparc64/sparc64/sys_machdep.c
248 file arch/sparc64/sparc64/trap.c
249 file arch/sparc64/sparc64/vm_machdep.c
250 file arch/sparc64/sparc64/disksubr.c
251
252 file arch/sparc64/sparc64/db_interface.c ddb | kgdb
253 file arch/sparc64/sparc64/db_trace.c ddb
254 file arch/sparc64/sparc64/db_disasm.c ddb
255 #file ddb/db_aout.c ddb_aout
256 #file ddb/db_elf.c ddb
257
258 #
259 # Raster Console
260 #
261 include "dev/rcons/files.rcons"
262 include "dev/rasops/files.rasops"
263 include "dev/wsfont/files.wsfont"
264
265 #
266 # Compatibility modules
267 #
268
269 # Binary compatiblity with previous NetBSD releases.
270 file arch/sparc64/sparc64/compat_13_machdep.c compat_13
271
272 # NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
273 include "compat/netbsd32/files.netbsd32"
274 file arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32
275
276 # NetBSD a.out Binary Compatibility (COMPAT_AOUT)
277 include "compat/aout/files.aout"
278
279 # SVR4 Binary Compatibility (COMPAT_SVR4)
280 include "compat/svr4/files.svr4"
281 file arch/sparc64/sparc64/svr4_machdep.c compat_svr4
282
283 # SunOS Binary Compatibility (COMPAT_SUNOS)
284 include "compat/sunos/files.sunos"
285 file arch/sparc64/sparc64/sunos_machdep.c compat_sunos
286
287 # Miscellaneous
288 file netns/ns_cksum.c ns
289
290 file arch/sparc64/dev/md_root.c memory_disk_hooks
291