diff options
author | Gwendal Grignou <gwendal@google.com> | 2013-10-25 23:28:57 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-04 19:05:12 (GMT) |
commit | 7b7329ef41bba7ba9f26276c2eb783b7d7de41d2 (patch) | |
tree | fbf8213ba98bd8d30a67636c3246bc32f8257f3c /drivers/ata/libata-core.c | |
parent | cf9f229b9b367f9c92b495cc061078c028eb5e98 (diff) | |
download | linux-fsl-qoriq-7b7329ef41bba7ba9f26276c2eb783b7d7de41d2.tar.xz |
libata: Fix display of sata speed
commit 3e85c3ecbc520751324a191d23bb94873ed01b10 upstream.
6.0 Gbps link speed was not decoded properly:
speed was reported at 3.0 Gbps only.
Tested: On a machine where libata reports 6.0 Gbps in
/var/log/messages:
ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Before:
cat /sys/class/ata_link/link1/sata_spd
3.0 Gbps
After:
cat /sys/class/ata_link/link1/sata_spd
6.0 Gbps
Signed-off-by: Gwendal Grignou <gwendal@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
0 files changed, 0 insertions, 0 deletions