Re: [RFCv3 20/21] tcm: Add Kbuild and Kconfig for drivers/target and Documentation/target/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 18 Oct 2010 15:39:19 -0700 Nicholas A. Bellinger wrote:

> From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>
> 
> Add TCM Kbuild and Kconfig files and update drivers/ to pick up drivers/target.
> Add Docmentation/target/ for tcm_mod_builder.py script for generating new
> TCM v4 fabric modules functional ConfigFS skeletons.
> 
> Signed-off-by: Nicholas A. Bellinger <nab@xxxxxxxxxxxxxxx>
> ---
>  Documentation/target/tcm_mod_builder.py  | 1094 ++++++++++++++++++++++++++++++
>  Documentation/target/tcm_mod_builder.txt |  145 ++++
>  drivers/Kconfig                          |    2 +
>  drivers/Makefile                         |    1 +
>  drivers/target/Kbuild                    |   27 +
>  drivers/target/Kconfig                   |   34 +
>  6 files changed, 1303 insertions(+), 0 deletions(-)
>  create mode 100755 Documentation/target/tcm_mod_builder.py
>  create mode 100644 Documentation/target/tcm_mod_builder.txt
>  create mode 100644 drivers/target/Kbuild
>  create mode 100644 drivers/target/Kconfig


> diff --git a/drivers/target/Kconfig b/drivers/target/Kconfig
> new file mode 100644
> index 0000000..5c37653
> --- /dev/null
> +++ b/drivers/target/Kconfig
> @@ -0,0 +1,34 @@
> +config TARGET_CORE
> +        tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure"
> +	select CONFIGFS_FS

Indentation: use tabs, not spaces.

> +        default m

Don't enable random drivers/modules.
Let the user or defconfig do that.


> +        ---help---
> +        Say Y or M here to enable the TCM Storage Engine and ConfigFS enabled control path for target_core_mod.  This includes built-in TCM RAMDISK subsystem logic for virtual LUN 0 access
> +
> +config TCM_DEBUG_DEV
> +	tristate "TCM Debug device code"
> +	depends on TARGET_CORE
> +	default n
> +	---help---
> +	Say Y here to enable the TCM Debug device code
> +
> +config TCM_IBLOCK
> +	tristate "TCM/IBLOCK Subsystem Plugin for Linux/BLOCK"
> +	depends on TARGET_CORE
> +	default y
> +	---help---
> +	Say Y here to enable the TCM/IBLOCK subsystem plugin for non-buffered access to Linux/Block devices using BIO
> +
> +config TCM_FILEIO
> +	tristate "TCM/FILEIO Subsystem Plugin for Linux/VFS"
> +	depends on TARGET_CORE
> +	default y
> +	---help---
> +	Say Y here to enable the TCM/FILEIO subsystem plugin for buffered access to Linux/VFS struct file or struct block_device
> +
> +config TCM_PSCSI
> +	tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI"
> +	depends on TARGET_CORE
> +	default y
> +	---help---
> +	Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered passthrough access to Linux/SCSI device
> -- 


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux