diff options
author | Olof Johansson <olof@lixom.net> | 2008-03-05 13:25:59 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2008-03-05 13:26:50 -0500 |
commit | dda56df08a28404004bca313d2a1ba1597acd755 (patch) | |
tree | 4bc1d1c4b052c0de0f5f4a5a5ae51232ea5c23a1 /include/asm-powerpc/pasemi_dma.h | |
parent | f37203b5ccaf6d58cb5ca6b1840e40f3b587109c (diff) |
[POWERPC] pasemi: Add function engine management functions to dma_lib
Used to allocate functions for crypto/checksum offload.
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/asm-powerpc/pasemi_dma.h')
-rw-r--r-- | include/asm-powerpc/pasemi_dma.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/pasemi_dma.h b/include/asm-powerpc/pasemi_dma.h index ffd413d7dfb0..facb2bdea45c 100644 --- a/include/asm-powerpc/pasemi_dma.h +++ b/include/asm-powerpc/pasemi_dma.h | |||
@@ -472,6 +472,10 @@ extern void pasemi_dma_free_flag(int flag); | |||
472 | extern void pasemi_dma_set_flag(int flag); | 472 | extern void pasemi_dma_set_flag(int flag); |
473 | extern void pasemi_dma_clear_flag(int flag); | 473 | extern void pasemi_dma_clear_flag(int flag); |
474 | 474 | ||
475 | /* Routines to allocate function engines */ | ||
476 | extern int pasemi_dma_alloc_fun(void); | ||
477 | extern void pasemi_dma_free_fun(int fun); | ||
478 | |||
475 | /* Initialize the library, must be called before any other functions */ | 479 | /* Initialize the library, must be called before any other functions */ |
476 | extern int pasemi_dma_init(void); | 480 | extern int pasemi_dma_init(void); |
477 | 481 | ||