diff mbox

[09/10] enable mlx4_fc, mlx4_fcoib in scsi Kconfig, makefile

Message ID 4C5C91ED.8090803@mellanox.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Vu Pham Aug. 6, 2010, 10:51 p.m. UTC
None
diff mbox

Patch

Enable mlx4_fc (fcoe/fcoib offload driver) and mlx4_fcoib (discovery driver)
entries in scsi/Kconfig and Makefile

Signed-off-by: Vu Pham <vu@mellanx.com>

--- a/drivers/scsi/Makefile	2010-06-28 11:16:37.000000000 -0700
+++ a/drivers/scsi/Makefile	2010-05-12 09:31:15.000000000 -0700
@@ -40,6 +40,8 @@ 
 obj-$(CONFIG_LIBFCOE)		+= fcoe/
 obj-$(CONFIG_FCOE)		+= fcoe/
 obj-$(CONFIG_FCOE_FNIC)		+= fnic/
+obj-$(CONFIG_MLX4_FC)		+= mlx4_fc/
+obj-$(CONFIG_MLX4_FCOIB)	+= mlx4_fc/
 obj-$(CONFIG_ISCSI_TCP) 	+= libiscsi.o	libiscsi_tcp.o iscsi_tcp.o
 obj-$(CONFIG_INFINIBAND_ISER) 	+= libiscsi.o
 obj-$(CONFIG_SCSI_A4000T)	+= 53c700.o	a4000t.o
 
--- a/drivers/scsi/Kconfig	2010-06-28 11:16:37.000000000 -0700
+++ a/drivers/scsi/Kconfig	2010-05-12 09:36:56.000000000 -0700
@@ -687,6 +687,20 @@ 
 	  <file:Documentation/scsi/scsi.txt>.
 	  The module will be called fnic.
 
+config MLX4_FC
+	tristate "Mellanox FC module"
+	select LIBFC
+	select LIBFCOE
+	---help---
+	Mellanox Fibre Channel over Ethernet/Infiniband module
+
+config MLX4_FCOIB
+	tristate "Mellanox FCoIB discovery module"
+	depends on INFINIBAND
+	select MLX4_FC
+	---help---
+	Fibre Channel over Infiniband discovery module
+
 config SCSI_DMX3191D
 	tristate "DMX3191D SCSI support"
 	depends on PCI && SCSI