Ticket #730: atacmds.h.diff
File atacmds.h.diff, 902 bytes (added by , 9 years ago) |
---|
-
atacmds.h
89 89 90 90 // 48-bit commands 91 91 #define ATA_READ_LOG_EXT 0x2F 92 #define ATA_WRITE_LOG_EXT 0x3F 92 93 93 94 // ATA Specification Feature Register Values (SMART Subcommands). 94 95 // Note that some are obsolete as of ATA-7. … … 779 780 int ataReadSelectiveSelfTestLog(ata_device * device, struct ata_selective_self_test_log *data); 780 781 int ataReadLogDirectory(ata_device * device, ata_smart_log_directory *, bool gpl); 781 782 783 // Write GP Log page(s) 784 bool ataWriteLogExt(ata_device * device, unsigned char logaddr, 785 unsigned page, void * data, unsigned nsectors); 786 782 787 // Read GP Log page(s) 783 788 bool ataReadLogExt(ata_device * device, unsigned char logaddr, 784 789 unsigned char features, unsigned page,