diff options
Diffstat (limited to 'firmware/export/ata.h')
-rw-r--r-- | firmware/export/ata.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/firmware/export/ata.h b/firmware/export/ata.h index f491e525e6..b5e39de3aa 100644 --- a/firmware/export/ata.h +++ b/firmware/export/ata.h | |||
@@ -60,5 +60,17 @@ bool ata_present(IF_MV_NONVOID(int drive)); | |||
60 | long ata_last_disk_activity(void); | 60 | long ata_last_disk_activity(void); |
61 | int ata_spinup_time(void); /* ticks */ | 61 | int ata_spinup_time(void); /* ticks */ |
62 | 62 | ||
63 | #ifdef HAVE_ATA_DMA | ||
64 | /* Needed to allow updating while waiting for DMA to complete */ | ||
65 | void ata_keep_active(void); | ||
66 | /* Returns current DMA mode */ | ||
67 | int ata_get_dma_mode(void); | ||
68 | /* Set DMA mode for ATA interface */ | ||
69 | void ata_dma_set_mode(unsigned char mode); | ||
70 | /* Sets up DMA transfer */ | ||
71 | bool ata_dma_setup(void *addr, unsigned long bytes, bool write); | ||
72 | /* Waits for DMA transfer completion */ | ||
73 | bool ata_dma_finish(void); | ||
74 | #endif /* HAVE_ATA_DMA */ | ||
63 | 75 | ||
64 | #endif | 76 | #endif /* __ATA_H__ */ |