mirror of
https://github.com/opnsense/src.git
synced 2026-07-16 04:22:59 -04:00
Intel 40G Ethernet Controller XL710 Family. This is the core driver, a VF driver called i40evf, will be following soon. Questions or comments to myself or my co-developer Eric Joyner. Cheers!
35 lines
709 B
Makefile
Executable file
35 lines
709 B
Makefile
Executable file
#$FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.PATH: ${.CURDIR}/../../dev/i40e
|
|
|
|
KMOD = if_i40e
|
|
SRCS = device_if.h bus_if.h pci_if.h opt_bdg.h
|
|
SRCS += if_i40e.c i40e_txrx.c i40e_osdep.c
|
|
|
|
# Shared source
|
|
SRCS += i40e_common.c i40e_nvm.c i40e_adminq.c i40e_lan_hmc.c i40e_hmc.c
|
|
|
|
CFLAGS += -DSMP -DFORTVILLE_HW
|
|
|
|
# Add Flow Director support
|
|
# CFLAGS += -DI40E_FDIR
|
|
# A0 hardware support
|
|
# CFLAGS += -DFORTVILLE_A0_SUPPORT
|
|
# Debug messages / sysctls
|
|
# CFLAGS += -DI40E_DEBUG
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
.if ${MK_INET_SUPPORT} != "no"
|
|
opt_inet.h:
|
|
@echo "#define INET 1" > ${.TARGET}
|
|
.endif
|
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
opt_inet6.h:
|
|
@echo "#define INET6 1" > ${.TARGET}
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|