linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 6/6] scsi tgt: Makefile and Kconfig changes
@ 2006-02-16 19:53 Mike Christie
  2006-03-14 21:58 ` Jun'ichi Nomura
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Christie @ 2006-02-16 19:53 UTC (permalink / raw)
  To: linux-scsi

Subject: [PATCH] scsi-ml: Makefile and Kconfig changes for stgt


Makefile and Kconfig stuff.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>


---

 drivers/scsi/Kconfig  |    7 +++++++
 drivers/scsi/Makefile |    3 +++
 2 files changed, 10 insertions(+), 0 deletions(-)

22ae7de0990701d140759af4a9b7070bf4409414
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index 3c606cf..d09c792 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -27,6 +27,13 @@ config SCSI
 	  However, do not compile this as a module if your root file system
 	  (the one containing the directory /) is located on a SCSI device.
 
+config SCSI_TGT
+	tristate "SCSI target support"
+	depends on SCSI && EXPERIMENTAL
+	---help---
+	  If you want to use SCSI target mode drivers enable this option.
+	  If you choose M, the module will be called scsi_tgt.
+
 config SCSI_PROC_FS
 	bool "legacy /proc/scsi/ support"
 	depends on SCSI && PROC_FS
diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile
index 320e765..3d81b8d 100644
--- a/drivers/scsi/Makefile
+++ b/drivers/scsi/Makefile
@@ -21,6 +21,7 @@ CFLAGS_seagate.o =   -DARBITRATE -DPARIT
 subdir-$(CONFIG_PCMCIA)		+= pcmcia
 
 obj-$(CONFIG_SCSI)		+= scsi_mod.o
+obj-$(CONFIG_SCSI_TGT)		+= scsi_tgt.o
 
 obj-$(CONFIG_RAID_ATTRS)	+= raid_class.o
 
@@ -155,6 +156,8 @@ scsi_mod-y			+= scsi.o hosts.o scsi_ioct
 scsi_mod-$(CONFIG_SYSCTL)	+= scsi_sysctl.o
 scsi_mod-$(CONFIG_SCSI_PROC_FS)	+= scsi_proc.o
 
+scsi_tgt-y			+= scsi_tgt_lib.o scsi_tgt_if.o
+
 sd_mod-objs	:= sd.o
 sr_mod-objs	:= sr.o sr_ioctl.o sr_vendor.o
 ncr53c8xx-flags-$(CONFIG_SCSI_ZALON) \
-- 
1.1.3



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 6/6] scsi tgt: Makefile and Kconfig changes
  2006-02-16 19:53 [PATCH 6/6] scsi tgt: Makefile and Kconfig changes Mike Christie
@ 2006-03-14 21:58 ` Jun'ichi Nomura
  2006-03-16  0:00   ` FUJITA Tomonori
  0 siblings, 1 reply; 3+ messages in thread
From: Jun'ichi Nomura @ 2006-03-14 21:58 UTC (permalink / raw)
  To: Mike Christie, fujita.tomonori; +Cc: linux-scsi

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

Hello Mike, Fujita-san,

scsi_tgt_if.c depends on CONFIG_NET for using netlink.
So it would be nice if the Kconfig entry checks it.

Thanks,
-- 
Jun'ichi Nomura, NEC Solutions (America), Inc.

[-- Attachment #2: scsi_tgt_kconf.patch --]
[-- Type: text/x-patch, Size: 464 bytes --]

--- linux-2.6.16-rc6-mm1.orig/drivers/scsi/Kconfig	2006-03-14 09:52:19.000000000 -0500
+++ linux-2.6.16-rc6-mm1/drivers/scsi/Kconfig	2006-03-14 15:56:32.000000000 -0500
@@ -29,7 +29,7 @@ config SCSI
 
 config SCSI_TGT
 	tristate "SCSI target support"
-	depends on SCSI && EXPERIMENTAL
+	depends on SCSI && NET && EXPERIMENTAL
 	---help---
 	  If you want to use SCSI target mode drivers enable this option.
 	  If you choose M, the module will be called scsi_tgt.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 6/6] scsi tgt: Makefile and Kconfig changes
  2006-03-14 21:58 ` Jun'ichi Nomura
@ 2006-03-16  0:00   ` FUJITA Tomonori
  0 siblings, 0 replies; 3+ messages in thread
From: FUJITA Tomonori @ 2006-03-16  0:00 UTC (permalink / raw)
  To: j-nomura; +Cc: michaelc, linux-scsi

From: "Jun'ichi Nomura" <j-nomura@ce.jp.nec.com>
Subject: Re: [PATCH 6/6] scsi tgt: Makefile and Kconfig changes
Date: Tue, 14 Mar 2006 16:58:04 -0500

> scsi_tgt_if.c depends on CONFIG_NET for using netlink.
> So it would be nice if the Kconfig entry checks it.

Yep. Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-16  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-16 19:53 [PATCH 6/6] scsi tgt: Makefile and Kconfig changes Mike Christie
2006-03-14 21:58 ` Jun'ichi Nomura
2006-03-16  0:00   ` FUJITA Tomonori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).