diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-02-17 01:31:50 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-02-17 01:31:50 +0000 |
| commit | 97955a714b7adfcca0282991e9b43d3a6a7b16ba (patch) | |
| tree | 7fa7474c4305cdc1767d6d47efc3311f628ac1fc | |
| parent | 867415b3f82db6b7d16c0ba0515cda5719e16990 (diff) | |
| download | rockbox-97955a714b7adfcca0282991e9b43d3a6a7b16ba.zip rockbox-97955a714b7adfcca0282991e9b43d3a6a7b16ba.tar.gz rockbox-97955a714b7adfcca0282991e9b43d3a6a7b16ba.tar.bz2 rockbox-97955a714b7adfcca0282991e9b43d3a6a7b16ba.tar.xz | |
fixed compiling errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4310 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/drivers/ata.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index d3c60a9..14116a3 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -110,6 +110,7 @@ static unsigned short identify_info[SECTOR_SIZE]; static int ata_power_on(void); static int perform_soft_reset(void); 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) @@ -753,6 +754,8 @@ int ata_soft_reset(void) static int ata_power_on(void) { + int rc; + ide_power_enable(true); if( ata_hard_reset() ) return -1; |