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