forked from len0rd/rockbox
fixed compiling errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4310 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
867415b3f8
commit
97955a714b
1 changed files with 3 additions and 0 deletions
|
|
@ -110,6 +110,7 @@ static unsigned short identify_info[SECTOR_SIZE];
|
||||||
static int ata_power_on(void);
|
static int ata_power_on(void);
|
||||||
static int perform_soft_reset(void);
|
static int perform_soft_reset(void);
|
||||||
static int set_multiple_mode(int sectors);
|
static int set_multiple_mode(int sectors);
|
||||||
|
static int set_features(void);
|
||||||
|
|
||||||
static int wait_for_bsy(void) __attribute__ ((section (".icode")));
|
static int wait_for_bsy(void) __attribute__ ((section (".icode")));
|
||||||
static int wait_for_bsy(void)
|
static int wait_for_bsy(void)
|
||||||
|
|
@ -753,6 +754,8 @@ int ata_soft_reset(void)
|
||||||
|
|
||||||
static int ata_power_on(void)
|
static int ata_power_on(void)
|
||||||
{
|
{
|
||||||
|
int rc;
|
||||||
|
|
||||||
ide_power_enable(true);
|
ide_power_enable(true);
|
||||||
if( ata_hard_reset() )
|
if( ata_hard_reset() )
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue