1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright(c) 2007-2022 Intel Corporation 3.PATH: ${SRCTOP}/sys/dev/qat/qat_common 4 5KMOD= qat_common 6 7SRCS+= adf_accel_engine.c adf_freebsd_admin.c adf_aer.c adf_cfg.c qat_common_module.c 8SRCS+= adf_heartbeat.c adf_freebsd_heartbeat_dbg.c 9SRCS+= adf_freebsd_dev_processes.c adf_freebsd_uio.c adf_freebsd_uio_cleanup.c 10SRCS+= adf_ctl_drv.c adf_dev_mgr.c adf_hw_arbiter.c 11SRCS+= adf_init.c adf_transport.c adf_isr.c adf_fw_counters.c adf_dev_err.c 12SRCS+= adf_gen2_hw_data.c 13SRCS+= adf_gen4_hw_data.c 14SRCS+= qat_freebsd.c 15SRCS+= adf_freebsd_cfg_dev_dbg.c adf_freebsd_ver_dbg.c 16SRCS+= adf_cfg_device.c adf_cfg_section.c adf_cfg_instance.c adf_cfg_bundle.c adf_cfg_sysctl.c 17SRCS+= qat_hal.c qat_uclo.c 18SRCS+= adf_vf_isr.c 19SRCS+= adf_gen4_pfvf.c 20SRCS+= adf_gen4_timer.c 21SRCS+= adf_pfvf_utils.c adf_pfvf_vf_msg.c adf_pfvf_vf_proto.c 22SRCS+= adf_gen4vf_hw_csr_data.c 23SRCS+= adf_freebsd_transport_debug.c adf_clock.c 24SRCS+= adf_freebsd_cnvnr_ctrs_dbg.c 25SRCS+= adf_freebsd_pfvf_ctrs_dbg.c 26SRCS+= bus_if.h device_if.h pci_if.h vnode_if.h 27 28CFLAGS+= -I${SRCTOP}/sys/dev/qat/include 29CFLAGS+= -I${SRCTOP}/sys/dev/qat/include/common 30CFLAGS+= ${LINUXKPI_INCLUDES} 31 32.include <bsd.kmod.mk> 33