Subversion Repositories freemyipod

Rev

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

Rev 427 Rev 432
Line 40... Line 40...
40
            buffer[3] = ata_total_sectors >> 32;
40
            buffer[3] = ata_total_sectors >> 32;
41
#ifdef ATA_HAVE_BBT
41
#ifdef ATA_HAVE_BBT
42
            buffer[4] = ata_virtual_sectors;
42
            buffer[4] = ata_virtual_sectors;
43
            buffer[5] = ata_virtual_sectors >> 32;
43
            buffer[5] = ata_virtual_sectors >> 32;
44
            buffer[6] = (uint32_t)ata_bbt;
44
            buffer[6] = (uint32_t)ata_bbt;
45
            buffer[7] = ATA_BBT_PAGES << 6;
45
            buffer[7] = 0;
46
#else
46
#else
47
            buffer[4] = ata_total_sectors;
47
            buffer[4] = ata_total_sectors;
48
            buffer[5] = ata_total_sectors >> 32;
48
            buffer[5] = ata_total_sectors >> 32;
49
            buffer[6] = 0;
49
            buffer[6] = 0;
50
            buffer[7] = 0;
50
            buffer[7] = 0;