1.PATH: ${SRCTOP}/sys/dev/ice 2 3KMOD = if_ice 4 5# Interface headers 6SRCS = device_if.h bus_if.h pci_if.h ifdi_if.h 7SRCS += irdma_di_if.h irdma_if.h 8 9# Option headers 10SRCS += opt_inet.h opt_inet6.h opt_rss.h opt_iflib.h 11 12# Core source 13SRCS += ice_lib.c ice_osdep.c ice_resmgr.c ice_strings.c 14SRCS += ice_iflib_recovery_txrx.c ice_iflib_txrx.c if_ice_iflib.c 15SRCS += ice_fw_logging.c ice_ddp_common.c 16SRCS.PCI_IOV += pci_iov_if.h ice_iov.c ice_vf_mbx.c 17 18# RDMA Client interface 19# TODO: Is this the right way to compile this? 20SRCS += ice_rdma.c irdma_di_if.c irdma_if.c 21CFLAGS.irdma_di_if.c += -I${SRCTOP}/sys/dev/ice 22CFLAGS.irdma_if.c += -I${SRCTOP}/sys/dev/ice 23 24# Shared source 25SRCS += ice_common.c ice_controlq.c ice_dcb.c ice_flex_pipe.c ice_flow.c 26SRCS += ice_nvm.c ice_sched.c ice_switch.c ice_vlan_mode.c ice_fwlog.c 27 28.include <bsd.kmod.mk> 29