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/drivers/ata.c | |
| parent | d09818d745835653c2f7ff24547101c0833800d4 (diff) | |
| download | rockbox-e4dbcc414b4b91ceb6b5e80a4ad49e4270fee096.zip rockbox-e4dbcc414b4b91ceb6b5e80a4ad49e4270fee096.tar.gz rockbox-e4dbcc414b4b91ceb6b5e80a4ad49e4270fee096.tar.bz2 rockbox-e4dbcc414b4b91ceb6b5e80a4ad49e4270fee096.tar.xz | |
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/drivers/ata.c')
| -rw-r--r-- | firmware/drivers/ata.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 309a155..f567a4b 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -32,7 +32,7 @@ #include "power.h" #include "string.h" #include "ata_idle_notify.h" -#include "ata-target.h" +#include "ata-driver.h" #include "ata-defines.h" #include "storage.h" @@ -240,8 +240,6 @@ STATICIRAM ICODE_ATTR int wait_for_rdy(void) return 0; /* timeout */ } #else -extern int ata_wait_for_bsy(void); -extern int ata_wait_for_rdy(void); #define wait_for_bsy ata_wait_for_bsy #define wait_for_rdy ata_wait_for_rdy #endif @@ -1265,7 +1263,7 @@ static int set_features(void) } } -#ifdef ATA_SET_DEVICE_FEATURES +#ifdef ATA_SET_PIO_TIMING ata_set_pio_timings(pio_mode); #endif |