xref: /freebsd/sys/conf/files.powerpc (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1# This file tells config what files go into building a kernel,
2# files marked standard are always included.
3#
4# $FreeBSD$
5#
6# The long compile-with and dependency lines are required because of
7# limitations in config: backslash-newline doesn't work in strings, and
8# dependency lines other than the first are silently ignored.
9#
10#
11
12# There is only an asm version on ppc64.
13cddl/compat/opensolaris/kern/opensolaris_atomic.c			optional zfs powerpc | dtrace powerpc | zfs powerpcspe | dtrace powerpcspe compile-with "${ZFS_C}"
14cddl/dev/dtrace/powerpc/dtrace_asm.S		optional dtrace compile-with "${DTRACE_S}"
15cddl/dev/dtrace/powerpc/dtrace_subr.c		optional dtrace compile-with "${DTRACE_C}"
16cddl/dev/fbt/powerpc/fbt_isa.c			optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
17crypto/des/des_enc.c		optional	netsmb
18dev/aacraid/aacraid_endian.c	optional	aacraid
19dev/adb/adb_bus.c		optional	adb
20dev/adb/adb_kbd.c		optional	adb
21dev/adb/adb_mouse.c		optional	adb
22dev/adb/adb_hb_if.m		optional	adb
23dev/adb/adb_if.m		optional	adb
24dev/adb/adb_buttons.c		optional	adb
25dev/agp/agp_apple.c		optional	agp powermac
26dev/fb/fb.c			optional	sc
27dev/hwpmc/hwpmc_e500.c		optional	hwpmc
28dev/hwpmc/hwpmc_mpc7xxx.c	optional	hwpmc
29dev/hwpmc/hwpmc_power8.c	optional	hwpmc
30dev/hwpmc/hwpmc_powerpc.c	optional	hwpmc
31dev/hwpmc/hwpmc_ppc970.c	optional	hwpmc
32dev/iicbus/ad7417.c		optional	ad7417 powermac
33dev/iicbus/adm1030.c		optional	powermac windtunnel | adm1030 powermac
34dev/iicbus/adt746x.c		optional        adt746x powermac
35dev/iicbus/ds1631.c		optional	ds1631 powermac
36dev/iicbus/ds1775.c		optional	ds1775 powermac
37dev/iicbus/max6690.c		optional	max6690 powermac
38dev/iicbus/ofw_iicbus.c		optional	iicbus aim
39dev/ipmi/ipmi.c			optional	ipmi
40dev/ipmi/ipmi_opal.c		optional	powernv ipmi
41dev/ixl/if_ixl.c		optional	ixl pci powerpc64 \
42	compile-with "${NORMAL_C} -I$S/dev/ixl"
43dev/ixl/ixl_pf_main.c		optional	ixl pci powerpc64 \
44	compile-with "${NORMAL_C} -I$S/dev/ixl"
45dev/ixl/ixl_pf_iflib.c		optional	ixl pci powerpc64 \
46	compile-with "${NORMAL_C} -I$S/dev/ixl"
47dev/ixl/ixl_pf_qmgr.c		optional	ixl pci powerpc64 \
48	compile-with "${NORMAL_C} -I$S/dev/ixl"
49dev/ixl/ixl_pf_iov.c		optional	ixl pci pci_iov powerpc64 \
50	compile-with "${NORMAL_C} -I$S/dev/ixl"
51dev/ixl/ixl_pf_i2c.c		optional	ixl pci powerpc64 \
52	compile-with "${NORMAL_C} -I$S/dev/ixl"
53dev/ixl/if_iavf.c		optional	iavf pci powerpc64 \
54	compile-with "${NORMAL_C} -I$S/dev/ixl"
55dev/ixl/iavf_vc.c		optional	iavf pci powerpc64 \
56	compile-with "${NORMAL_C} -I$S/dev/ixl"
57dev/ixl/ixl_txrx.c		optional	ixl pci powerpc64 | \
58						iavf pci powerpc64 \
59	compile-with "${NORMAL_C} -I$S/dev/ixl"
60dev/ixl/i40e_osdep.c		optional	ixl pci powerpc64 | \
61						iavf pci powerpc64 \
62	compile-with "${NORMAL_C} -I$S/dev/ixl"
63dev/ixl/i40e_lan_hmc.c		optional	ixl pci powerpc64 | \
64						iavf pci powerpc64 \
65	compile-with "${NORMAL_C} -I$S/dev/ixl"
66dev/ixl/i40e_hmc.c		optional	ixl pci powerpc64 | \
67						iavf pci powerpc64 \
68	compile-with "${NORMAL_C} -I$S/dev/ixl"
69dev/ixl/i40e_common.c		optional	ixl pci powerpc64 | \
70						iavf pci powerpc64 \
71	compile-with "${NORMAL_C} -I$S/dev/ixl"
72dev/ixl/i40e_nvm.c		optional	ixl pci powerpc64 | \
73						iavf pci powerpc64 \
74	compile-with "${NORMAL_C} -I$S/dev/ixl"
75dev/ixl/i40e_adminq.c		optional	ixl pci powerpc64 | \
76						iavf pci powerpc64 \
77	compile-with "${NORMAL_C} -I$S/dev/ixl"
78dev/ixl/i40e_dcb.c		optional	ixl pci powerpc64 \
79	compile-with "${NORMAL_C} -I$S/dev/ixl"
80# Most ofw stuff below is brought in by conf/files for options FDT, but
81# we always want it, even on non-FDT platforms.
82dev/fdt/simplebus.c		standard
83dev/ofw/openfirm.c		standard
84dev/ofw/openfirmio.c		standard
85dev/ofw/ofw_bus_if.m		standard
86dev/ofw/ofw_cpu.c		standard
87dev/ofw/ofw_if.m		standard
88dev/ofw/ofw_bus_subr.c		standard
89dev/ofw/ofw_console.c		optional	aim
90dev/ofw/ofw_disk.c		optional	ofwd aim
91dev/ofw/ofwbus.c		standard
92dev/ofw/ofwpci.c		optional 	pci
93dev/ofw/ofw_standard.c		optional	aim powerpc
94dev/ofw/ofw_subr.c		standard
95dev/powermac_nvram/powermac_nvram.c optional	powermac_nvram powermac
96dev/quicc/quicc_bfe_fdt.c	optional	quicc mpc85xx
97dev/random/darn.c		optional	powerpc64 !random_loadable | powerpc64le !random_loadable
98dev/scc/scc_bfe_macio.c		optional	scc powermac
99dev/sdhci/fsl_sdhci.c		optional	mpc85xx sdhci
100dev/sec/sec.c			optional	sec mpc85xx
101dev/sound/macio/aoa.c		optional	snd_davbus | snd_ai2s powermac
102dev/sound/macio/davbus.c	optional	snd_davbus powermac
103dev/sound/macio/i2s.c		optional	snd_ai2s powermac
104dev/sound/macio/onyx.c		optional	snd_ai2s iicbus powermac
105dev/sound/macio/snapper.c	optional	snd_ai2s iicbus powermac
106dev/sound/macio/tumbler.c	optional	snd_ai2s iicbus powermac
107dev/syscons/scgfbrndr.c		optional	sc
108dev/tsec/if_tsec.c		optional	tsec
109dev/tsec/if_tsec_fdt.c		optional	tsec
110dev/uart/uart_cpu_powerpc.c	optional	uart
111dev/usb/controller/ehci_fsl.c	optional	ehci mpc85xx
112dev/vt/hw/ofwfb/ofwfb.c		optional	vt aim
113kern/subr_atomic64.c		optional	powerpc | powerpcspe
114kern/subr_dummy_vdso_tc.c	standard
115kern/syscalls.c			optional	ktr
116kern/subr_sfbuf.c		standard
117libkern/ashldi3.c		optional	powerpc | powerpcspe
118libkern/ashrdi3.c		optional	powerpc | powerpcspe
119libkern/bcmp.c			standard
120libkern/bcopy.c			standard
121libkern/cmpdi2.c		optional	powerpc | powerpcspe
122libkern/divdi3.c		optional	powerpc | powerpcspe
123libkern/ffs.c			standard
124libkern/ffsl.c			standard
125libkern/ffsll.c			standard
126libkern/flsll.c			standard
127libkern/lshrdi3.c		optional	powerpc | powerpcspe
128libkern/memcmp.c		standard
129libkern/memset.c		standard
130libkern/moddi3.c		optional	powerpc | powerpcspe
131libkern/qdivrem.c		optional	powerpc | powerpcspe
132libkern/strlen.c		standard
133libkern/ucmpdi2.c		optional	powerpc | powerpcspe
134libkern/udivdi3.c		optional	powerpc | powerpcspe
135libkern/umoddi3.c		optional	powerpc | powerpcspe
136powerpc/aim/locore.S		optional	aim no-obj
137powerpc/aim/aim_machdep.c	optional	aim
138powerpc/aim/mmu_oea.c		optional	aim powerpc
139powerpc/aim/mmu_oea64.c		optional	aim
140powerpc/aim/mmu_radix.c		optional	aim powerpc64 | aim powerpc64le
141powerpc/aim/moea64_native.c	optional	aim
142powerpc/aim/mp_cpudep.c		optional	aim
143powerpc/aim/slb.c		optional	aim powerpc64 | aim powerpc64le
144powerpc/amigaone/platform_amigaone.c	optional	amigaone
145powerpc/amigaone/cpld_a1222.c	optional	powerpc amigaone | powerpcspe amigaone
146powerpc/amigaone/cpld_x5000.c	optional	powerpc amigaone | powerpc64 amigaone
147powerpc/booke/locore.S		optional	booke no-obj
148powerpc/booke/booke_machdep.c	optional	booke
149powerpc/booke/machdep_e500.c	optional	booke_e500
150powerpc/booke/mp_cpudep.c	optional	booke smp
151powerpc/booke/platform_bare.c	optional	booke
152powerpc/booke/pmap.c		optional	booke
153powerpc/booke/spe.c		optional	powerpcspe
154powerpc/cpufreq/dfs.c		optional	cpufreq
155powerpc/cpufreq/mpc85xx_jog.c	optional	cpufreq mpc85xx
156powerpc/cpufreq/pcr.c		optional	cpufreq aim
157powerpc/cpufreq/pmcr.c		optional	cpufreq aim powerpc64 | cpufreq aim powerpc64le
158powerpc/cpufreq/pmufreq.c	optional	cpufreq aim pmu
159powerpc/fpu/fpu_add.c		optional	fpu_emu | powerpcspe
160powerpc/fpu/fpu_compare.c	optional	fpu_emu | powerpcspe
161powerpc/fpu/fpu_div.c		optional	fpu_emu | powerpcspe
162powerpc/fpu/fpu_emu.c		optional	fpu_emu
163powerpc/fpu/fpu_explode.c	optional	fpu_emu | powerpcspe
164powerpc/fpu/fpu_implode.c	optional	fpu_emu | powerpcspe
165powerpc/fpu/fpu_mul.c		optional	fpu_emu | powerpcspe
166powerpc/fpu/fpu_sqrt.c		optional	fpu_emu
167powerpc/fpu/fpu_subr.c		optional	fpu_emu | powerpcspe
168powerpc/mambo/mambocall.S	optional	mambo
169powerpc/mambo/mambo.c		optional	mambo
170powerpc/mambo/mambo_console.c	optional	mambo
171powerpc/mambo/mambo_disk.c	optional	mambo
172powerpc/mikrotik/platform_rb.c	optional	mikrotik
173powerpc/mikrotik/rb_led.c	optional	mikrotik
174powerpc/mpc85xx/atpic.c		optional	mpc85xx isa
175powerpc/mpc85xx/ds1553_bus_fdt.c	optional	ds1553
176powerpc/mpc85xx/ds1553_core.c	optional	ds1553
177powerpc/mpc85xx/fsl_diu.c	optional	mpc85xx diu
178powerpc/mpc85xx/fsl_espi.c	optional	mpc85xx spibus
179powerpc/mpc85xx/fsl_sata.c	optional	mpc85xx ata
180powerpc/mpc85xx/i2c.c		optional	mpc85xx iicbus
181powerpc/mpc85xx/isa.c		optional	mpc85xx isa
182powerpc/mpc85xx/lbc.c		optional	mpc85xx
183powerpc/mpc85xx/mpc85xx.c	optional	mpc85xx
184powerpc/mpc85xx/mpc85xx_cache.c	optional	mpc85xx
185powerpc/mpc85xx/mpc85xx_gpio.c	optional	mpc85xx gpio
186powerpc/mpc85xx/platform_mpc85xx.c	optional	mpc85xx
187powerpc/mpc85xx/pci_mpc85xx.c	optional	pci mpc85xx
188powerpc/mpc85xx/pci_mpc85xx_pcib.c	optional	pci mpc85xx
189powerpc/mpc85xx/qoriq_gpio.c	optional	mpc85xx gpio
190powerpc/ofw/ofw_machdep.c	standard
191powerpc/ofw/ofw_pcibus.c	optional	pci
192powerpc/ofw/ofw_pcib_pci.c	optional	pci
193powerpc/ofw/ofw_real.c		optional	aim
194powerpc/ofw/ofw_syscons.c	optional	sc aim
195powerpc/ofw/ofwcall32.S		optional	aim powerpc
196powerpc/ofw/ofwcall64.S		optional	aim powerpc64 | aim powerpc64le
197powerpc/ofw/openpic_ofw.c	standard
198powerpc/ofw/rtas.c		optional	aim
199powerpc/ofw/ofw_initrd.c	optional	md_root_mem powerpc64 | md_root_mem powerpc64le
200powerpc/powermac/ata_kauai.c	optional	powermac ata | powermac atamacio
201powerpc/powermac/ata_macio.c	optional	powermac ata | powermac atamacio
202powerpc/powermac/ata_dbdma.c	optional	powermac ata | powermac atamacio
203powerpc/powermac/atibl.c	optional	powermac atibl
204powerpc/powermac/cuda.c		optional	powermac cuda
205powerpc/powermac/cpcht.c	optional	powermac pci
206powerpc/powermac/dbdma.c	optional	powermac pci
207powerpc/powermac/fcu.c		optional	powermac fcu
208powerpc/powermac/grackle.c	optional	powermac pci
209powerpc/powermac/hrowpic.c	optional	powermac pci
210powerpc/powermac/kiic.c		optional	powermac kiic
211powerpc/powermac/macgpio.c	optional	powermac pci
212powerpc/powermac/macio.c	optional	powermac pci
213powerpc/powermac/nvbl.c		optional	powermac nvbl
214powerpc/powermac/platform_powermac.c optional	powermac
215powerpc/powermac/powermac_thermal.c optional	powermac
216powerpc/powermac/pswitch.c	optional	powermac pswitch
217powerpc/powermac/pmu.c		optional	powermac pmu
218powerpc/powermac/smu.c		optional	powermac smu
219powerpc/powermac/smusat.c	optional	powermac smu
220powerpc/powermac/uninorth.c	optional	powermac
221powerpc/powermac/uninorthpci.c	optional	powermac pci
222powerpc/powermac/vcoregpio.c	optional	powermac
223powerpc/powernv/opal.c		optional	powernv
224powerpc/powernv/opal_async.c	optional	powernv
225powerpc/powernv/opal_console.c	optional	powernv
226powerpc/powernv/opal_dbg.c	optional	powernv gdb
227powerpc/powernv/opal_dev.c	optional	powernv
228powerpc/powernv/opal_flash.c	optional	powernv opalflash
229powerpc/powernv/opal_hmi.c	optional	powernv
230powerpc/powernv/opal_i2c.c	optional	iicbus fdt powernv
231powerpc/powernv/opal_i2cm.c	optional	iicbus fdt powernv
232powerpc/powernv/opal_nvram.c	optional	powernv nvram
233powerpc/powernv/opal_pci.c	optional	powernv pci
234powerpc/powernv/opal_sensor.c	optional	powernv
235powerpc/powernv/opalcall.S	optional	powernv
236powerpc/powernv/platform_powernv.c optional	powernv
237powerpc/powernv/powernv_centaur.c	optional	powernv
238powerpc/powernv/powernv_xscom.c	optional	powernv
239powerpc/powernv/xive.c		optional	powernv
240powerpc/powerpc/altivec.c	optional	!powerpcspe
241powerpc/powerpc/autoconf.c	standard
242powerpc/powerpc/bus_machdep.c	standard
243powerpc/powerpc/busdma_machdep.c standard
244powerpc/powerpc/clock.c		standard
245powerpc/powerpc/copyinout.c	optional	aim
246powerpc/powerpc/cpu.c		standard
247powerpc/powerpc/cpu_subr64.S	optional	powerpc64 | powerpc64le
248powerpc/powerpc/db_disasm.c	optional	ddb
249powerpc/powerpc/db_hwwatch.c	optional	ddb
250powerpc/powerpc/db_interface.c	optional	ddb
251powerpc/powerpc/db_trace.c	optional	ddb
252powerpc/powerpc/dump_machdep.c	standard
253powerpc/powerpc/elf32_machdep.c	optional	powerpc | powerpcspe | compat_freebsd32
254powerpc/powerpc/elf64_machdep.c	optional	powerpc64 | powerpc64le
255powerpc/powerpc/exec_machdep.c	standard
256powerpc/powerpc/fpu.c		standard
257powerpc/powerpc/gdb_machdep.c	optional	gdb
258powerpc/powerpc/in_cksum.c	optional	inet | inet6
259powerpc/powerpc/interrupt.c	standard
260powerpc/powerpc/intr_machdep.c	standard
261powerpc/powerpc/iommu_if.m	standard
262powerpc/powerpc/machdep.c	standard
263powerpc/powerpc/mem.c		optional	mem
264powerpc/powerpc/minidump_machdep.c	optional	powerpc64 | powerpc64le
265powerpc/powerpc/mp_machdep.c	optional	smp
266powerpc/powerpc/nexus.c		standard
267powerpc/powerpc/openpic.c	standard
268powerpc/powerpc/pic_if.m	standard
269powerpc/powerpc/pmap_dispatch.c	standard
270powerpc/powerpc/platform.c	standard
271powerpc/powerpc/platform_if.m	standard
272powerpc/powerpc/ptrace_machdep.c	standard
273powerpc/powerpc/sc_machdep.c	optional	sc
274powerpc/powerpc/setjmp.S	standard
275powerpc/powerpc/sigcode32.S	optional	powerpc | powerpcspe | compat_freebsd32
276powerpc/powerpc/sigcode64.S	optional	powerpc64 | powerpc64le
277powerpc/powerpc/swtch32.S	optional	powerpc | powerpcspe
278powerpc/powerpc/swtch64.S	optional	powerpc64 | powerpc64le
279powerpc/powerpc/stack_machdep.c	optional	ddb | stack
280powerpc/powerpc/support.S	optional	powerpc64 | powerpc64le | booke
281powerpc/powerpc/syncicache.c	standard
282powerpc/powerpc/sys_machdep.c	standard
283powerpc/powerpc/trap.c		standard
284powerpc/powerpc/uio_machdep.c	standard
285powerpc/powerpc/uma_machdep.c	standard
286powerpc/powerpc/vm_machdep.c	standard
287powerpc/ps3/ehci_ps3.c		optional	ps3 ehci
288powerpc/ps3/ohci_ps3.c		optional	ps3 ohci
289powerpc/ps3/if_glc.c		optional	ps3 glc
290powerpc/ps3/mmu_ps3.c		optional	ps3
291powerpc/ps3/platform_ps3.c	optional	ps3
292powerpc/ps3/ps3bus.c		optional	ps3
293powerpc/ps3/ps3cdrom.c		optional	ps3 scbus
294powerpc/ps3/ps3disk.c		optional	ps3
295powerpc/ps3/ps3pic.c		optional	ps3
296powerpc/ps3/ps3_syscons.c	optional	ps3 vt
297powerpc/ps3/ps3-hvcall.S	optional	ps3
298powerpc/pseries/phyp-hvcall.S	optional	pseries powerpc64 | pseries powerpc64le
299powerpc/pseries/mmu_phyp.c	optional	pseries powerpc64 | pseries powerpc64le
300powerpc/pseries/phyp_console.c	optional	pseries powerpc64 uart | pseries powerpc64le uart
301powerpc/pseries/phyp_dbg.c	optional	pseries powerpc64 gdb | pseries powerpc64le gdb
302powerpc/pseries/phyp_llan.c	optional	llan
303powerpc/pseries/phyp_vscsi.c	optional	pseries powerpc64 scbus | pseries powerpc64le scbus
304powerpc/pseries/platform_chrp.c	optional	pseries
305powerpc/pseries/plpar_iommu.c	optional	pseries powerpc64 | pseries powerpc64le
306powerpc/pseries/plpar_pcibus.c	optional	pseries powerpc64 pci | pseries powerpc64le pci
307powerpc/pseries/rtas_dev.c	optional	pseries
308powerpc/pseries/rtas_pci.c	optional	pseries pci
309powerpc/pseries/vdevice.c	optional	pseries powerpc64 | pseries powerpc64le
310powerpc/pseries/xics.c		optional	pseries powerpc64 | pseries powerpc64le
311powerpc/psim/iobus.c 		optional	psim
312powerpc/psim/ata_iobus.c	optional	ata psim
313powerpc/psim/openpic_iobus.c	optional	psim
314powerpc/psim/uart_iobus.c	optional	uart psim
315