i40iw: Kconfig and Makefile for iwarp module
authorFaisal Latif <faisal.latif@intel.com>
Wed, 20 Jan 2016 19:40:15 +0000 (13:40 -0600)
committerDoug Ledford <dledford@redhat.com>
Wed, 16 Mar 2016 17:50:54 +0000 (13:50 -0400)
Kconfig and Makefile needed to build iwarp module.

Changes since v2:
moved from Kbuild to Makefile

Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/Kconfig [new file with mode: 0644]
drivers/infiniband/hw/i40iw/Makefile [new file with mode: 0644]

diff --git a/drivers/infiniband/hw/i40iw/Kconfig b/drivers/infiniband/hw/i40iw/Kconfig
new file mode 100644 (file)
index 0000000..6e7d27a
--- /dev/null
@@ -0,0 +1,7 @@
+config INFINIBAND_I40IW
+       tristate "Intel(R) Ethernet X722 iWARP Driver"
+       depends on INET && I40E
+       select GENERIC_ALLOCATOR
+       ---help---
+       Intel(R) Ethernet X722 iWARP Driver
+       INET && I40IW && INFINIBAND && I40E
diff --git a/drivers/infiniband/hw/i40iw/Makefile b/drivers/infiniband/hw/i40iw/Makefile
new file mode 100644 (file)
index 0000000..90068c0
--- /dev/null
@@ -0,0 +1,9 @@
+ccflags-y :=  -Idrivers/net/ethernet/intel/i40e
+
+obj-$(CONFIG_INFINIBAND_I40IW) += i40iw.o
+
+i40iw-objs :=\
+               i40iw_cm.o i40iw_ctrl.o \
+               i40iw_hmc.o i40iw_hw.o i40iw_main.o  \
+               i40iw_pble.o i40iw_puda.o i40iw_uk.o i40iw_utils.o \
+               i40iw_verbs.o i40iw_virtchnl.o i40iw_vf.o