files.sparc64 revision 1.62 1 1.62 eeh # $NetBSD: files.sparc64,v 1.62 2002/05/06 19:48:05 eeh 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.56 darrenr
11 1.57 lukem defflag opt_sparc_arch.h SUN4U
12 1.30 eeh
13 1.30 eeh #
14 1.30 eeh # XXXXXXXXXXX
15 1.30 eeh #
16 1.30 eeh # These files must be compiled w/no omtimization in 64-bit mode
17 1.30 eeh #
18 1.30 eeh
19 1.33 mrg file net/if_ppp.c compile-with "${NOOPT_C}"
20 1.33 mrg file net/if_loop.c compile-with "${NOOPT_C}"
21 1.33 mrg file net/if_sl.c compile-with "${NOOPT_C}"
22 1.55 lukem file ufs/lfs/lfs_debug.c compile-with "${NOOPT_C}"
23 1.30 eeh
24 1.30 eeh #
25 1.30 eeh # XXXXXXXXXXX
26 1.30 eeh #
27 1.1 eeh
28 1.20 mrg define mainbus {}
29 1.62 eeh device mainbus: mainbus
30 1.1 eeh attach mainbus at root
31 1.29 eeh
32 1.29 eeh device pcons
33 1.29 eeh attach pcons at mainbus
34 1.29 eeh file arch/sparc64/dev/pcons.c pcons needs-flag
35 1.1 eeh
36 1.35 pk include "dev/sun/files.sun"
37 1.39 ad include "dev/i2o/files.i2o"
38 1.35 pk
39 1.17 kleink include "dev/sbus/files.sbus"
40 1.20 mrg attach sbus at mainbus
41 1.1 eeh file arch/sparc64/dev/sbus.c sbus
42 1.14 mrg
43 1.55 lukem device psycho: pcibus
44 1.55 lukem attach psycho at mainbus
45 1.20 mrg include "dev/pci/files.pci"
46 1.20 mrg file arch/sparc64/dev/psycho.c psycho
47 1.20 mrg file arch/sparc64/dev/pci_machdep.c psycho
48 1.62 eeh
49 1.62 eeh #
50 1.62 eeh # OF PCI stuff
51 1.62 eeh #
52 1.62 eeh
53 1.62 eeh device ofpci: pci
54 1.62 eeh attach ofpci at pcibus
55 1.62 eeh file arch/sparc64/dev/ofpci.c ofpci
56 1.62 eeh
57 1.62 eeh # PCI-PCI bridge chips
58 1.62 eeh device ofppb: pcibus
59 1.62 eeh attach ofppb at pci
60 1.62 eeh file arch/sparc64/dev/ofppb.c ofppb
61 1.20 mrg
62 1.20 mrg # IOMMU is for both
63 1.20 mrg file arch/sparc64/dev/iommu.c sbus | psycho
64 1.20 mrg
65 1.20 mrg include "dev/ata/files.ata"
66 1.20 mrg
67 1.20 mrg device ebus {[addr = -1]}: pcibus
68 1.20 mrg attach ebus at pci
69 1.20 mrg file arch/sparc64/dev/ebus.c ebus
70 1.1 eeh
71 1.34 pk device clock: mk48txx
72 1.20 mrg attach clock at mainbus, sbus with clock_sbus
73 1.20 mrg attach clock at ebus with clock_ebus
74 1.51 eeh
75 1.51 eeh device rtc
76 1.51 eeh attach rtc at ebus with rtc_ebus
77 1.1 eeh
78 1.1 eeh device timer
79 1.11 pk attach timer at mainbus, sbus
80 1.1 eeh
81 1.1 eeh device eeprom
82 1.20 mrg attach eeprom at sbus, ebus
83 1.1 eeh file arch/sparc64/sparc64/clock.c
84 1.34 pk file dev/clock_subr.c
85 1.1 eeh
86 1.1 eeh device power
87 1.20 mrg attach power at sbus, ebus
88 1.41 eeh file arch/sparc64/dev/power.c power
89 1.1 eeh
90 1.1 eeh device cpu
91 1.1 eeh attach cpu at mainbus
92 1.1 eeh file arch/sparc64/sparc64/cpu.c
93 1.1 eeh
94 1.20 mrg # XXX bogus; this is in dev/isa/files.isa. fix me please!
95 1.27 mrg # XXX we should attach a `bpp'-style device here rather than
96 1.27 mrg # `lpt' because the `bpp' driver supports DMA.
97 1.21 mrg device lpt
98 1.21 mrg file dev/ic/lpt.c lpt needs-flag
99 1.26 mrg
100 1.26 mrg device auxio
101 1.27 mrg attach auxio at ebus with auxio_ebus
102 1.27 mrg attach auxio at sbus with auxio_sbus
103 1.27 mrg file arch/sparc64/dev/auxio.c auxio
104 1.21 mrg
105 1.20 mrg attach lpt at ebus with lpt_ebus
106 1.20 mrg file arch/sparc64/dev/lpt_ebus.c lpt_ebus
107 1.20 mrg
108 1.1 eeh device fdc {}
109 1.20 mrg attach fdc at mainbus, sbus, ebus
110 1.20 mrg # attach fdc at ebus
111 1.1 eeh device fd: disk
112 1.1 eeh attach fd at fdc
113 1.15 mrg file dev/sun/fd.c fdc | fd needs-flag
114 1.15 mrg file arch/sparc64/sparc64/bsd_fdintr.s fdc
115 1.1 eeh
116 1.21 mrg attach audiocs at ebus with audiocs_ebus
117 1.59 uwe file dev/ebus/cs4231_ebus.c audiocs_ebus
118 1.61 martin
119 1.61 martin # PCMCIA bus (references fdc)
120 1.61 martin include "dev/pcmcia/files.pcmcia"
121 1.21 mrg
122 1.1 eeh #
123 1.41 eeh # Console related stuff
124 1.1 eeh #
125 1.1 eeh
126 1.41 eeh device zs {channel = -1}
127 1.41 eeh attach zs at mainbus, sbus
128 1.41 eeh file arch/sparc64/dev/zs.c zs needs-flag
129 1.41 eeh file dev/ic/z8530sc.c zs
130 1.41 eeh
131 1.41 eeh # siemens SAB82532; found on U5/U10/... for tty ports.
132 1.41 eeh #device sab {channel = -1}
133 1.41 eeh #attach sab at ebus
134 1.41 eeh #file arch/sparc64/dev/sab_ebus.c sab
135 1.41 eeh #file dev/ic/sab82532.c sab
136 1.41 eeh
137 1.41 eeh # "com" attachments for the kbd/mouse of the U5/U10/...
138 1.41 eeh attach com at ebus with com_ebus
139 1.41 eeh file arch/sparc64/dev/com_ebus.c com_ebus
140 1.41 eeh
141 1.40 eeh define zstty {}
142 1.1 eeh device zstty: tty
143 1.1 eeh attach zstty at zs
144 1.1 eeh file dev/ic/z8530tty.c zstty needs-flag
145 1.1 eeh file arch/sparc/dev/zs_kgdb.c kgdb
146 1.1 eeh
147 1.20 mrg #device sabtty: tty
148 1.20 mrg #attach sabtty at sab
149 1.20 mrg #file dev/ic/sabtty.c sabtty needs-flag
150 1.20 mrg
151 1.38 eeh device kbd
152 1.18 mrg attach kbd at zs with kbd_zs
153 1.40 eeh attach kbd at zstty, com
154 1.18 mrg file dev/sun/kbd_zs.c kbd_zs
155 1.41 eeh file dev/sun/kbd.c kbd needs-flag
156 1.41 eeh file dev/sun/kbd_tables.c kbd
157 1.41 eeh file arch/sparc64/dev/kd.c kbd
158 1.41 eeh file dev/sun/sunkbd.c kbd needs-flag
159 1.1 eeh
160 1.38 eeh device ms
161 1.18 mrg attach ms at zs with ms_zs
162 1.40 eeh attach ms at zstty, com
163 1.18 mrg file dev/sun/ms_zs.c ms_zs
164 1.1 eeh file dev/sun/ms.c ms needs-flag
165 1.38 eeh file dev/sun/sunms.c ms needs-flag
166 1.1 eeh
167 1.1 eeh #
168 1.1 eeh # Machine-independent SCSI drivers
169 1.1 eeh #
170 1.17 kleink include "dev/scsipi/files.scsipi"
171 1.1 eeh
172 1.12 pk major { cd = 18 }
173 1.12 pk major { fd = 16 }
174 1.12 pk major { md = 5 }
175 1.12 pk major { sd = 7 }
176 1.20 mrg major { wd = 12 }
177 1.25 oster
178 1.25 oster # RAIDframe
179 1.25 oster major { raid = 25 }
180 1.1 eeh
181 1.1 eeh device cgfourteen
182 1.11 pk attach cgfourteen at sbus
183 1.1 eeh file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag
184 1.1 eeh
185 1.1 eeh #
186 1.1 eeh # Generic Sun stuff
187 1.1 eeh #
188 1.1 eeh
189 1.1 eeh file dev/cons.c
190 1.19 eeh file arch/sparc64/dev/consinit.c
191 1.1 eeh
192 1.32 mrg file arch/sparc/fpu/fpu.c
193 1.32 mrg file arch/sparc/fpu/fpu_add.c
194 1.32 mrg file arch/sparc/fpu/fpu_compare.c
195 1.32 mrg file arch/sparc/fpu/fpu_div.c
196 1.32 mrg file arch/sparc/fpu/fpu_explode.c
197 1.32 mrg file arch/sparc/fpu/fpu_implode.c
198 1.32 mrg file arch/sparc/fpu/fpu_mul.c
199 1.32 mrg file arch/sparc/fpu/fpu_sqrt.c
200 1.32 mrg file arch/sparc/fpu/fpu_subr.c
201 1.1 eeh
202 1.1 eeh # N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
203 1.1 eeh # identified the exact problem yet. NOOPT_C suffices for now.
204 1.1 eeh file arch/sparc64/sparc64/autoconf.c
205 1.1 eeh file arch/sparc64/sparc64/cache.c
206 1.1 eeh file arch/sparc64/sparc64/conf.c
207 1.1 eeh file arch/sparc64/sparc64/emul.c
208 1.49 eeh file arch/sparc64/sparc64/in_cksum.S
209 1.50 eeh file arch/sparc64/sparc64/in4_cksum.c inet
210 1.1 eeh file arch/sparc64/sparc64/intr.c
211 1.54 lukem file arch/sparc64/sparc64/kgdb_machdep.c kgdb
212 1.1 eeh # sparc/sparc/locore.s is handled specially in the makefile,
213 1.1 eeh # because it must come first in the "ld" command line.
214 1.1 eeh file arch/sparc64/sparc64/locore2.c
215 1.1 eeh file arch/sparc64/sparc64/machdep.c
216 1.1 eeh file arch/sparc64/sparc64/process_machdep.c
217 1.42 fvdl file arch/sparc64/sparc64/procfs_machdep.c procfs
218 1.1 eeh file arch/sparc64/sparc64/mem.c
219 1.1 eeh file arch/sparc64/sparc64/openprom.c
220 1.1 eeh file arch/sparc64/sparc64/openfirm.c
221 1.1 eeh file arch/sparc64/sparc64/ofw_machdep.c
222 1.1 eeh file arch/sparc64/sparc64/pmap.c
223 1.1 eeh # the following overrides the generic "sys_process.c"
224 1.1 eeh # commented out by deraadt
225 1.1 eeh #file arch/sparc64/sparc64/sys_process.c
226 1.1 eeh file arch/sparc64/sparc64/sys_machdep.c
227 1.1 eeh file arch/sparc64/sparc64/trap.c
228 1.1 eeh file arch/sparc64/sparc64/vm_machdep.c
229 1.1 eeh file arch/sparc64/sparc64/disksubr.c
230 1.1 eeh
231 1.1 eeh file arch/sparc64/sparc64/db_interface.c ddb | kgdb
232 1.1 eeh file arch/sparc64/sparc64/db_trace.c ddb
233 1.1 eeh file arch/sparc64/sparc64/db_disasm.c ddb
234 1.54 lukem #file ddb/db_aout.c ddb_aout
235 1.54 lukem #file ddb/db_elf.c ddb
236 1.1 eeh
237 1.1 eeh #
238 1.53 eeh # Raster Console support
239 1.1 eeh #
240 1.17 kleink include "dev/wsfont/files.wsfont"
241 1.53 eeh include "dev/rcons/files.rcons"
242 1.46 matt
243 1.46 matt # USB Support
244 1.46 matt include "dev/usb/files.usb"
245 1.53 eeh
246 1.46 matt # IEEE1394 Support
247 1.46 matt include "dev/ieee1394/files.ieee1394"
248 1.1 eeh
249 1.1 eeh #
250 1.1 eeh # Compatibility modules
251 1.1 eeh #
252 1.13 thorpej
253 1.13 thorpej # Binary compatiblity with previous NetBSD releases.
254 1.13 thorpej file arch/sparc64/sparc64/compat_13_machdep.c compat_13
255 1.1 eeh
256 1.22 eeh # NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
257 1.17 kleink include "compat/netbsd32/files.netbsd32"
258 1.15 mrg file arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32
259 1.47 mrg file arch/sparc64/sparc64/netbsd32_sigcode.s compat_netbsd32
260 1.22 eeh
261 1.22 eeh # NetBSD a.out Binary Compatibility (COMPAT_AOUT)
262 1.22 eeh include "compat/aout/files.aout"
263 1.8 mrg
264 1.1 eeh # SVR4 Binary Compatibility (COMPAT_SVR4)
265 1.17 kleink include "compat/svr4/files.svr4"
266 1.1 eeh file arch/sparc64/sparc64/svr4_machdep.c compat_svr4
267 1.52 eeh file arch/sparc64/sparc64/svr4_sigcode64.s compat_svr4 & exec_elf64
268 1.45 eeh
269 1.45 eeh # 32-bit SVR4 Binary Compatibility (COMPAT_SVR4_32)
270 1.45 eeh include "compat/svr4_32/files.svr4_32"
271 1.45 eeh file arch/sparc64/sparc64/svr4_32_machdep.c compat_svr4_32
272 1.52 eeh file arch/sparc64/sparc64/svr4_32_sigcode.s compat_svr4_32 | (compat_svr4 & !exec_elf64)
273 1.1 eeh
274 1.43 mrg # SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
275 1.43 mrg # (64-bit also depends on COMPAT_NETBSD32)
276 1.17 kleink include "compat/sunos/files.sunos"
277 1.47 mrg file arch/sparc64/sparc64/sunos_sigcode.s compat_sunos
278 1.44 mrg file arch/sparc64/sparc64/sunos_machdep.c compat_sunos & !compat_netbsd32
279 1.43 mrg include "compat/sunos32/files.sunos32"
280 1.44 mrg file arch/sparc64/sparc64/sunos32_machdep.c compat_sunos & compat_netbsd32
281 1.1 eeh
282 1.1 eeh # Miscellaneous
283 1.1 eeh file netns/ns_cksum.c ns
284 1.1 eeh
285 1.58 jdolecek file dev/md_root.c memory_disk_hooks
286