aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2008-03-05 13:25:59 -0500
committerOlof Johansson <olof@lixom.net>2008-03-05 13:26:50 -0500
commitdda56df08a28404004bca313d2a1ba1597acd755 (patch)
tree4bc1d1c4b052c0de0f5f4a5a5ae51232ea5c23a1 /include/asm-powerpc
parentf37203b5ccaf6d58cb5ca6b1840e40f3b587109c (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.h4
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);
472extern void pasemi_dma_set_flag(int flag); 472extern void pasemi_dma_set_flag(int flag);
473extern void pasemi_dma_clear_flag(int flag); 473extern void pasemi_dma_clear_flag(int flag);
474 474
475/* Routines to allocate function engines */
476extern int pasemi_dma_alloc_fun(void);
477extern 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 */
476extern int pasemi_dma_init(void); 480extern int pasemi_dma_init(void);
477 481