forked from len0rd/rockbox
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
This commit is contained in:
parent
d09818d745
commit
e4dbcc414b
25 changed files with 98 additions and 82 deletions
|
|
@ -65,16 +65,8 @@ long ata_last_disk_activity(void);
|
|||
int ata_spinup_time(void); /* ticks */
|
||||
|
||||
#ifdef HAVE_ATA_DMA
|
||||
/* Needed to allow updating while waiting for DMA to complete */
|
||||
void ata_keep_active(void);
|
||||
/* Returns current DMA mode */
|
||||
int ata_get_dma_mode(void);
|
||||
/* Set DMA mode for ATA interface */
|
||||
void ata_dma_set_mode(unsigned char mode);
|
||||
/* Sets up DMA transfer */
|
||||
bool ata_dma_setup(void *addr, unsigned long bytes, bool write);
|
||||
/* Waits for DMA transfer completion */
|
||||
bool ata_dma_finish(void);
|
||||
#endif /* HAVE_ATA_DMA */
|
||||
|
||||
#endif /* __ATA_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue