summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2008-03-05 12:25:59 -0600
committerOlof Johansson <olof@lixom.net>2008-03-05 12:26:50 -0600
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 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);