aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/Kconfig7
-rw-r--r--drivers/scsi/Makefile3
2 files changed, 10 insertions, 0 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index 8442be1bb162..1301d5222c07 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -29,6 +29,13 @@ config SCSI
29 However, do not compile this as a module if your root file system 29 However, do not compile this as a module if your root file system
30 (the one containing the directory /) is located on a SCSI device. 30 (the one containing the directory /) is located on a SCSI device.
31 31
32config SCSI_TGT
33 tristate "SCSI target support"
34 depends on SCSI && EXPERIMENTAL
35 ---help---
36 If you want to use SCSI target mode drivers enable this option.
37 If you choose M, the module will be called scsi_tgt.
38
32config SCSI_NETLINK 39config SCSI_NETLINK
33 bool 40 bool
34 default n 41 default n
diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile
index a0a77fde3708..8f86c1b96ff7 100644
--- a/drivers/scsi/Makefile
+++ b/drivers/scsi/Makefile
@@ -21,6 +21,7 @@ CFLAGS_seagate.o = -DARBITRATE -DPARITY -DSEAGATE_USE_ASM
21subdir-$(CONFIG_PCMCIA) += pcmcia 21subdir-$(CONFIG_PCMCIA) += pcmcia
22 22
23obj-$(CONFIG_SCSI) += scsi_mod.o 23obj-$(CONFIG_SCSI) += scsi_mod.o
24obj-$(CONFIG_SCSI_TGT) += scsi_tgt.o
24 25
25obj-$(CONFIG_RAID_ATTRS) += raid_class.o 26obj-$(CONFIG_RAID_ATTRS) += raid_class.o
26 27
@@ -151,6 +152,8 @@ scsi_mod-$(CONFIG_SCSI_NETLINK) += scsi_netlink.o
151scsi_mod-$(CONFIG_SYSCTL) += scsi_sysctl.o 152scsi_mod-$(CONFIG_SYSCTL) += scsi_sysctl.o
152scsi_mod-$(CONFIG_SCSI_PROC_FS) += scsi_proc.o 153scsi_mod-$(CONFIG_SCSI_PROC_FS) += scsi_proc.o
153 154
155scsi_tgt-y += scsi_tgt_lib.o scsi_tgt_if.o
156
154sd_mod-objs := sd.o 157sd_mod-objs := sd.o
155sr_mod-objs := sr.o sr_ioctl.o sr_vendor.o 158sr_mod-objs := sr.o sr_ioctl.o sr_vendor.o
156ncr53c8xx-flags-$(CONFIG_SCSI_ZALON) \ 159ncr53c8xx-flags-$(CONFIG_SCSI_ZALON) \