[-mm patch] the ASYNC_* options shouldn't be user visible

Adrian Bunk
2007-06-02T19:09:19Z

On Wed, May 30, 2007 at 11:58:23PM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.22-rc2-mm1:
>...
> git-md-accel.patch
>...
> git trees
>...

The ASYNC_* options are for internal helper code and should therefore
not be user visible.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

BTW: Please move the async_tx directory under drivers/ or lib/

async_tx/Kconfig | 28 ++++++++--------------------
1 file changed, 8 insertions(+), 20 deletions(-)

--- linux-2.6.22-rc3-mm1/async_tx/Kconfig.old 2007-06-02 19:30:32.000000000 +0200
+++ linux-2.6.22-rc3-mm1/async_tx/Kconfig 2007-06-02 19:31:20.000000000 +0200
@@ -1,27 +1,15 @@
-menuconfig ASYNC_CORE
- tristate "Asynchronous Bulk Memory Transfers/Transforms"
- default n
- ---help---
- This enables the async_tx interface layer for dma (offload) engines.
- Subsystems coded to this api will use offload engines for bulk memory
- operations (e.g. memcpy, memset, xor...). When an offload engine is not
- available the interface will implicitly fall back to a software
- implementation of the operation.
-
- If unsure, say N
-
-if ASYNC_CORE
+config ASYNC_CORE
+ tristate

config ASYNC_MEMCPY
- default m
- tristate "async_memcpy support"
+ tristate
+ select ASYNC_CORE

config ASYNC_XOR
- default m
- tristate "async_xor support"
+ tristate
+ select ASYNC_CORE

config ASYNC_MEMSET
- default m
- tristate "async_memset support"
+ tristate
+ select ASYNC_CORE

-endif