ATA_ID_STRING(9) libata Library ATA_ID_STRING(9)NAMEata_id_string - Convert IDENTIFY DEVICE page into string
void ata_id_string(const u16 * id, unsigned char * s, unsigned int ofs,
unsigned int len);
IDENTIFY DEVICE results we will examine
string into which data is output
offset into identify device page
length of string to return. must be an even number.
The strings in the IDENTIFY DEVICE page are broken up into 16-bit
chunks. Run through the string, and output each 8-bit chunk linearly,
regardless of platform.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 ATA_ID_STRING(9)