Subversion Repositories freemyipod

Rev

Rev 357 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 357 Rev 405
Line 402... Line 402...
402
            if (rc) ata_soft_reset();
402
            if (rc) ata_soft_reset();
403
        }
403
        }
404
        if (rc)
404
        if (rc)
405
        {
405
        {
406
            void* buf = buffer;
406
            void* buf = buffer;
407
            int sect;
407
            uint64_t sect;
408
            for (sect = sector; sect < sector + cnt; sect++)
408
            for (sect = sector; sect < sector + cnt; sect++)
409
            {
409
            {
410
                rc = -1;
410
                rc = -1;
411
                tries = 3;
411
                tries = 3;
412
                while (tries-- && rc)
412
                while (tries-- && rc)