freemyipod r639 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r638‎ | r639 | r640 >
Date:22:28, 21 February 2011
Author:theseven
Status:new
Tags:
Comment:
emCORE: Fix some CE-ATA problems
Modified paths:
  • /emcore/trunk/target/ipodclassic/storage_ata.c (modified) (history)

Diff [purge]

Index: emcore/trunk/target/ipodclassic/storage_ata.c
@@ -713,7 +713,7 @@
714714 ceata_taskfile[0xf] = write ? 0x35 : 0x25;
715715 PASS_RC(ceata_wait_idle(), 2, 0);
716716 PASS_RC(ceata_write_multiple_register(0, ceata_taskfile, 16), 2, 1);
717 - PASS_RC(ceata_rw_multiple_block(write, buffer, cnt, CEATA_COMMAND_TIMEOUT), 2, 2);
 717+ PASS_RC(ceata_rw_multiple_block(write, buffer, cnt << 3, CEATA_COMMAND_TIMEOUT), 2, 2);
718718 }
719719 else
720720 {