Instance Property

SMARTValidateReadData

Test the integrity of the device SMART data structure.

Declaration

IOReturn (*SMARTValidateReadData)(void *interface, const ATASMARTData *data);

Discussion

The data structure checksum is the two's complement of the sum of the first 511 bytes in the data structure. The sum of all 512 bytes will be zero when the checksum is correct. See section 8.54.5.8.7 of ATA/ATAPI-6. Will return an error if checksum fails.