Subversion Repositories freemyipod

Rev

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

Rev 488 Rev 543
Line 559... Line 559...
559
    }
559
    }
560
    else ata_virtual_sectors = ata_total_sectors;
560
    else ata_virtual_sectors = ata_total_sectors;
561
    mutex_unlock(&ata_mutex);
561
    mutex_unlock(&ata_mutex);
562
#endif
562
#endif
563
    thread_create(&ata_thread_handle, "ATA idle monitor", ata_thread, ata_stack,
563
    thread_create(&ata_thread_handle, "ATA idle monitor", ata_thread, ata_stack,
564
                  sizeof(ata_stack), USER_THREAD, 1, true);
564
                  sizeof(ata_stack), OS_THREAD, 1, true);
565
    return 0;
565
    return 0;
566
}
566
}
567
 
567
 
568
#ifdef CONFIG_STORAGE_MULTI
568
#ifdef CONFIG_STORAGE_MULTI
569
int ata_num_drives(int first_drive)
569
int ata_num_drives(int first_drive)