1d2be885eSDavid E. O'Brien# This file tells config what files go into building a kernel, 2d2be885eSDavid E. O'Brien# files marked standard are always included. 3d2be885eSDavid E. O'Brien# 4d2be885eSDavid E. O'Brien# 59246a83cSWarner Losh 69246a83cSWarner Losh# common files stuff between i386 and amd64 79246a83cSWarner Loshinclude "conf/files.x86" 89246a83cSWarner Losh 9d2be885eSDavid E. O'Brien# The long compile-with and dependency lines are required because of 10d2be885eSDavid E. O'Brien# limitations in config: backslash-newline doesn't work in strings, and 11d2be885eSDavid E. O'Brien# dependency lines other than the first are silently ignored. 12d2be885eSDavid E. O'Brien# 13ea0fabbcSTim J. Robbins# 14ab4524b3SKonstantin Belousovelf-vdso.so.o standard \ 155bb807feSKonstantin Belousov dependency "$S/amd64/amd64/sigtramp.S assym.inc $S/conf/vdso_amd64.ldscript $S/tools/amd64_vdso.sh" \ 16169b368aSJessica Clarke compile-with "env AWK='${AWK}' NM='${NM}' LD='${LD}' CC='${CC}' DEBUG='${DEBUG}' OBJCOPY='${OBJCOPY}' ELFDUMP='${ELFDUMP}' S='${S}' sh $S/tools/amd64_vdso.sh" \ 17f48cd806SMark Johnston no-ctfconvert \ 18ab4524b3SKonstantin Belousov no-implicit-rule before-depend \ 19ab4524b3SKonstantin Belousov clean "elf-vdso.so.o elf-vdso.so.1 vdso_offsets.h sigtramp.pico" 20ab4524b3SKonstantin Belousov# 2198c8b625SKonstantin Belousovelf-vdso32.so.o optional compat_freebsd32 \ 225bb807feSKonstantin Belousov dependency "$S/amd64/ia32/ia32_sigtramp.S ia32_assym.h $S/conf/vdso_amd64_ia32.ldscript $S/tools/amd64_ia32_vdso.sh" \ 23169b368aSJessica Clarke compile-with "env AWK='${AWK}' NM='${NM}' LD='${LD}' CC='${CC}' DEBUG='${DEBUG}' OBJCOPY='${OBJCOPY}' ELFDUMP='${ELFDUMP}' S='${S}' sh $S/tools/amd64_ia32_vdso.sh" \ 24f48cd806SMark Johnston no-ctfconvert \ 2598c8b625SKonstantin Belousov no-implicit-rule before-depend \ 2698c8b625SKonstantin Belousov clean "elf-vdso32.so.o elf-vdso32.so.1 vdso_ia32_offsets.h ia32_sigtramp.pico" 2798c8b625SKonstantin Belousov# 280d2a2989SPeter Wemmia32_genassym.o standard \ 294dc1b29bSMatt Macy dependency "$S/compat/ia32/ia32_genassym.c offset.inc" \ 308e1a7e29SMark Johnston compile-with "${CC} ${CFLAGS:N-flto*:N-fno-common:N-fsanitize*:N-fno-sanitize*} -fcommon -c ${.IMPSRC}" \ 31d85631c4SPeter Wemm no-obj no-implicit-rule \ 32d85631c4SPeter Wemm clean "ia32_genassym.o" 33d85631c4SPeter Wemm# 340d2a2989SPeter Wemmia32_assym.h standard \ 35d85631c4SPeter Wemm dependency "$S/kern/genassym.sh ia32_genassym.o" \ 361558258bSRui Paulo compile-with "env NM='${NM}' NMFLAGS='${NMFLAGS}' sh $S/kern/genassym.sh ia32_genassym.o > ${.TARGET}" \ 37d85631c4SPeter Wemm no-obj no-implicit-rule before-depend \ 38d85631c4SPeter Wemm clean "ia32_assym.h" 39d85631c4SPeter Wemm# 40ff7bf2f7SPeter Wemmamd64/acpica/acpi_machdep.c optional acpi 412b6eec53SKonstantin Belousovamd64/acpica/acpi_wakeup.c optional acpi 42588697d4SJung-uk Kimacpi_wakecode.o optional acpi \ 43fc2a8776SEd Maste dependency "$S/amd64/acpica/acpi_wakecode.S assym.inc" \ 44588697d4SJung-uk Kim compile-with "${NORMAL_S}" \ 45588697d4SJung-uk Kim no-obj no-implicit-rule before-depend \ 46588697d4SJung-uk Kim clean "acpi_wakecode.o" 47588697d4SJung-uk Kimacpi_wakecode.bin optional acpi \ 48588697d4SJung-uk Kim dependency "acpi_wakecode.o" \ 4972bacdc5SDavid E. O'Brien compile-with "${OBJCOPY} -S -O binary acpi_wakecode.o ${.TARGET}" \ 50588697d4SJung-uk Kim no-obj no-implicit-rule before-depend \ 51588697d4SJung-uk Kim clean "acpi_wakecode.bin" 52c66d2b38SJung-uk Kimacpi_wakecode.h optional acpi \ 53588697d4SJung-uk Kim dependency "acpi_wakecode.bin" \ 54588697d4SJung-uk Kim compile-with "file2c -sx 'static char wakecode[] = {' '};' < acpi_wakecode.bin > ${.TARGET}" \ 55c66d2b38SJung-uk Kim no-obj no-implicit-rule before-depend \ 56588697d4SJung-uk Kim clean "acpi_wakecode.h" 57c66d2b38SJung-uk Kimacpi_wakedata.h optional acpi \ 58588697d4SJung-uk Kim dependency "acpi_wakecode.o" \ 5937d696a3SJung-uk Kim compile-with '${NM} -n --defined-only acpi_wakecode.o | while read offset dummy what; do echo "#define $${what} 0x$${offset}"; done > ${.TARGET}' \ 60c66d2b38SJung-uk Kim no-obj no-implicit-rule before-depend \ 61588697d4SJung-uk Kim clean "acpi_wakedata.h" 62c66d2b38SJung-uk Kim# 63003d5d66SBruce Evans#amd64/amd64/apic_vector.S standard 6421691935SPeter Wemmamd64/amd64/bios.c standard 65848c454cSJung-uk Kimamd64/amd64/bpf_jit_machdep.c optional bpf_jitter 66b3a7db3bSKonstantin Belousovamd64/amd64/copyout.c standard 677dca36c9SPeter Wemmamd64/amd64/cpu_switch.S standard 68ec2343a8SPeter Wemmamd64/amd64/db_disasm.c optional ddb 69ec2343a8SPeter Wemmamd64/amd64/db_interface.c optional ddb 70ec2343a8SPeter Wemmamd64/amd64/db_trace.c optional ddb 710e73a619SAndrew Turneramd64/amd64/efirt_machdep.c optional efirt 7250cd0be7SKonstantin Belousovamd64/amd64/efirt_support.S optional efirt 73b05deb9bSPeter Wemmamd64/amd64/elf_machdep.c standard 7427828625SPeter Wemmamd64/amd64/exception.S standard 7512ca33f4SKonstantin Belousovamd64/amd64/exec_machdep.c standard 760d2a2989SPeter Wemmamd64/amd64/fpu.c standard 775971a234SMarcel Moolenaaramd64/amd64/gdb_machdep.c optional gdb 78b05deb9bSPeter Wemmamd64/amd64/initcpu.c standard 798ab2f5ecSMark Murrayamd64/amd64/io.c optional io 8027828625SPeter Wemmamd64/amd64/locore.S standard no-obj 81f953e731SConrad Meyeramd64/amd64/xen-locore.S optional xenhvm \ 82265cef40SBryan Drewery compile-with "${NORMAL_S} -g0" \ 83265cef40SBryan Drewery no-ctfconvert 84b05deb9bSPeter Wemmamd64/amd64/machdep.c standard 858ab2f5ecSMark Murrayamd64/amd64/mem.c optional mem 86c0345a84SPeter Wemmamd64/amd64/minidump_machdep.c standard 870d2a2989SPeter Wemmamd64/amd64/mp_machdep.c optional smp 880d2a2989SPeter Wemmamd64/amd64/mpboot.S optional smp 89dbfb54ffSAlan Coxamd64/amd64/pmap.c standard 908c6f8f3dSKonstantin Belousovamd64/amd64/ptrace_machdep.c standard 9127828625SPeter Wemmamd64/amd64/support.S standard 92b05deb9bSPeter Wemmamd64/amd64/sys_machdep.c standard 93b05deb9bSPeter Wemmamd64/amd64/trap.c standard 9433d13796SAlan Coxamd64/amd64/uio_machdep.c standard 95b05deb9bSPeter Wemmamd64/amd64/vm_machdep.c standard 960d2a2989SPeter Wemmamd64/pci/pci_cfgreg.c optional pci 974f4d15f0SRuslan Bukincddl/dev/dtrace/amd64/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}" 984f4d15f0SRuslan Bukincddl/dev/dtrace/amd64/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}" 995f270659SKonstantin Belousovcrypto/aesni/aeskeys_amd64.S optional aesni 1000e00c709SJohn Baldwincrypto/des/des_enc.c optional netsmb 101556b4349SMark Johnstoncrypto/openssl/amd64/aes-gcm-avx512.S optional ossl 102197ff4c3SKornel Dulebacrypto/openssl/amd64/aesni-x86_64.S optional ossl 103556b4349SMark Johnstoncrypto/openssl/amd64/aesni-gcm-x86_64.S optional ossl 10492aecd1eSJohn Baldwincrypto/openssl/amd64/chacha-x86_64.S optional ossl 105556b4349SMark Johnstoncrypto/openssl/amd64/ghash-x86_64.S optional ossl 106a079e38bSJohn Baldwincrypto/openssl/amd64/poly1305-x86_64.S optional ossl 107ba610be9SJohn Baldwincrypto/openssl/amd64/sha1-x86_64.S optional ossl 108ba610be9SJohn Baldwincrypto/openssl/amd64/sha256-x86_64.S optional ossl 109ba610be9SJohn Baldwincrypto/openssl/amd64/sha512-x86_64.S optional ossl 110556b4349SMark Johnstoncrypto/openssl/amd64/ossl_aes_gcm.c optional ossl 1118ce574deSOleksandr Tymoshenkodev/amdgpio/amdgpio.c optional amdgpio 1127113afc8SEmmanuel Vadotdev/axgbe/if_axgbe_pci.c optional axp 1137113afc8SEmmanuel Vadotdev/axgbe/xgbe-desc.c optional axp 1147113afc8SEmmanuel Vadotdev/axgbe/xgbe-dev.c optional axp 1157113afc8SEmmanuel Vadotdev/axgbe/xgbe-drv.c optional axp 1167113afc8SEmmanuel Vadotdev/axgbe/xgbe-mdio.c optional axp 1177113afc8SEmmanuel Vadotdev/axgbe/xgbe-sysctl.c optional axp 1187113afc8SEmmanuel Vadotdev/axgbe/xgbe-txrx.c optional axp 1197113afc8SEmmanuel Vadotdev/axgbe/xgbe_osdep.c optional axp 1207113afc8SEmmanuel Vadotdev/axgbe/xgbe-i2c.c optional axp 1217113afc8SEmmanuel Vadotdev/axgbe/xgbe-phy-v2.c optional axp 1229c067b84SDoug Ambriskodev/enic/enic_res.c optional enic 1239c067b84SDoug Ambriskodev/enic/enic_txrx.c optional enic 1249c067b84SDoug Ambriskodev/enic/if_enic.c optional enic 1259c067b84SDoug Ambriskodev/enic/vnic_cq.c optional enic 1269c067b84SDoug Ambriskodev/enic/vnic_dev.c optional enic 1279c067b84SDoug Ambriskodev/enic/vnic_intr.c optional enic 1289c067b84SDoug Ambriskodev/enic/vnic_rq.c optional enic 1299c067b84SDoug Ambriskodev/enic/vnic_wq.c optional enic 1301b10e191SStéphane Rochoydev/ftgpio/ftgpio.c optional ftgpio superio 1312a4300e9SWarner Loshdev/hyperv/vmbus/amd64/hyperv_machdep.c optional hyperv 1322a4300e9SWarner Loshdev/hyperv/vmbus/amd64/vmbus_vector.S optional hyperv 1332b887687SSouradeep Chakrabartidev/hyperv/vmbus/hyperv_mmu.c optional hyperv 134ca853deeSEric Joynerdev/iavf/if_iavf_iflib.c optional iavf pci \ 135ca853deeSEric Joyner compile-with "${NORMAL_C} -I$S/dev/iavf" 136ca853deeSEric Joynerdev/iavf/iavf_lib.c optional iavf pci \ 137ca853deeSEric Joyner compile-with "${NORMAL_C} -I$S/dev/iavf" 138ca853deeSEric Joynerdev/iavf/iavf_osdep.c optional iavf pci \ 139ca853deeSEric Joyner compile-with "${NORMAL_C} -I$S/dev/iavf" 140ca853deeSEric Joynerdev/iavf/iavf_txrx_iflib.c optional iavf pci \ 141ca853deeSEric Joyner compile-with "${NORMAL_C} -I$S/dev/iavf" 142ca853deeSEric Joynerdev/iavf/iavf_common.c optional iavf pci \ 143ca853deeSEric Joyner compile-with "${NORMAL_C} -I$S/dev/iavf" 144ca853deeSEric Joynerdev/iavf/iavf_adminq.c optional iavf pci \ 145ca853deeSEric Joyner compile-with "${NORMAL_C} -I$S/dev/iavf" 146ca853deeSEric Joynerdev/iavf/iavf_vc_common.c optional iavf pci \ 147ca853deeSEric Joyner compile-with "${NORMAL_C} -I$S/dev/iavf" 148ca853deeSEric Joynerdev/iavf/iavf_vc_iflib.c optional iavf pci \ 149ca853deeSEric Joyner compile-with "${NORMAL_C} -I$S/dev/iavf" 15071d10453SEric Joynerdev/ice/if_ice_iflib.c optional ice pci \ 15171d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 15271d10453SEric Joynerdev/ice/ice_lib.c optional ice pci \ 15371d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 15471d10453SEric Joynerdev/ice/ice_osdep.c optional ice pci \ 15571d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 15671d10453SEric Joynerdev/ice/ice_resmgr.c optional ice pci \ 15771d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 15871d10453SEric Joynerdev/ice/ice_strings.c optional ice pci \ 15971d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 16071d10453SEric Joynerdev/ice/ice_iflib_recovery_txrx.c optional ice pci \ 16171d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 16271d10453SEric Joynerdev/ice/ice_iflib_txrx.c optional ice pci \ 16371d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 16471d10453SEric Joynerdev/ice/ice_common.c optional ice pci \ 16571d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 16671d10453SEric Joynerdev/ice/ice_controlq.c optional ice pci \ 16771d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 16871d10453SEric Joynerdev/ice/ice_dcb.c optional ice pci \ 16971d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 17071d10453SEric Joynerdev/ice/ice_flex_pipe.c optional ice pci \ 17171d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 17271d10453SEric Joynerdev/ice/ice_flow.c optional ice pci \ 17371d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 17471d10453SEric Joynerdev/ice/ice_nvm.c optional ice pci \ 17571d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 17671d10453SEric Joynerdev/ice/ice_sched.c optional ice pci \ 17771d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 17871d10453SEric Joynerdev/ice/ice_switch.c optional ice pci \ 17971d10453SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 180d08b8680SEric Joynerdev/ice/ice_vlan_mode.c optional ice pci \ 181d08b8680SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 18256429daeSEric Joynerdev/ice/ice_fw_logging.c optional ice pci \ 18356429daeSEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 18456429daeSEric Joynerdev/ice/ice_fwlog.c optional ice pci \ 18556429daeSEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 1868a13362dSEric Joynerdev/ice/ice_rdma.c optional ice pci \ 1878a13362dSEric Joyner compile-with "${NORMAL_C} -I$S/dev/ice" 1888a13362dSEric Joynerdev/ice/irdma_if.m optional ice pci \ 1898a13362dSEric Joyner compile-with "${NORMAL_M} -I$S/dev/ice" 1908a13362dSEric Joynerdev/ice/irdma_di_if.m optional ice pci \ 1918a13362dSEric Joyner compile-with "${NORMAL_M} -I$S/dev/ice" 1928923de59SPiotr Kubajdev/ice/ice_ddp_common.c optional ice pci \ 1938923de59SPiotr Kubaj compile-with "${NORMAL_C} -I$S/dev/ice" 19471d10453SEric Joynerice_ddp.c optional ice_ddp \ 195*f9a03906SEric Joyner compile-with "${AWK} -f $S/tools/fw_stub.awk ice_ddp.fw:ice_ddp:0x01032900 -mice_ddp -c${.TARGET}" \ 19694611a83SAndrew Turner no-ctfconvert no-implicit-rule before-depend local \ 19771d10453SEric Joyner clean "ice_ddp.c" 19871d10453SEric Joynerice_ddp.fwo optional ice_ddp \ 19971d10453SEric Joyner dependency "ice_ddp.fw" \ 20071d10453SEric Joyner compile-with "${NORMAL_FWO}" \ 20171d10453SEric Joyner no-implicit-rule \ 20271d10453SEric Joyner clean "ice_ddp.fwo" 20371d10453SEric Joynerice_ddp.fw optional ice_ddp \ 204*f9a03906SEric Joyner dependency "$S/contrib/dev/ice/ice-1.3.41.0.pkg" \ 205*f9a03906SEric Joyner compile-with "${CP} $S/contrib/dev/ice/ice-1.3.41.0.pkg ice_ddp.fw" \ 20671d10453SEric Joyner no-obj no-implicit-rule \ 20771d10453SEric Joyner clean "ice_ddp.fw" 208e974f91cSConrad Meyerdev/ioat/ioat.c optional ioat pci 209e974f91cSConrad Meyerdev/ioat/ioat_test.c optional ioat pci 21014f2533cSBjoern A. Zeebdev/ixl/if_ixl.c optional ixl pci \ 21114f2533cSBjoern A. Zeeb compile-with "${NORMAL_C} -I$S/dev/ixl" 2124294f337SSean Brunodev/ixl/ixl_pf_main.c optional ixl pci \ 2134294f337SSean Bruno compile-with "${NORMAL_C} -I$S/dev/ixl" 214b4a7ce06SEric Joynerdev/ixl/ixl_pf_iflib.c optional ixl pci \ 215b4a7ce06SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ixl" 2164294f337SSean Brunodev/ixl/ixl_pf_qmgr.c optional ixl pci \ 2174294f337SSean Bruno compile-with "${NORMAL_C} -I$S/dev/ixl" 218a19f95b3SBryan Drewerydev/ixl/ixl_pf_iov.c optional ixl pci pci_iov \ 2194294f337SSean Bruno compile-with "${NORMAL_C} -I$S/dev/ixl" 220cb6b8299SEric Joynerdev/ixl/ixl_pf_i2c.c optional ixl pci \ 221cb6b8299SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ixl" 222ca853deeSEric Joynerdev/ixl/ixl_txrx.c optional ixl pci \ 22314f2533cSBjoern A. Zeeb compile-with "${NORMAL_C} -I$S/dev/ixl" 224ca853deeSEric Joynerdev/ixl/i40e_osdep.c optional ixl pci \ 22514f2533cSBjoern A. Zeeb compile-with "${NORMAL_C} -I$S/dev/ixl" 226ca853deeSEric Joynerdev/ixl/i40e_lan_hmc.c optional ixl pci \ 22714f2533cSBjoern A. Zeeb compile-with "${NORMAL_C} -I$S/dev/ixl" 228ca853deeSEric Joynerdev/ixl/i40e_hmc.c optional ixl pci \ 22914f2533cSBjoern A. Zeeb compile-with "${NORMAL_C} -I$S/dev/ixl" 230ca853deeSEric Joynerdev/ixl/i40e_common.c optional ixl pci \ 23114f2533cSBjoern A. Zeeb compile-with "${NORMAL_C} -I$S/dev/ixl" 232ca853deeSEric Joynerdev/ixl/i40e_nvm.c optional ixl pci \ 23314f2533cSBjoern A. Zeeb compile-with "${NORMAL_C} -I$S/dev/ixl" 234ca853deeSEric Joynerdev/ixl/i40e_adminq.c optional ixl pci \ 23514f2533cSBjoern A. Zeeb compile-with "${NORMAL_C} -I$S/dev/ixl" 236ceebc2f3SEric Joynerdev/ixl/i40e_dcb.c optional ixl pci \ 237ceebc2f3SEric Joyner compile-with "${NORMAL_C} -I$S/dev/ixl" 238350b7c35SStéphane Rochoydev/ncthwm/ncthwm.c optional ncthwm superio 239711bcba0SDavid C Somayajuludev/qlxge/qls_dbg.c optional qlxge pci 240711bcba0SDavid C Somayajuludev/qlxge/qls_dump.c optional qlxge pci 241711bcba0SDavid C Somayajuludev/qlxge/qls_hw.c optional qlxge pci 242711bcba0SDavid C Somayajuludev/qlxge/qls_ioctl.c optional qlxge pci 243711bcba0SDavid C Somayajuludev/qlxge/qls_isr.c optional qlxge pci 244711bcba0SDavid C Somayajuludev/qlxge/qls_os.c optional qlxge pci 2450bc7cf6fSBjoern A. Zeebdev/qlxgb/qla_dbg.c optional qlxgb pci 2460bc7cf6fSBjoern A. Zeebdev/qlxgb/qla_hw.c optional qlxgb pci 2470bc7cf6fSBjoern A. Zeebdev/qlxgb/qla_ioctl.c optional qlxgb pci 2480bc7cf6fSBjoern A. Zeebdev/qlxgb/qla_isr.c optional qlxgb pci 2490bc7cf6fSBjoern A. Zeebdev/qlxgb/qla_misc.c optional qlxgb pci 2500bc7cf6fSBjoern A. Zeebdev/qlxgb/qla_os.c optional qlxgb pci 251f10a77bbSDavid C Somayajuludev/qlxgbe/ql_dbg.c optional qlxgbe pci 252f10a77bbSDavid C Somayajuludev/qlxgbe/ql_hw.c optional qlxgbe pci 253f10a77bbSDavid C Somayajuludev/qlxgbe/ql_ioctl.c optional qlxgbe pci 254f10a77bbSDavid C Somayajuludev/qlxgbe/ql_isr.c optional qlxgbe pci 255f10a77bbSDavid C Somayajuludev/qlxgbe/ql_misc.c optional qlxgbe pci 256f10a77bbSDavid C Somayajuludev/qlxgbe/ql_os.c optional qlxgbe pci 257f10a77bbSDavid C Somayajuludev/qlxgbe/ql_reset.c optional qlxgbe pci 258c0c317d2SAlexander Motindev/qlxgbe/ql_fw.c optional qlxgbe pci 259c0c317d2SAlexander Motindev/qlxgbe/ql_boot.c optional qlxgbe pci 260c0c317d2SAlexander Motindev/qlxgbe/ql_minidump.c optional qlxgbe pci 261c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/ecore_cxt.c optional qlnxe pci \ 262c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 263c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/ecore_dbg_fw_funcs.c optional qlnxe pci \ 264c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 265c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/ecore_dcbx.c optional qlnxe pci \ 266c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 267c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/ecore_dev.c optional qlnxe pci \ 268c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 269c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/ecore_hw.c optional qlnxe pci \ 270c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 271c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/ecore_init_fw_funcs.c optional qlnxe pci \ 272c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 273c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/ecore_init_ops.c optional qlnxe pci \ 274c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 275c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/ecore_int.c optional qlnxe pci \ 276c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 277c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/ecore_l2.c optional qlnxe pci \ 278c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 279c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/ecore_mcp.c optional qlnxe pci \ 280c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 281c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/ecore_sp_commands.c optional qlnxe pci \ 282c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 283c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/ecore_spq.c optional qlnxe pci \ 284c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 285e4017d9bSMark O'Donovandev/qlnx/qlnxe/ecore_sriov.c optional qlnxe pci \ 286e4017d9bSMark O'Donovan compile-with "${LINUXKPI_C}" 287e4017d9bSMark O'Donovandev/qlnx/qlnxe/ecore_vf.c optional qlnxe pci \ 288e4017d9bSMark O'Donovan compile-with "${LINUXKPI_C}" 289e4017d9bSMark O'Donovandev/qlnx/qlnxe/ecore_ll2.c optional qlnxe pci \ 290e4017d9bSMark O'Donovan compile-with "${LINUXKPI_C}" 291e4017d9bSMark O'Donovandev/qlnx/qlnxe/ecore_iwarp.c optional qlnxe pci \ 292e4017d9bSMark O'Donovan compile-with "${LINUXKPI_C}" 293e4017d9bSMark O'Donovandev/qlnx/qlnxe/ecore_rdma.c optional qlnxe pci \ 294e4017d9bSMark O'Donovan compile-with "${LINUXKPI_C}" 295e4017d9bSMark O'Donovandev/qlnx/qlnxe/ecore_roce.c optional qlnxe pci \ 296e4017d9bSMark O'Donovan compile-with "${LINUXKPI_C}" 297e4017d9bSMark O'Donovandev/qlnx/qlnxe/ecore_ooo.c optional qlnxe pci \ 298e4017d9bSMark O'Donovan compile-with "${LINUXKPI_C}" 299e4017d9bSMark O'Donovandev/qlnx/qlnxe/qlnx_rdma.c optional qlnxe pci \ 300e4017d9bSMark O'Donovan compile-with "${LINUXKPI_C}" 301c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/qlnx_ioctl.c optional qlnxe pci \ 302c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 303c9dd0b48SHans Petter Selaskydev/qlnx/qlnxe/qlnx_os.c optional qlnxe pci \ 304c9dd0b48SHans Petter Selasky compile-with "${LINUXKPI_C}" 305b3b9415fSBjoern A. Zeebdev/sfxge/common/ef10_ev.c optional sfxge pci 306b3b9415fSBjoern A. Zeebdev/sfxge/common/ef10_filter.c optional sfxge pci 307391763d7SAndrew Rybchenkodev/sfxge/common/ef10_image.c optional sfxge pci 308b3b9415fSBjoern A. Zeebdev/sfxge/common/ef10_intr.c optional sfxge pci 309b3b9415fSBjoern A. Zeebdev/sfxge/common/ef10_mac.c optional sfxge pci 310b3b9415fSBjoern A. Zeebdev/sfxge/common/ef10_mcdi.c optional sfxge pci 311b3b9415fSBjoern A. Zeebdev/sfxge/common/ef10_nic.c optional sfxge pci 312b3b9415fSBjoern A. Zeebdev/sfxge/common/ef10_nvram.c optional sfxge pci 313b3b9415fSBjoern A. Zeebdev/sfxge/common/ef10_phy.c optional sfxge pci 314b3b9415fSBjoern A. Zeebdev/sfxge/common/ef10_rx.c optional sfxge pci 315b3b9415fSBjoern A. Zeebdev/sfxge/common/ef10_tx.c optional sfxge pci 316b3b9415fSBjoern A. Zeebdev/sfxge/common/ef10_vpd.c optional sfxge pci 3173c838a9fSAndrew Rybchenkodev/sfxge/common/efx_bootcfg.c optional sfxge pci 3183c838a9fSAndrew Rybchenkodev/sfxge/common/efx_crc32.c optional sfxge pci 3193c838a9fSAndrew Rybchenkodev/sfxge/common/efx_ev.c optional sfxge pci 3203c838a9fSAndrew Rybchenkodev/sfxge/common/efx_filter.c optional sfxge pci 3213c838a9fSAndrew Rybchenkodev/sfxge/common/efx_hash.c optional sfxge pci 3223c838a9fSAndrew Rybchenkodev/sfxge/common/efx_intr.c optional sfxge pci 3230c848230SAndrew Rybchenkodev/sfxge/common/efx_lic.c optional sfxge pci 3243c838a9fSAndrew Rybchenkodev/sfxge/common/efx_mac.c optional sfxge pci 3253c838a9fSAndrew Rybchenkodev/sfxge/common/efx_mcdi.c optional sfxge pci 3263c838a9fSAndrew Rybchenkodev/sfxge/common/efx_mon.c optional sfxge pci 3273c838a9fSAndrew Rybchenkodev/sfxge/common/efx_nic.c optional sfxge pci 3283c838a9fSAndrew Rybchenkodev/sfxge/common/efx_nvram.c optional sfxge pci 3293c838a9fSAndrew Rybchenkodev/sfxge/common/efx_phy.c optional sfxge pci 3303c838a9fSAndrew Rybchenkodev/sfxge/common/efx_port.c optional sfxge pci 3313c838a9fSAndrew Rybchenkodev/sfxge/common/efx_rx.c optional sfxge pci 3323c838a9fSAndrew Rybchenkodev/sfxge/common/efx_sram.c optional sfxge pci 333fdbe38cfSAndrew Rybchenkodev/sfxge/common/efx_tunnel.c optional sfxge pci 3343c838a9fSAndrew Rybchenkodev/sfxge/common/efx_tx.c optional sfxge pci 3353c838a9fSAndrew Rybchenkodev/sfxge/common/efx_vpd.c optional sfxge pci 3363c838a9fSAndrew Rybchenkodev/sfxge/common/hunt_nic.c optional sfxge pci 337b3b9415fSBjoern A. Zeebdev/sfxge/common/mcdi_mon.c optional sfxge pci 338b3b9415fSBjoern A. Zeebdev/sfxge/common/medford_nic.c optional sfxge pci 339ae64ac93SAndrew Rybchenkodev/sfxge/common/medford2_nic.c optional sfxge pci 3403c838a9fSAndrew Rybchenkodev/sfxge/common/siena_mac.c optional sfxge pci 3413c838a9fSAndrew Rybchenkodev/sfxge/common/siena_mcdi.c optional sfxge pci 3423c838a9fSAndrew Rybchenkodev/sfxge/common/siena_nic.c optional sfxge pci 3433c838a9fSAndrew Rybchenkodev/sfxge/common/siena_nvram.c optional sfxge pci 3443c838a9fSAndrew Rybchenkodev/sfxge/common/siena_phy.c optional sfxge pci 3453c838a9fSAndrew Rybchenkodev/sfxge/common/siena_sram.c optional sfxge pci 3463c838a9fSAndrew Rybchenkodev/sfxge/common/siena_vpd.c optional sfxge pci 3473c838a9fSAndrew Rybchenkodev/sfxge/sfxge.c optional sfxge pci 3483c838a9fSAndrew Rybchenkodev/sfxge/sfxge_dma.c optional sfxge pci 3493c838a9fSAndrew Rybchenkodev/sfxge/sfxge_ev.c optional sfxge pci 3503c838a9fSAndrew Rybchenkodev/sfxge/sfxge_intr.c optional sfxge pci 3513c838a9fSAndrew Rybchenkodev/sfxge/sfxge_mcdi.c optional sfxge pci 3523c838a9fSAndrew Rybchenkodev/sfxge/sfxge_nvram.c optional sfxge pci 3533c838a9fSAndrew Rybchenkodev/sfxge/sfxge_port.c optional sfxge pci 3543c838a9fSAndrew Rybchenkodev/sfxge/sfxge_rx.c optional sfxge pci 3553c838a9fSAndrew Rybchenkodev/sfxge/sfxge_tx.c optional sfxge pci 3561e66f787SSean Brunodev/smartpqi/smartpqi_cam.c optional smartpqi 3571e66f787SSean Brunodev/smartpqi/smartpqi_cmd.c optional smartpqi 3581e66f787SSean Brunodev/smartpqi/smartpqi_discovery.c optional smartpqi 3591e66f787SSean Brunodev/smartpqi/smartpqi_event.c optional smartpqi 3607ea28254SJohn Halldev/smartpqi/smartpqi_features.c optional smartpqi 3611e66f787SSean Brunodev/smartpqi/smartpqi_helper.c optional smartpqi 3621e66f787SSean Brunodev/smartpqi/smartpqi_init.c optional smartpqi 3631e66f787SSean Brunodev/smartpqi/smartpqi_intr.c optional smartpqi 3641e66f787SSean Brunodev/smartpqi/smartpqi_ioctl.c optional smartpqi 3651e66f787SSean Brunodev/smartpqi/smartpqi_main.c optional smartpqi 3661e66f787SSean Brunodev/smartpqi/smartpqi_mem.c optional smartpqi 3671e66f787SSean Brunodev/smartpqi/smartpqi_misc.c optional smartpqi 3681e66f787SSean Brunodev/smartpqi/smartpqi_queue.c optional smartpqi 3691e66f787SSean Brunodev/smartpqi/smartpqi_request.c optional smartpqi 3701e66f787SSean Brunodev/smartpqi/smartpqi_response.c optional smartpqi 3711e66f787SSean Brunodev/smartpqi/smartpqi_sis.c optional smartpqi 3721e66f787SSean Brunodev/smartpqi/smartpqi_tag.c optional smartpqi 373bd368728SMarko Zecdev/sume/if_sume.c optional sume 3740d2a2989SPeter Wemmdev/syscons/apm/apm_saver.c optional apm_saver apm 375f6d5b31fSDimitry Andricdev/tpm/tpm_crb.c optional tpm acpi 376cbf4dac6SNorikatsu Shigemuradev/tpm/tpm_acpi.c optional tpm acpi 377cbf4dac6SNorikatsu Shigemuradev/tpm/tpm_isa.c optional tpm isa 3783706af42SArnaud Ysmaldev/p2sb/p2sb.c optional p2sb pci 3793706af42SArnaud Ysmaldev/p2sb/lewisburg_gpiocm.c optional lbggpiocm p2sb 3803706af42SArnaud Ysmaldev/p2sb/lewisburg_gpio.c optional lbggpio lbggpiocm 3814d6bcc83SPeter Wemmkern/link_elf_obj.c standard 3820d2a2989SPeter Wemm# 3830d2a2989SPeter Wemm# IA32 binary support 3840d2a2989SPeter Wemm# 385841c0c7eSNathan Whitehorn#amd64/ia32/ia32_exception.S optional compat_freebsd32 386841c0c7eSNathan Whitehornamd64/ia32/ia32_reg.c optional compat_freebsd32 387841c0c7eSNathan Whitehornamd64/ia32/ia32_signal.c optional compat_freebsd32 388841c0c7eSNathan Whitehornamd64/ia32/ia32_syscall.c optional compat_freebsd32 389841c0c7eSNathan Whitehornamd64/ia32/ia32_misc.c optional compat_freebsd32 390841c0c7eSNathan Whitehorncompat/ia32/ia32_sysvec.c optional compat_freebsd32 39189c40e5fSAlexander Kabaev# 39259023e6cSJung-uk Kim# x86 real mode BIOS emulator, required by dpms/pci/vesa 3932f66eb1eSXin LI# 39459023e6cSJung-uk Kimcompat/x86bios/x86bios.c optional x86bios | dpms | pci | vesa 39559023e6cSJung-uk Kimcontrib/x86emu/x86emu.c optional x86bios | dpms | pci | vesa 396286b4bedSWarner Losh# Common files where we currently configure the system differently, but perhaps shouldn't 397286b4bedSWarner Losh# config(8) doesn't have a way to force standard options, so we've been inconsistent 398286b4bedSWarner Losh# about marking non-optional things 'standard'. 39913e25cb7SJohn Baldwinx86/acpica/madt.c optional acpi 40032580301SAttilio Raox86/isa/atpic.c optional atpic isa 401ad47abd2SJohn Baldwinx86/isa/elcr.c optional atpic isa | mptable 40232580301SAttilio Raox86/isa/isa.c standard 40332580301SAttilio Raox86/isa/isa_dma.c standard 4046bc6a542SKonstantin Belousovx86/pci/pci_early_quirks.c optional pci 40553a908cbSJohn Baldwinx86/x86/io_apic.c standard 40653a908cbSJohn Baldwinx86/x86/local_apic.c standard 407a3da9792SAttilio Raox86/x86/mptable.c optional mptable 408a3da9792SAttilio Raox86/x86/mptable_pci.c optional mptable pci 409b9cd2f77SJohn Baldwinx86/x86/msi.c optional pci 4101a9cdd37SRoger Pau Monnéx86/xen/pv.c optional xenhvm 4119e5787d2SMatt Macy 4122a58b312SMartin Matuska# zfs blake3 hash support 413d1aefbc0SMartin Matuskacontrib/openzfs/module/icp/asm-x86_64/blake3/blake3_avx2.S optional zfs compile-with "${ZFS_S}" 414d1aefbc0SMartin Matuskacontrib/openzfs/module/icp/asm-x86_64/blake3/blake3_avx512.S optional zfs compile-with "${ZFS_S}" 415d1aefbc0SMartin Matuskacontrib/openzfs/module/icp/asm-x86_64/blake3/blake3_sse2.S optional zfs compile-with "${ZFS_S}" 416d1aefbc0SMartin Matuskacontrib/openzfs/module/icp/asm-x86_64/blake3/blake3_sse41.S optional zfs compile-with "${ZFS_S}" 417d1aefbc0SMartin Matuska 4182a58b312SMartin Matuska# zfs sha2 hash support 4192a58b312SMartin Matuskazfs-sha256-x86_64.o optional zfs \ 4202a58b312SMartin Matuska dependency "$S/contrib/openzfs/module/icp/asm-x86_64/sha2/sha256-x86_64.S" \ 4212a58b312SMartin Matuska compile-with "${CC} -c ${ZFS_ASM_CFLAGS} -o ${.TARGET} ${WERROR} $S/contrib/openzfs/module/icp/asm-x86_64/sha2/sha256-x86_64.S" \ 4222a58b312SMartin Matuska no-implicit-rule \ 4232a58b312SMartin Matuska clean "zfs-sha256-x86_64.o" 4242a58b312SMartin Matuska 4252a58b312SMartin Matuskazfs-sha512-x86_64.o optional zfs \ 4262a58b312SMartin Matuska dependency "$S/contrib/openzfs/module/icp/asm-x86_64/sha2/sha512-x86_64.S" \ 4272a58b312SMartin Matuska compile-with "${CC} -c ${ZFS_ASM_CFLAGS} -o ${.TARGET} ${WERROR} $S/contrib/openzfs/module/icp/asm-x86_64/sha2/sha512-x86_64.S" \ 4282a58b312SMartin Matuska no-implicit-rule \ 4292a58b312SMartin Matuska clean "zfs-sha512-x86_64.o" 4302a58b312SMartin Matuska 4312a58b312SMartin Matuska# zfs checksums / zcommon 4329e5787d2SMatt Macycontrib/openzfs/module/zcommon/zfs_fletcher_avx512.c optional zfs compile-with "${ZFS_C}" 4339e5787d2SMatt Macycontrib/openzfs/module/zcommon/zfs_fletcher_intel.c optional zfs compile-with "${ZFS_C}" 4349e5787d2SMatt Macycontrib/openzfs/module/zcommon/zfs_fletcher_sse.c optional zfs compile-with "${ZFS_C}" 4359e5787d2SMatt Macy 4369e5787d2SMatt Macycontrib/openzfs/module/zfs/vdev_raidz_math_avx2.c optional zfs compile-with "${ZFS_C}" 4379e5787d2SMatt Macycontrib/openzfs/module/zfs/vdev_raidz_math_avx512bw.c optional zfs compile-with "${ZFS_C}" 4389e5787d2SMatt Macycontrib/openzfs/module/zfs/vdev_raidz_math_avx512f.c optional zfs compile-with "${ZFS_C}" 4399e5787d2SMatt Macycontrib/openzfs/module/zfs/vdev_raidz_math_sse2.c optional zfs compile-with "${ZFS_C}" 4409e5787d2SMatt Macycontrib/openzfs/module/zfs/vdev_raidz_math_ssse3.c optional zfs compile-with "${ZFS_C}" 441c2705ceaSColin Percival# Clock calibration subroutine; uses floating-point arithmetic 442c2705ceaSColin Percivalsubr_clockcalib.o standard \ 443c2705ceaSColin Percival dependency "$S/kern/subr_clockcalib.c" \ 444c2705ceaSColin Percival compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} -mmmx -msse -msse2 ${.IMPSRC}" \ 445c2705ceaSColin Percival no-implicit-rule \ 446c2705ceaSColin Percival clean "subr_clockcalib.o" 447