files.sparc64 revision 1.147 1 # $NetBSD: files.sparc64,v 1.147 2015/02/12 10:09:10 palle 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 defflag opt_sparc_arch.h SUN4U SUN4V
12
13 define mainbus {}
14 device mainbus: mainbus
15 attach mainbus at root
16
17 define upa {}
18 device upa: upa
19 attach upa at mainbus
20 file arch/sparc64/dev/upa.c
21
22 device pcons
23 attach pcons at mainbus
24 file arch/sparc64/dev/pcons.c pcons needs-flag
25
26 include "dev/sun/files.sun"
27 include "dev/i2o/files.i2o"
28
29 include "dev/sbus/files.sbus"
30 attach sbus at mainbus
31 file arch/sparc64/dev/sbus.c sbus
32
33 device psycho: pcibus, sysmon_power, sysmon_taskq
34 attach psycho at mainbus
35 device schizo: pcibus, sysmon_power, sysmon_taskq
36 attach schizo at mainbus
37 device pyro: pcibus, sysmon_power, sysmon_taskq
38 attach pyro at mainbus
39 device vpci: pcibus, sysmon_power, sysmon_taskq
40 attach vpci at mainbus
41 include "dev/pci/files.pci"
42 file arch/sparc64/dev/psycho.c psycho needs-flag
43 file arch/sparc64/dev/schizo.c schizo
44 file arch/sparc64/dev/pyro.c pyro
45 file arch/sparc64/dev/vpci.c vpci
46 file arch/sparc64/dev/pci_machdep.c psycho | schizo | pyro | vpci
47
48 define central {}
49 device central: central
50 attach central at mainbus
51 file arch/sparc64/dev/central.c central
52
53 define fhc {}
54 device fhc: fhc
55 attach fhc at mainbus with fhc_mainbus
56 attach fhc at central with fhc_central
57 file arch/sparc64/dev/fhc.c fhc
58 file arch/sparc64/dev/fhc_central.c fhc_central
59 file arch/sparc64/dev/fhc_mainbus.c fhc_mainbus
60
61 # IOMMU is for both
62 file arch/sparc64/dev/iommu.c sbus | psycho | schizo | pyro | vpci
63
64 include "dev/ata/files.ata"
65
66 device ebus {[addr = -1]}: pcibus
67 attach ebus at pci
68 file arch/sparc64/dev/ebus.c ebus
69 attach ebus at mainbus with ebus_mainbus
70 file arch/sparc64/dev/ebus_mainbus.c ebus_mainbus
71
72 device clock: mk48txx
73 attach clock at sbus with mkclock_sbus
74 attach clock at ebus with mkclock_ebus
75 attach clock at fhc with mkclock_fhc
76 file arch/sparc64/dev/mkclock.c clock
77
78 device rtc: mc146818
79 attach rtc at ebus with rtc_ebus
80 file arch/sparc64/dev/rtc.c rtc
81
82 device psm: sysmon_envsys, sysmon_power
83 attach psm at ebus
84 file arch/sparc64/dev/psm.c psm
85
86 device timer
87 attach timer at mainbus, sbus
88
89 device power
90 attach power at sbus, ebus
91 file arch/sparc64/dev/power.c power
92
93 device tda
94 attach tda at iic
95 file arch/sparc64/dev/tda.c tda
96
97 device pcfiic: sysmon_envsys, pcf8584, i2cbus
98 attach pcfiic at ebus
99 file arch/sparc64/dev/pcfiic_ebus.c pcfiic
100
101 device ecadc
102 attach ecadc at iic
103 file arch/sparc64/dev/pcf8591_envctrl.c ecadc
104
105 device lom: sysmon_envsys, sysmon_wdog
106 attach lom at ebus
107 file arch/sparc64/dev/lom.c lom
108
109 device cpu
110 attach cpu at mainbus
111 file arch/sparc64/sparc64/cpu.c
112
113 device auxio
114 attach auxio at ebus with auxio_ebus
115 attach auxio at sbus with auxio_sbus
116 file arch/sparc64/dev/auxio.c auxio
117
118 defflag opt_auxio.h BLINK
119
120 attach lpt at ebus with lpt_ebus
121 file arch/sparc64/dev/lpt_ebus.c lpt_ebus
122
123 device fdc {}
124 attach fdc at sbus with fdc_sbus
125 attach fdc at ebus with fdc_ebus
126 device fd: disk
127 attach fd at fdc
128 file arch/sparc64/dev/fdc.c fdc | fd needs-flag
129
130 attach audiocs at ebus with audiocs_ebus
131 file dev/ebus/cs4231_ebus.c audiocs_ebus
132
133 # PCMCIA bus (references fdc)
134 include "dev/pcmcia/files.pcmcia"
135
136 # CardBus Support
137 include "dev/cardbus/files.cardbus"
138 file arch/sparc64/sparc64/rbus_machdep.c cardbus
139
140 #
141 # Console related stuff
142 #
143
144 device zs {channel = -1}
145 attach zs at sbus
146 attach zs at fhc with zs_fhc
147 file arch/sparc64/dev/zs.c zs needs-flag
148 file dev/ic/z8530sc.c zs
149
150 # siemens SAB82532; found on U5/U10/... for tty ports.
151 device sab {channel = -1}
152 attach sab at ebus
153 file arch/sparc64/dev/sab.c sab | sabtty needs-flag
154
155 # "com" attachments for the kbd/mouse of the U5/U10/...
156 attach com at ebus with com_ebus
157 file arch/sparc64/dev/com_ebus.c com_ebus
158
159 # ebus PS/2 keyboard attachment for Tadpole SPARCle, etc.
160 include "dev/pckbport/files.pckbport"
161 attach pckbc at ebus with pckbc_ebus
162 file arch/sparc64/dev/pckbc_ebus.c pckbc_ebus
163
164 device zstty {}: tty
165 attach zstty at zs
166 file dev/ic/z8530tty.c zstty needs-flag
167 # file arch/sparc/dev/zs_kgdb.c kgdb
168
169 device sabtty: tty
170 attach sabtty at sab
171
172 file arch/sparc64/dev/kd.c kbd
173
174 attach kbd at zs with kbd_zs
175 attach kbd at zstty, com with kbd_tty
176 file dev/sun/kbd_zs.c kbd_zs
177 file dev/sun/sunkbd.c kbd_tty
178 file dev/sun/kbdsun.c kbd_zs | kbd_tty
179
180 attach ms at zs with ms_zs
181 attach ms at zstty, com with ms_tty
182 file dev/sun/ms_zs.c ms_zs
183 file dev/sun/sunms.c ms_tty
184
185 #
186 # Machine-independent SCSI drivers
187 #
188 include "dev/scsipi/files.scsipi"
189
190 device cgfourteen
191 attach cgfourteen at sbus
192 file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag
193
194 device ffb: wsemuldisplaydev, rasops32, fb, vcons, i2cexec, i2c_bitbang, ddc_read_edid, edid, videomode
195 file arch/sparc64/dev/ffb.c ffb
196 defflag opt_ffb.h FFB_DEBUG FFB_SYNC
197 attach ffb at mainbus,upa with ffb_mainbus
198 file arch/sparc64/dev/ffb_mainbus.c ffb_mainbus
199
200 device gfb: wsemuldisplaydev, rasops32, fb, vcons
201 file arch/sparc64/dev/gfb.c gfb
202 attach gfb at mainbus
203
204 # CP1500/1400 watchdog timer
205 device pldwdog: sysmon_wdog
206 attach pldwdog at ebus
207 file arch/sparc64/dev/pld_wdog.c pldwdog
208
209 #
210 # Generic Sun stuff
211 #
212
213 file dev/cons.c
214 file arch/sparc64/dev/consinit.c
215 file dev/sun/disksubr.c
216
217 file arch/sparc64/sparc64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum
218
219 file arch/sparc/fpu/fpu.c
220 file arch/sparc/fpu/fpu_add.c
221 file arch/sparc/fpu/fpu_compare.c
222 file arch/sparc/fpu/fpu_div.c
223 file arch/sparc/fpu/fpu_explode.c
224 file arch/sparc/fpu/fpu_implode.c
225 file arch/sparc/fpu/fpu_mul.c
226 file arch/sparc/fpu/fpu_sqrt.c
227 file arch/sparc/fpu/fpu_subr.c
228
229 file arch/sparc/sparc/promlib.c
230 file arch/sparc64/sparc64/autoconf.c
231 file arch/sparc64/sparc64/cache.c
232 file arch/sparc64/sparc64/clock.c
233 file arch/sparc64/sparc64/core_machdep.c coredump
234 file arch/sparc64/sparc64/emul.c
235 file arch/sparc64/sparc64/intr.c
236 file arch/sparc64/sparc64/kgdb_machdep.c kgdb
237 file arch/sparc/sparc/kobj_machdep.c modular & !exec_elf64
238 file arch/sparc64/sparc64/kobj_machdep.c modular & exec_elf64
239 # sparc64/sparc64/locore.s is handled specially in the makefile,
240 # because it must come first in the "ld" command line.
241 file arch/sparc64/sparc64/machdep.c
242 file arch/sparc64/sparc64/process_machdep.c
243 file arch/sparc64/sparc64/procfs_machdep.c procfs
244 file arch/sparc/sparc/openprom.c
245 file arch/sparc/sparc/openfirm.c
246 file arch/sparc64/sparc64/ofw_machdep.c
247 file arch/sparc64/sparc64/pmap.c
248 file arch/sparc64/sparc64/sys_machdep.c
249 file arch/sparc64/sparc64/syscall.c
250 file arch/sparc64/sparc64/trap.c
251 file arch/sparc64/sparc64/vm_machdep.c
252 file arch/sparc64/sparc64/ipifuncs.c multiprocessor
253 file arch/sparc64/sparc64/lock_stubs.s
254 file arch/sparc64/sparc64/hvcall.S sun4v
255 file arch/sparc64/sparc64/mdesc.c sun4v
256
257 file arch/sparc64/sparc64/db_interface.c ddb | kgdb
258 file arch/sparc64/sparc64/db_machdep.c ddb
259 file arch/sparc64/sparc64/db_trace.c ddb
260 file arch/sparc64/sparc64/db_disasm.c ddb
261 file arch/sparc64/sparc64/db_tlb_access.S ddb
262
263 # USB Support
264 include "dev/usb/files.usb"
265
266 # Bluetooth Support
267 include "dev/bluetooth/files.bluetooth"
268
269 # IEEE1394 Support
270 include "dev/ieee1394/files.ieee1394"
271
272 # Stack-less Just-In-Time compiler
273 include "external/bsd/sljit/conf/files.sljit"
274
275 #
276 # Compatibility modules
277 #
278
279 # Binary compatibility with previous NetBSD releases.
280 file arch/sparc64/sparc64/compat_13_machdep.c compat_13
281 file arch/sparc64/sparc64/compat_16_machdep.c compat_16
282
283 # NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
284 include "compat/netbsd32/files.netbsd32"
285 file arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32
286 file arch/sparc64/sparc64/netbsd32_sigcode.s compat_netbsd32
287
288 # SVR4 Binary Compatibility (COMPAT_SVR4)
289 include "compat/svr4/files.svr4"
290 file arch/sparc64/sparc64/svr4_machdep.c compat_svr4
291 file arch/sparc64/sparc64/svr4_sigcode64.s compat_svr4 & exec_elf64
292
293 # 32-bit SVR4 Binary Compatibility (COMPAT_SVR4_32)
294 include "compat/svr4_32/files.svr4_32"
295 file arch/sparc64/sparc64/svr4_32_machdep.c compat_svr4_32
296 file arch/sparc64/sparc64/svr4_32_sigcode.s compat_svr4_32 | (compat_svr4 & !exec_elf64)
297
298 # SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
299 # (64-bit also depends on COMPAT_NETBSD32)
300 include "compat/sunos/files.sunos"
301 file arch/sparc64/sparc64/sunos_sigcode.s compat_sunos
302 file arch/sparc64/sparc64/sunos_machdep.c compat_sunos & !compat_netbsd32
303 include "compat/sunos32/files.sunos32"
304 file arch/sparc64/sparc64/sunos32_machdep.c compat_sunos & compat_netbsd32
305
306 # Miscellaneous
307 file dev/md_root.c memory_disk_hooks
308
309 include "arch/sparc64/conf/majors.sparc64"
310
311 # OpenFirmware convenience stuff
312 file dev/ofw/ofw_subr.c
313