From e455f83ca2e4ee7c39837309a422732167994cbf Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 12 Jul 2011 16:35:24 +0200 Subject: Separate NWL loopback code, provide DMA start/stop interfaces --- dma/nwl_loopback.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 dma/nwl_loopback.h (limited to 'dma/nwl_loopback.h') diff --git a/dma/nwl_loopback.h b/dma/nwl_loopback.h new file mode 100644 index 0000000..63c8446 --- /dev/null +++ b/dma/nwl_loopback.h @@ -0,0 +1,7 @@ +#ifndef _PCILIB_NWL_LOOPBACK_H +#define _PCILIB_NWL_LOOPBACK_H + +int dma_nwl_start_loopback(nwl_dma_t *ctx, pcilib_dma_direction_t direction, size_t packet_size); +int dma_nwl_stop_loopback(nwl_dma_t *ctx); + +#endif /* _PCILIB_NWL_LOOPBACK_H */ -- cgit v1.2.3