Kconfig and Makefile for iSER.
Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
 
 source "drivers/infiniband/ulp/srp/Kconfig"
 
+source "drivers/infiniband/ulp/iser/Kconfig"
+
 endmenu
 
 obj-$(CONFIG_IPATH_CORE)               += hw/ipath/
 obj-$(CONFIG_INFINIBAND_IPOIB)         += ulp/ipoib/
 obj-$(CONFIG_INFINIBAND_SRP)           += ulp/srp/
+obj-$(CONFIG_INFINIBAND_ISER)          += ulp/iser/
 
--- /dev/null
+config INFINIBAND_ISER
+       tristate "ISCSI RDMA Protocol"
+       depends on INFINIBAND && SCSI
+       select SCSI_ISCSI_ATTRS
+       ---help---
+         Support for the ISCSI RDMA Protocol over InfiniBand.  This
+         allows you to access storage devices that speak ISER/ISCSI
+         over InfiniBand.
+
+         The ISER protocol is defined by IETF.
+         See <http://www.ietf.org/>.
 
--- /dev/null
+obj-$(CONFIG_INFINIBAND_ISER)  += ib_iser.o
+
+ib_iser-y                      := iser_verbs.o iser_initiator.o iser_memory.o \
+                                  iscsi_iser.o
 
 obj-$(CONFIG_SCSI_SAS_ATTRS)   += scsi_transport_sas.o
 
 obj-$(CONFIG_ISCSI_TCP)        += libiscsi.o   iscsi_tcp.o
+obj-$(CONFIG_INFINIBAND_ISER)  += libiscsi.o
 obj-$(CONFIG_SCSI_AMIGA7XX)    += amiga7xx.o   53c7xx.o
 obj-$(CONFIG_A3000_SCSI)       += a3000.o      wd33c93.o
 obj-$(CONFIG_A2091_SCSI)       += a2091.o      wd33c93.o