1# This file tells config what files go into building a kernel, 2# files marked standard are always included. 3# 4# 5# This file contains all the x86 devices and such that are 6# common between i386 and amd64, but aren't applicable to 7# any other architecture we support. 8# 9 10# The long compile-with and dependency lines are required because of 11# limitations in config: backslash-newline doesn't work in strings, and 12# dependency lines other than the first are silently ignored. 13 14# 15atkbdmap.h optional atkbd_dflt_keymap \ 16 compile-with "${KEYMAP} -L ${ATKBD_DFLT_KEYMAP} | ${KEYMAP_FIX} > ${.TARGET}" \ 17 no-obj no-implicit-rule before-depend \ 18 clean "atkbdmap.h" 19cddl/dev/fbt/x86/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}" 20cddl/dev/dtrace/x86/dis_tables.c optional dtrace_fbt | dtraceall compile-with "${DTRACE_C}" 21cddl/dev/dtrace/x86/instr_size.c optional dtrace_fbt | dtraceall compile-with "${DTRACE_C}" 22crypto/aesni/aesni.c optional aesni 23aesni_ghash.o optional aesni \ 24 dependency "$S/crypto/aesni/aesni_ghash.c" \ 25 compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${NO_WCAST_QUAL} -mmmx -msse -msse4 -maes -mpclmul ${.IMPSRC}" \ 26 no-implicit-rule \ 27 clean "aesni_ghash.o" 28aesni_ccm.o optional aesni \ 29 dependency "$S/crypto/aesni/aesni_ccm.c" \ 30 compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${NO_WCAST_QUAL} -mmmx -msse -msse4 -maes -mpclmul ${.IMPSRC}" \ 31 no-implicit-rule \ 32 clean "aesni_ccm.o" 33aesni_wrap.o optional aesni \ 34 dependency "$S/crypto/aesni/aesni_wrap.c" \ 35 compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${NO_WCAST_QUAL} -mmmx -msse -msse4 -maes ${.IMPSRC}" \ 36 no-implicit-rule \ 37 clean "aesni_wrap.o" 38intel_sha1.o optional aesni \ 39 dependency "$S/crypto/aesni/intel_sha1.c" \ 40 compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} -mmmx -msse -msse4 -msha ${.IMPSRC}" \ 41 no-implicit-rule \ 42 clean "intel_sha1.o" 43intel_sha256.o optional aesni \ 44 dependency "$S/crypto/aesni/intel_sha256.c" \ 45 compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} -mmmx -msse -msse4 -msha ${.IMPSRC}" \ 46 no-implicit-rule \ 47 clean "intel_sha256.o" 48crypto/openssl/ossl_x86.c optional ossl 49crypto/via/padlock.c optional padlock 50crypto/via/padlock_cipher.c optional padlock 51crypto/via/padlock_hash.c optional padlock 52dev/acpica/acpi_hpet.c optional acpi 53dev/acpica/acpi_if.m standard 54dev/acpica/acpi_pci.c optional acpi pci 55dev/acpica/acpi_pci_link.c optional acpi pci 56dev/acpica/acpi_pcib.c optional acpi pci 57dev/acpica/acpi_pcib_acpi.c optional acpi pci 58dev/acpica/acpi_pcib_pci.c optional acpi pci 59dev/acpica/acpi_pxm.c optional acpi 60dev/acpica/acpi_timer.c optional acpi 61dev/acpi_support/acpi_wmi_if.m standard 62dev/agp/agp_amd64.c optional agp 63dev/agp/agp_i810.c optional agp 64dev/agp/agp_via.c optional agp 65dev/amdsbwd/amdsbwd.c optional amdsbwd 66dev/amdsmn/amdsmn.c optional amdsmn | amdtemp 67dev/amdtemp/amdtemp.c optional amdtemp 68dev/arcmsr/arcmsr.c optional arcmsr pci 69dev/asmc/asmc.c optional asmc isa 70dev/atkbdc/atkbd.c optional atkbd atkbdc 71dev/atkbdc/atkbd_atkbdc.c optional atkbd atkbdc 72dev/atkbdc/atkbdc.c optional atkbdc 73dev/atkbdc/atkbdc_isa.c optional atkbdc isa 74dev/atkbdc/atkbdc_subr.c optional atkbdc 75dev/atkbdc/psm.c optional psm atkbdc 76dev/atopcase/atopcase.c optional atopcase acpi hid spibus 77dev/atopcase/atopcase_acpi.c optional atopcase acpi hid spibus 78dev/bxe/bxe.c optional bxe pci 79dev/bxe/bxe_stats.c optional bxe pci 80dev/bxe/bxe_debug.c optional bxe pci 81dev/bxe/ecore_sp.c optional bxe pci 82dev/bxe/bxe_elink.c optional bxe pci 83dev/bxe/57710_init_values.c optional bxe pci 84dev/bxe/57711_init_values.c optional bxe pci 85dev/bxe/57712_init_values.c optional bxe pci 86dev/coretemp/coretemp.c optional coretemp 87dev/cpuctl/cpuctl.c optional cpuctl 88dev/dpms/dpms.c optional dpms 89dev/fb/fb.c optional fb | vga 90dev/fb/s3_pci.c optional s3pci 91dev/fb/vesa.c optional vga vesa 92dev/fb/vga.c optional vga 93dev/fdc/fdc.c optional fdc 94dev/fdc/fdc_acpi.c optional fdc 95dev/fdc/fdc_isa.c optional fdc isa 96dev/gpio/bytgpio.c optional bytgpio 97dev/gpio/chvgpio.c optional chvgpio 98dev/hpt27xx/hpt27xx_os_bsd.c optional hpt27xx 99dev/hpt27xx/hpt27xx_osm_bsd.c optional hpt27xx 100dev/hpt27xx/hpt27xx_config.c optional hpt27xx 101dev/hpt27xx/$M-elf.hpt27xx_lib.o optional hpt27xx 102dev/hptmv/entry.c optional hptmv 103dev/hptmv/mv.c optional hptmv 104dev/hptmv/gui_lib.c optional hptmv 105dev/hptmv/hptproc.c optional hptmv 106dev/hptmv/ioctl.c optional hptmv 107dev/hptmv/$M-elf.hptmvraid.o optional hptmv 108dev/hptnr/hptnr_os_bsd.c optional hptnr 109dev/hptnr/hptnr_osm_bsd.c optional hptnr 110dev/hptnr/hptnr_config.c optional hptnr 111dev/hptnr/$M-elf.hptnr_lib.o optional hptnr 112dev/hptrr/hptrr_os_bsd.c optional hptrr 113dev/hptrr/hptrr_osm_bsd.c optional hptrr 114dev/hptrr/hptrr_config.c optional hptrr 115dev/hptrr/$M-elf.hptrr_lib.o optional hptrr 116dev/hwpmc/hwpmc_amd.c optional hwpmc 117dev/hwpmc/hwpmc_intel.c optional hwpmc 118dev/hwpmc/hwpmc_core.c optional hwpmc 119dev/hwpmc/hwpmc_uncore.c optional hwpmc 120dev/hwpmc/hwpmc_tsc.c optional hwpmc 121dev/hwpmc/hwpmc_x86.c optional hwpmc 122dev/hyperv/hvsock/hv_sock.c optional hyperv 123dev/hyperv/input/hv_hid.c optional hyperv hvhid 124dev/hyperv/input/hv_kbd.c optional hyperv 125dev/hyperv/input/hv_kbdc.c optional hyperv 126dev/hyperv/pcib/vmbus_pcib.c optional hyperv pci 127dev/hyperv/netvsc/hn_nvs.c optional hyperv 128dev/hyperv/netvsc/hn_rndis.c optional hyperv 129dev/hyperv/netvsc/if_hn.c optional hyperv 130dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c optional hyperv 131dev/hyperv/utilities/hv_kvp.c optional hyperv 132dev/hyperv/utilities/hv_snapshot.c optional hyperv 133dev/hyperv/utilities/vmbus_heartbeat.c optional hyperv 134dev/hyperv/utilities/vmbus_ic.c optional hyperv 135dev/hyperv/utilities/vmbus_shutdown.c optional hyperv 136dev/hyperv/utilities/vmbus_timesync.c optional hyperv 137dev/hyperv/vmbus/hyperv.c optional hyperv 138dev/hyperv/vmbus/x86/hyperv_x86.c optional hyperv 139dev/hyperv/vmbus/x86/vmbus_x86.c optional hyperv 140dev/hyperv/vmbus/hyperv_busdma.c optional hyperv 141dev/hyperv/vmbus/vmbus.c optional hyperv pci 142dev/hyperv/vmbus/vmbus_br.c optional hyperv 143dev/hyperv/vmbus/vmbus_chan.c optional hyperv 144dev/hyperv/vmbus/vmbus_et.c optional hyperv 145dev/hyperv/vmbus/vmbus_if.m optional hyperv 146dev/hyperv/vmbus/vmbus_res.c optional hyperv 147dev/hyperv/vmbus/vmbus_xact.c optional hyperv 148dev/ichwd/ichwd.c optional ichwd 149dev/imcsmb/imcsmb.c optional imcsmb 150dev/imcsmb/imcsmb_pci.c optional imcsmb pci 151dev/intel/pchtherm.c optional pchtherm 152dev/intel/spi.c optional intelspi 153dev/intel/spi_pci.c optional intelspi pci 154dev/intel/spi_acpi.c optional intelspi acpi 155dev/io/iodev.c optional io 156dev/iommu/busdma_iommu.c optional acpi iommu pci 157dev/iommu/iommu_gas.c optional acpi iommu pci 158dev/ipmi/ipmi.c optional ipmi 159dev/ipmi/ipmi_acpi.c optional ipmi acpi 160dev/ipmi/ipmi_bt.c optional ipmi 161dev/ipmi/ipmi_isa.c optional ipmi isa 162dev/ipmi/ipmi_kcs.c optional ipmi 163dev/ipmi/ipmi_pci.c optional ipmi pci 164dev/ipmi/ipmi_smbios.c optional ipmi 165dev/ipmi/ipmi_smbus.c optional ipmi smbus 166dev/ipmi/ipmi_smic.c optional ipmi 167dev/ipmi/ipmi_ssif.c optional ipmi smbus 168dev/isci/isci.c optional isci \ 169 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 170dev/isci/isci_controller.c optional isci 171dev/isci/isci_domain.c optional isci 172dev/isci/isci_interrupt.c optional isci 173dev/isci/isci_io_request.c optional isci 174dev/isci/isci_logger.c optional isci 175dev/isci/isci_oem_parameters.c optional isci 176dev/isci/isci_remote_device.c optional isci 177dev/isci/isci_sysctl.c optional isci 178dev/isci/isci_task_request.c optional isci 179dev/isci/isci_timer.c optional isci 180dev/isci/scil/sati.c optional isci 181dev/isci/scil/sati_abort_task_set.c optional isci 182dev/isci/scil/sati_atapi.c optional isci 183dev/isci/scil/sati_device.c optional isci 184dev/isci/scil/sati_inquiry.c optional isci 185dev/isci/scil/sati_log_sense.c optional isci 186dev/isci/scil/sati_lun_reset.c optional isci 187dev/isci/scil/sati_mode_pages.c optional isci 188dev/isci/scil/sati_mode_select.c optional isci \ 189 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 190dev/isci/scil/sati_mode_sense.c optional isci 191dev/isci/scil/sati_mode_sense_10.c optional isci 192dev/isci/scil/sati_mode_sense_6.c optional isci 193dev/isci/scil/sati_move.c optional isci 194dev/isci/scil/sati_passthrough.c optional isci \ 195 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 196dev/isci/scil/sati_read.c optional isci 197dev/isci/scil/sati_read_buffer.c optional isci 198dev/isci/scil/sati_read_capacity.c optional isci 199dev/isci/scil/sati_reassign_blocks.c optional isci \ 200 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 201dev/isci/scil/sati_report_luns.c optional isci 202dev/isci/scil/sati_request_sense.c optional isci 203dev/isci/scil/sati_start_stop_unit.c optional isci 204dev/isci/scil/sati_synchronize_cache.c optional isci 205dev/isci/scil/sati_test_unit_ready.c optional isci 206dev/isci/scil/sati_unmap.c optional isci \ 207 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 208dev/isci/scil/sati_util.c optional isci 209dev/isci/scil/sati_verify.c optional isci 210dev/isci/scil/sati_write.c optional isci 211dev/isci/scil/sati_write_and_verify.c optional isci 212dev/isci/scil/sati_write_buffer.c optional isci 213dev/isci/scil/sati_write_long.c optional isci 214dev/isci/scil/sci_abstract_list.c optional isci 215dev/isci/scil/sci_base_controller.c optional isci 216dev/isci/scil/sci_base_domain.c optional isci 217dev/isci/scil/sci_base_iterator.c optional isci 218dev/isci/scil/sci_base_library.c optional isci 219dev/isci/scil/sci_base_logger.c optional isci 220dev/isci/scil/sci_base_memory_descriptor_list.c optional isci 221dev/isci/scil/sci_base_memory_descriptor_list_decorator.c optional isci 222dev/isci/scil/sci_base_object.c optional isci 223dev/isci/scil/sci_base_observer.c optional isci 224dev/isci/scil/sci_base_phy.c optional isci 225dev/isci/scil/sci_base_port.c optional isci 226dev/isci/scil/sci_base_remote_device.c optional isci 227dev/isci/scil/sci_base_request.c optional isci 228dev/isci/scil/sci_base_state_machine.c optional isci 229dev/isci/scil/sci_base_state_machine_logger.c optional isci 230dev/isci/scil/sci_base_state_machine_observer.c optional isci 231dev/isci/scil/sci_base_subject.c optional isci 232dev/isci/scil/sci_util.c optional isci 233dev/isci/scil/scic_sds_controller.c optional isci \ 234 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 235dev/isci/scil/scic_sds_library.c optional isci 236dev/isci/scil/scic_sds_pci.c optional isci 237dev/isci/scil/scic_sds_phy.c optional isci \ 238 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 239dev/isci/scil/scic_sds_port.c optional isci 240dev/isci/scil/scic_sds_port_configuration_agent.c optional isci 241dev/isci/scil/scic_sds_remote_device.c optional isci 242dev/isci/scil/scic_sds_remote_node_context.c optional isci 243dev/isci/scil/scic_sds_remote_node_table.c optional isci 244dev/isci/scil/scic_sds_request.c optional isci \ 245 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 246dev/isci/scil/scic_sds_sgpio.c optional isci 247dev/isci/scil/scic_sds_smp_remote_device.c optional isci 248dev/isci/scil/scic_sds_smp_request.c optional isci \ 249 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 250dev/isci/scil/scic_sds_ssp_request.c optional isci 251dev/isci/scil/scic_sds_stp_packet_request.c optional isci 252dev/isci/scil/scic_sds_stp_remote_device.c optional isci 253dev/isci/scil/scic_sds_stp_request.c optional isci \ 254 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 255dev/isci/scil/scic_sds_unsolicited_frame_control.c optional isci 256dev/isci/scil/scif_sas_controller.c optional isci \ 257 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 258dev/isci/scil/scif_sas_controller_state_handlers.c optional isci 259dev/isci/scil/scif_sas_controller_states.c optional isci 260dev/isci/scil/scif_sas_domain.c optional isci 261dev/isci/scil/scif_sas_domain_state_handlers.c optional isci \ 262 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 263dev/isci/scil/scif_sas_domain_states.c optional isci 264dev/isci/scil/scif_sas_high_priority_request_queue.c optional isci 265dev/isci/scil/scif_sas_internal_io_request.c optional isci 266dev/isci/scil/scif_sas_io_request.c optional isci 267dev/isci/scil/scif_sas_io_request_state_handlers.c optional isci 268dev/isci/scil/scif_sas_io_request_states.c optional isci 269dev/isci/scil/scif_sas_library.c optional isci 270dev/isci/scil/scif_sas_remote_device.c optional isci 271dev/isci/scil/scif_sas_remote_device_ready_substate_handlers.c optional isci 272dev/isci/scil/scif_sas_remote_device_ready_substates.c optional isci \ 273 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 274dev/isci/scil/scif_sas_remote_device_starting_substate_handlers.c optional isci 275dev/isci/scil/scif_sas_remote_device_starting_substates.c optional isci 276dev/isci/scil/scif_sas_remote_device_state_handlers.c optional isci 277dev/isci/scil/scif_sas_remote_device_states.c optional isci 278dev/isci/scil/scif_sas_request.c optional isci 279dev/isci/scil/scif_sas_smp_activity_clear_affiliation.c optional isci 280dev/isci/scil/scif_sas_smp_io_request.c optional isci 281dev/isci/scil/scif_sas_smp_phy.c optional isci 282dev/isci/scil/scif_sas_smp_remote_device.c optional isci \ 283 compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" 284dev/isci/scil/scif_sas_stp_io_request.c optional isci 285dev/isci/scil/scif_sas_stp_remote_device.c optional isci 286dev/isci/scil/scif_sas_stp_task_request.c optional isci 287dev/isci/scil/scif_sas_task_request.c optional isci 288dev/isci/scil/scif_sas_task_request_state_handlers.c optional isci 289dev/isci/scil/scif_sas_task_request_states.c optional isci 290dev/isci/scil/scif_sas_timer.c optional isci 291dev/itwd/itwd.c optional itwd 292dev/kvm_clock/kvm_clock.c optional kvm_clock 293dev/mana/gdma_main.c optional mana 294dev/mana/mana_en.c optional mana 295dev/mana/mana_sysctl.c optional mana 296dev/mana/shm_channel.c optional mana 297dev/mana/hw_channel.c optional mana 298dev/mana/gdma_util.c optional mana 299dev/nctgpio/nctgpio.c optional nctgpio 300dev/nfe/if_nfe.c optional nfe pci 301dev/ntb/if_ntb/if_ntb.c optional if_ntb 302dev/ntb/ntb_transport.c optional ntb_transport | if_ntb 303dev/ntb/ntb.c optional ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | ntb_hw 304dev/ntb/ntb_if.m optional ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | ntb_hw 305dev/ntb/ntb_hw/ntb_hw_amd.c optional ntb_hw_amd | ntb_hw 306dev/ntb/ntb_hw/ntb_hw_intel.c optional ntb_hw_intel | ntb_hw 307dev/ntb/ntb_hw/ntb_hw_plx.c optional ntb_hw_plx | ntb_hw 308dev/ntb/test/ntb_tool.c optional ntb_tool 309dev/nvram/nvram.c optional nvram isa 310dev/random/ivy.c optional rdrand_rng !random_loadable 311dev/random/nehemiah.c optional padlock_rng !random_loadable 312dev/qat_c2xxx/qat.c optional qat_c2xxx 313dev/qat_c2xxx/qat_ae.c optional qat_c2xxx 314dev/qat_c2xxx/qat_c2xxx.c optional qat_c2xxx 315dev/qat_c2xxx/qat_hw15.c optional qat_c2xxx 316dev/smbios/smbios_subr.c standard 317dev/speaker/spkr.c optional speaker 318dev/superio/superio.c optional superio isa 319dev/syscons/scvesactl.c optional sc vga vesa 320dev/syscons/scvgarndr.c optional sc vga 321dev/tpm/tpm.c optional tpm 322dev/tpm/tpm_acpi.c optional tpm acpi 323dev/tpm/tpm_isa.c optional tpm isa 324dev/uart/uart_cpu_x86.c optional uart 325dev/viawd/viawd.c optional viawd 326dev/vmd/vmd.c optional vmd | vmd_bus 327dev/wbwd/wbwd.c optional wbwd 328dev/wdatwd/wdatwd.c optional wdatwd 329isa/syscons_isa.c optional sc 330isa/vga_isa.c optional vga 331libkern/strcmp.c standard 332libkern/strncmp.c standard 333libkern/x86/crc32_sse42.c standard 334kern/imgact_aout.c optional compat_aout 335# 336# x86 shared code between IA32 and AMD64 architectures 337# 338x86/acpica/OsdEnvironment.c optional acpi 339x86/acpica/acpi_apm.c optional acpi 340x86/acpica/srat.c optional acpi 341x86/bios/vpd.c optional vpd 342x86/cpufreq/est.c optional cpufreq 343x86/cpufreq/hwpstate_amd.c optional cpufreq 344x86/cpufreq/hwpstate_intel.c optional cpufreq 345x86/cpufreq/p4tcc.c optional cpufreq 346x86/cpufreq/powernow.c optional cpufreq 347x86/iommu/intel_ctx.c optional acpi iommu pci 348x86/iommu/intel_drv.c optional acpi iommu pci 349x86/iommu/intel_fault.c optional acpi iommu pci 350x86/iommu/intel_idpgtbl.c optional acpi iommu pci 351x86/iommu/intel_intrmap.c optional acpi iommu pci 352x86/iommu/intel_qi.c optional acpi iommu pci 353x86/iommu/intel_quirks.c optional acpi iommu pci 354x86/iommu/intel_utils.c optional acpi iommu pci 355x86/iommu/iommu_utils.c optional acpi iommu pci 356x86/isa/atrtc.c standard 357x86/isa/clock.c standard 358x86/isa/isa.c optional isa 359x86/isa/isa_dma.c optional isa 360x86/isa/nmi.c standard 361x86/isa/orm.c optional isa 362x86/pci/pci_bus.c optional pci 363x86/pci/qpi.c optional pci 364x86/x86/autoconf.c standard 365x86/x86/bus_machdep.c standard 366x86/x86/busdma_bounce.c standard 367x86/x86/busdma_machdep.c standard 368x86/x86/cpu_machdep.c standard 369x86/x86/dbreg.c optional ddb | gdb 370x86/x86/dump_machdep.c standard 371x86/x86/fdt_machdep.c optional fdt 372x86/x86/identcpu.c standard 373x86/x86/intr_machdep.c standard 374x86/x86/legacy.c standard 375x86/x86/mca.c standard 376x86/x86/x86_mem.c optional mem 377x86/x86/mp_x86.c optional smp 378x86/x86/nexus.c standard 379x86/x86/pvclock.c optional kvm_clock | xenhvm 380x86/x86/sdt_machdep.c optional kdtrace_hooks 381x86/x86/stack_machdep.c optional ddb | stack 382x86/x86/tsc.c standard 383x86/x86/ucode.c standard 384x86/x86/ucode_subr.c standard 385x86/x86/vmware_guestrpc.c optional vmware_guestrpc 386x86/x86/delay.c standard 387x86/xen/hvm.c optional xenhvm 388x86/xen/xen_apic.c optional xenhvm smp 389x86/xen/xen_arch_intr.c optional xenhvm 390