1SATA_DOWN_SPD_LIMIT(9) libata Core Internals SATA_DOWN_SPD_LIMIT(9)
2
3
4
6 sata_down_spd_limit - adjust SATA spd limit downward
7
9 int sata_down_spd_limit(struct ata_link * link, u32 spd_limit);
10
12 link
13 Link to adjust SATA spd limit for
14
15 spd_limit
16 Additional limit
17
19 Adjust SATA spd limit of link downward. Note that this function only
20 adjusts the limit. The change must be applied using sata_set_spd.
21
22 If spd_limit is non-zero, the speed is limited to equal to or lower
23 than spd_limit if such speed is supported. If spd_limit is slower than
24 any supported speed, only the lowest supported speed is allowed.
25
27 Inherited from caller.
28
30 0 on success, negative errno on failure
31
33 Jeff Garzik
34 Author.
35
37Kernel Hackers Manual 2.6. June 2019 SATA_DOWN_SPD_LIMIT(9)