1. NAME▲
ata_id_c_string - Convert IDENTIFY DEVICE page into C string
2. SYNOPSIS ▲
void ata_id_c_string(const u16 * id , unsigned char * s , unsigned int ofs , unsigned int len );
3. ARGUMENTS ▲
id
IDENTIFY DEVICE results we will examine
s
string into which data is output
ofs
offset into identify device page
len
length of string to return. must be an odd number.
4. DESCRIPTION ▲
This function is identical to ata_id_string except that it trims trailing spaces and terminates the resulting string with null. len must be actual maximum length (even number) + 1.
5. LOCKING ▲
caller.
6. AUTHOR ▲
Jeff Garzik
Author.
7. COPYRIGHT ▲