diff options
author | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-08 21:23:53 +0000 |
---|---|---|
committer | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-08 21:23:53 +0000 |
commit | e4dbcc414b4b91ceb6b5e80a4ad49e4270fee096 (patch) | |
tree | 3165e08718b10840ac466821664852be8ba6d784 /firmware/export/ata.h | |
parent | d09818d745835653c2f7ff24547101c0833800d4 (diff) | |
download | rockbox-e4dbcc414b4b91ceb6b5e80a4ad49e4270fee096.tar.gz rockbox-e4dbcc414b4b91ceb6b5e80a4ad49e4270fee096.zip |
FS#12418 - Merge prototypes from ata-target.h files into new file ata-driver.h. After this change:
- ata.h is for users of ata.c
- ata-driver.h is for functions implemented by target-specific code and used by ata.c
- ata-target.h is for target-specific defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31182 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/ata.h')
-rw-r--r-- | firmware/export/ata.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/export/ata.h b/firmware/export/ata.h index a3537812e5..41a2fd5c9f 100644 --- a/firmware/export/ata.h +++ b/firmware/export/ata.h | |||
@@ -65,16 +65,8 @@ long ata_last_disk_activity(void); | |||
65 | int ata_spinup_time(void); /* ticks */ | 65 | int ata_spinup_time(void); /* ticks */ |
66 | 66 | ||
67 | #ifdef HAVE_ATA_DMA | 67 | #ifdef HAVE_ATA_DMA |
68 | /* Needed to allow updating while waiting for DMA to complete */ | ||
69 | void ata_keep_active(void); | ||
70 | /* Returns current DMA mode */ | 68 | /* Returns current DMA mode */ |
71 | int ata_get_dma_mode(void); | 69 | int ata_get_dma_mode(void); |
72 | /* Set DMA mode for ATA interface */ | ||
73 | void ata_dma_set_mode(unsigned char mode); | ||
74 | /* Sets up DMA transfer */ | ||
75 | bool ata_dma_setup(void *addr, unsigned long bytes, bool write); | ||
76 | /* Waits for DMA transfer completion */ | ||
77 | bool ata_dma_finish(void); | ||
78 | #endif /* HAVE_ATA_DMA */ | 70 | #endif /* HAVE_ATA_DMA */ |
79 | 71 | ||
80 | #endif /* __ATA_H__ */ | 72 | #endif /* __ATA_H__ */ |