2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
6 #include <exec/types.h>
10 /* We don't need DMA support (but there has to be more optimal solution..) */
12 LONG
dma_Setup(APTR addr
, ULONG len
, BOOL read
, struct PRDEntry
* array
)
17 BOOL
dma_SetupPRD(struct ata_Unit
*unit
, APTR buffer
, ULONG sectors
, BOOL io
)
22 BOOL
dma_SetupPRDSize(struct ata_Unit
*unit
, APTR buffer
, ULONG size
, BOOL read
)
27 VOID
dma_Cleanup(APTR addr
, ULONG len
, BOOL read
)
31 VOID
dma_StartDMA(struct ata_Unit
*unit
)
35 VOID
dma_StopDMA(struct ata_Unit
*unit
)