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