other versions
- stretch 4.9.168-1
SATA_DOWN_SPD_LIMIT(9) | libata Core Internals | SATA_DOWN_SPD_LIMIT(9) |
NAME¶
sata_down_spd_limit - adjust SATA spd limit downwardSYNOPSIS¶
int sata_down_spd_limit(struct ata_link * link, u32 spd_limit);
ARGUMENTS¶
linkLink to adjust SATA spd limit for
spd_limit
Additional limit
DESCRIPTION¶
Adjust SATA spd limit of link downward. Note that this function only adjusts the limit. The change must be applied using sata_set_spd.If spd_limit is non-zero, the speed is limited to equal to or lower than spd_limit if such speed is supported. If spd_limit is slower than any supported speed, only the lowest supported speed is allowed.
LOCKING: Inherited from caller.
RETURN¶
0 on success, negative errno on failureAUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |