Enable iSCSI on UML, dunno why SCSI was deemed broken, it works like a charm.

Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]>
CC: Jeff Dike <[EMAIL PROTECTED]>
CC: Mike Christie <[EMAIL PROTECTED]>
---
 arch/um/Kconfig      |    2 +-
 arch/um/Kconfig.scsi |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletion(-)

Index: linux-2.6/arch/um/Kconfig
===================================================================
--- linux-2.6.orig/arch/um/Kconfig
+++ linux-2.6/arch/um/Kconfig
@@ -286,7 +286,6 @@ source "crypto/Kconfig"
 source "lib/Kconfig"
 
 menu "SCSI support"
-depends on BROKEN
 
 config SCSI
        tristate "SCSI support"
Index: linux-2.6/arch/um/Kconfig.scsi
===================================================================
--- linux-2.6.orig/arch/um/Kconfig.scsi
+++ linux-2.6/arch/um/Kconfig.scsi
@@ -56,3 +56,35 @@ config SCSI_DEBUG
        tristate "SCSI debugging host simulator (EXPERIMENTAL)"
        depends on SCSI
 
+config SCSI_ISCSI_ATTRS
+       tristate "iSCSI Transport Attributes"
+       depends on SCSI && NET
+       help
+         If you wish to export transport-specific information about
+         each attached iSCSI device to sysfs, say Y.
+         Otherwise, say N.
+
+config ISCSI_TCP
+       tristate "iSCSI Initiator over TCP/IP"
+       depends on SCSI && INET
+       select CRYPTO
+       select CRYPTO_MD5
+       select CRYPTO_CRC32C
+       select SCSI_ISCSI_ATTRS
+       help
+        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 a TCP/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).
+
+        To compile this driver as a module, choose M here: the
+        module will be called iscsi_tcp.
+
+        The userspace component needed to initialize the driver, documentation,
+        and sample configuration files can be found here:
+
+        http://linux-iscsi.sf.net
+

--
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to