diff options
author | Olof Johansson <olof@lixom.net> | 2008-03-05 12:25:59 -0600 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2008-03-05 12:26:50 -0600 |
commit | dda56df08a28404004bca313d2a1ba1597acd755 (patch) | |
tree | 4bc1d1c4b052c0de0f5f4a5a5ae51232ea5c23a1 /include/asm-powerpc | |
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')
-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 ffd413d7dfb..facb2bdea45 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); extern void pasemi_dma_set_flag(int flag); extern void pasemi_dma_clear_flag(int flag); +/* Routines to allocate function engines */ +extern int pasemi_dma_alloc_fun(void); +extern void pasemi_dma_free_fun(int fun); + /* Initialize the library, must be called before any other functions */ extern int pasemi_dma_init(void); |