diff options
author | jfv <jfv@FreeBSD.org> | 2014-08-25 22:04:29 +0000 |
---|---|---|
committer | jfv <jfv@FreeBSD.org> | 2014-08-25 22:04:29 +0000 |
commit | c988cfb907aeea93ac1dc1a10bfbc2221271281d (patch) | |
tree | 6fcf026ea614db21de0f732d9f7bbca7b03de800 /sys/modules/ixlv | |
parent | 4e198665c508b72fb221139ec91629bc98646b9c (diff) | |
download | FreeBSD-src-c988cfb907aeea93ac1dc1a10bfbc2221271281d.zip FreeBSD-src-c988cfb907aeea93ac1dc1a10bfbc2221271281d.tar.gz |
MFC of the Intel Base driver for the Intel XL710 Ethernet Controller Family
- It was decided to change the driver name to if_ixl for FreeBSD
- This release adds the VF Driver to the tree, it can be built into
the kernel or as the if_ixlv module
- The VF driver is independent for the first time, this will be
desireable when full SRIOV capability is added to the OS.
Submitted by: jack.vogel@intel.com and eric.joyner@intel.com
Diffstat (limited to 'sys/modules/ixlv')
-rwxr-xr-x | sys/modules/ixlv/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/modules/ixlv/Makefile b/sys/modules/ixlv/Makefile new file mode 100755 index 0000000..9cd55e6 --- /dev/null +++ b/sys/modules/ixlv/Makefile @@ -0,0 +1,34 @@ +#$FreeBSD$ + +.include <bsd.own.mk> + +.PATH: ${.CURDIR}/../../dev/ixl + +KMOD = if_ixlv +SRCS = device_if.h bus_if.h pci_if.h opt_bdg.h +SRCS += opt_inet.h opt_inet6.h +SRCS += if_ixlv.c ixlvc.c ixl_txrx.c i40e_osdep.c + +# Shared source +SRCS += i40e_common.c i40e_adminq.c i40e_lan_hmc.c i40e_hmc.c + +CFLAGS += -DSMP + +# Add Flow Director support +# CFLAGS += -DIXL_FDIR +# Debug messages / sysctls +# CFLAGS += -DIXL_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> |