1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright(c) 2007-2022 Intel Corporation 3# $FreeBSD$ 4.PATH: ${SRCTOP}/sys/dev/qat/qat_hw 5 6KMOD= qat_hw 7SRCS+= qat_c62x/adf_c62x_hw_data.c qat_c62x/adf_drv.c 8SRCS+= qat_200xx/adf_200xx_hw_data.c qat_200xx/adf_drv.c 9SRCS+= qat_4xxx/adf_4xxx_hw_data.c qat_4xxx/adf_drv.c 10SRCS+= qat_4xxxvf/adf_4xxxvf_hw_data.c qat_4xxxvf/adf_drv.c 11SRCS+= qat_c3xxx/adf_c3xxx_hw_data.c qat_c3xxx/adf_drv.c 12SRCS+= qat_dh895xcc/adf_dh895xcc_hw_data.c qat_dh895xcc/adf_drv.c 13SRCS+= qat_c4xxx/adf_c4xxx_hw_data.c qat_c4xxx/adf_drv.c qat_c4xxx/adf_c4xxx_ae_config.c qat_c4xxx/adf_c4xxx_misc_error_stats.c 14SRCS+= qat_c4xxx/adf_c4xxx_pke_replay_stats.c qat_c4xxx/adf_c4xxx_ras.c qat_c4xxx/adf_c4xxx_res_part.c 15SRCS+= qat_c4xxx/adf_c4xxx_reset.c 16SRCS+= device_if.h bus_if.h vnode_if.h pci_if.h cryptodev_if.h 17 18CFLAGS+= ${LINUXKPI_INCLUDES} 19CFLAGS+= -I${SRCTOP}/sys/dev/qat/include 20CFLAGS+= -I${SRCTOP}/sys/dev/qat/include/common 21CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/include 22CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/common/include 23CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/include/lac 24CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/qat_utils/include 25CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/qat_direct/include 26CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/firmware/include 27CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/common/crypto/sym/include 28 29.include <bsd.kmod.mk> 30