1. NAME▲

ata_mode_string - convert xfer_mask to string

2. SYNOPSIS ▲

const char * ata_mode_string(unsigned long  xfer_mask );

3. ARGUMENTS ▲

xfer_mask
    mask of bits supported; only highest bit counts.

4. DESCRIPTION ▲

Determine string which represents the highest speed (highest bit in modemask).

5. LOCKING ▲

None.

6. RETURNS ▲

Constant C string representing highest speed listed in mode_mask, or the constant C string « <n/a> ».

7. AUTHOR ▲

Jeff Garzik
    Author.

8. COPYRIGHT ▲