Convert xfer_mask to string
const char * ata_mode_string(unsigned long xfer_mask);
xfer_mask
mask of bits supported; only highest bit counts.
Determine string which represents the highest speed (highest bit in modemask).
None.
Constant C string representing highest speed listed in mode_mask, or the constant C string “<n/a>”.
Jeff Garzik
Author.