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_c3xxx/adf_c3xxx_hw_data.c qat_c3xxx/adf_drv.c 11SRCS+= qat_dh895xcc/adf_dh895xcc_hw_data.c qat_dh895xcc/adf_drv.c 12SRCS+= 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 13SRCS+= qat_c4xxx/adf_c4xxx_pke_replay_stats.c qat_c4xxx/adf_c4xxx_ras.c qat_c4xxx/adf_c4xxx_res_part.c 14SRCS+= qat_c4xxx/adf_c4xxx_reset.c 15SRCS+= device_if.h bus_if.h vnode_if.h pci_if.h cryptodev_if.h 16 17CFLAGS+= ${LINUXKPI_INCLUDES} 18CFLAGS+= -I${SRCTOP}/sys/dev/qat/include 19CFLAGS+= -I${SRCTOP}/sys/dev/qat/include/common 20CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/include 21CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/common/include 22CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/include/lac 23CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/qat_utils/include 24CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/qat_direct/include 25CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/firmware/include 26CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/common/crypto/sym/include 27 28.include <bsd.kmod.mk> 29