Name

ata_mode_string — convert UDMA bit offset to string

Synopsis

const char * ata_mode_string (unsigned int mask);

Arguments

mask

mask of bits supported; only highest bit counts.

Description

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

LOCKING

None.

RETURNS

Constant C string representing highest speed listed in udma_mask, or the constant C string “<n/a>”.