diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/Kconfig | 7 | ||||
-rw-r--r-- | drivers/scsi/Makefile | 3 |
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 | ||
32 | config 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 | |||
32 | config SCSI_NETLINK | 39 | config 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 | |||
21 | subdir-$(CONFIG_PCMCIA) += pcmcia | 21 | subdir-$(CONFIG_PCMCIA) += pcmcia |
22 | 22 | ||
23 | obj-$(CONFIG_SCSI) += scsi_mod.o | 23 | obj-$(CONFIG_SCSI) += scsi_mod.o |
24 | obj-$(CONFIG_SCSI_TGT) += scsi_tgt.o | ||
24 | 25 | ||
25 | obj-$(CONFIG_RAID_ATTRS) += raid_class.o | 26 | obj-$(CONFIG_RAID_ATTRS) += raid_class.o |
26 | 27 | ||
@@ -151,6 +152,8 @@ scsi_mod-$(CONFIG_SCSI_NETLINK) += scsi_netlink.o | |||
151 | scsi_mod-$(CONFIG_SYSCTL) += scsi_sysctl.o | 152 | scsi_mod-$(CONFIG_SYSCTL) += scsi_sysctl.o |
152 | scsi_mod-$(CONFIG_SCSI_PROC_FS) += scsi_proc.o | 153 | scsi_mod-$(CONFIG_SCSI_PROC_FS) += scsi_proc.o |
153 | 154 | ||
155 | scsi_tgt-y += scsi_tgt_lib.o scsi_tgt_if.o | ||
156 | |||
154 | sd_mod-objs := sd.o | 157 | sd_mod-objs := sd.o |
155 | sr_mod-objs := sr.o sr_ioctl.o sr_vendor.o | 158 | sr_mod-objs := sr.o sr_ioctl.o sr_vendor.o |
156 | ncr53c8xx-flags-$(CONFIG_SCSI_ZALON) \ | 159 | ncr53c8xx-flags-$(CONFIG_SCSI_ZALON) \ |