Skip to contentSkip to conversation

linux-iscsi driver

RFC PATCH In review Mike Christie 1 participant 1 message Jan 10, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/10 linux-iscsi driver

Add Makefile and Kconfig

drivers/scsi/iscsi-sfnet/Kconfig +25 -0
diff -Naurp scsi-misc-2.6.orig/drivers/scsi/iscsi-sfnet/Kconfig scsi-misc-2.6.test/drivers/scsi/iscsi-sfnet/Kconfig
@@ -0,0 +1,25 @@
+config SCSI_ISCSI_SFNET
+	tristate "Software iSCSI support"
+	depends on SCSI && INET
+	select SCSI_ISCSI_ATTRS
+	select CRYPTO
+	select CRYPTO_MD5
+	select CRYPTO_CRC32C
+	---help---
+	To compile this driver as a module, choose M here: the
+	module will be called iscsi_sfnet.
+
+	The iSCSI Driver provides a host with the ability to access
+	storage through an IP network. The driver uses the iSCSI
+	protocol to transport SCSI requests and responses over an IP
+	network between the host (the "initiator") and "targets".
+	Architecturally, the iSCSI driver combines with the host's
+	TCP/IP stack, network drivers, and Network Interface Card
+	(NIC) to provide the same functions as a SCSI or a Fibre
+	Channel (FC) adapter driver with a Host Bus Adapter (HBA).
+
+	The userspace component needed to initialize the driver,
+	documentation, and sample configuration files can be found
+	here:
+
+	http://linux-iscsi.sourceforge.net
drivers/scsi/iscsi-sfnet/Makefile +16 -0
diff -Naurp scsi-misc-2.6.orig/drivers/scsi/iscsi-sfnet/Makefile scsi-misc-2.6.test/drivers/scsi/iscsi-sfnet/Makefile
@@ -0,0 +1,16 @@
+#
+# Makefile for Software iSCSI driver
+#
+obj-$(CONFIG_SCSI_ISCSI_SFNET)	+= 	iscsi_sfnet.o
+iscsi_sfnet-objs		:=	iscsi-initiator.o
+iscsi_sfnet-objs		+= 	iscsi-attr.o \
+					iscsi-session.o \
+					iscsi-task.o \
+					iscsi-portal.o \
+					iscsi-ioctl.o \
+					iscsi-network.o \
+					iscsi-recv-pdu.o \
+					iscsi-xmit-pdu.o \
+					iscsi-auth.o \
+					iscsi-login.o \
+					iscsi-auth-client.o
drivers/scsi/Kconfig +2 -0
diff -Naurp scsi-misc-2.6.orig/drivers/scsi/Kconfig scsi-misc-2.6.test/drivers/scsi/Kconfig
@@ -854,6 +854,8 @@ config SCSI_PPA
 	  To compile this driver as a module, choose M here: the
 	  module will be called ppa.
 
+source "drivers/scsi/iscsi-sfnet/Kconfig"
+
 config SCSI_IMM
 	tristate "IOMEGA parallel port (imm - newer drives)"
 	depends on SCSI && PARPORT
drivers/scsi/Makefile +1 -0
diff -Naurp scsi-misc-2.6.orig/drivers/scsi/Makefile scsi-misc-2.6.test/drivers/scsi/Makefile
@@ -132,6 +132,7 @@ obj-$(CONFIG_SCSI_SATA_SIS)	+= libata.o 
 obj-$(CONFIG_SCSI_SATA_SX4)	+= libata.o sata_sx4.o
 obj-$(CONFIG_SCSI_SATA_NV)	+= libata.o sata_nv.o
 obj-$(CONFIG_SCSI_SATA_ULI)	+= libata.o sata_uli.o
+obj-$(CONFIG_SCSI_ISCSI_SFNET)	+= iscsi-sfnet/
 
 obj-$(CONFIG_ARM)		+= arm/