Ticket #730: atacmds.h.diff

File atacmds.h.diff, 902 bytes (added by Casey Biemiller, 8 years ago)

A diff of atacmds.h

  • atacmds.h

     
    8989
    9090// 48-bit commands
    9191#define ATA_READ_LOG_EXT                0x2F
     92#define ATA_WRITE_LOG_EXT               0x3F
    9293
    9394// ATA Specification Feature Register Values (SMART Subcommands).
    9495// Note that some are obsolete as of ATA-7.
     
    779780int ataReadSelectiveSelfTestLog(ata_device * device, struct ata_selective_self_test_log *data);
    780781int ataReadLogDirectory(ata_device * device, ata_smart_log_directory *, bool gpl);
    781782
     783// Write GP Log page(s)
     784bool ataWriteLogExt(ata_device * device, unsigned char logaddr,
     785                    unsigned page, void * data, unsigned nsectors);
     786
    782787// Read GP Log page(s)
    783788bool ataReadLogExt(ata_device * device, unsigned char logaddr,
    784789                   unsigned char features, unsigned page,