diff options
author | Gwendal Grignou <gwendal@google.com> | 2013-10-26 01:28:57 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-10-27 12:43:25 +0100 |
commit | 3e85c3ecbc520751324a191d23bb94873ed01b10 (patch) | |
tree | 458092e84f141b9a2ed4e46aac214db42815d62e /drivers/ata/libahci.c | |
parent | ahci: imx: setup power saving methods (diff) | |
download | linux-3e85c3ecbc520751324a191d23bb94873ed01b10.tar.xz linux-3e85c3ecbc520751324a191d23bb94873ed01b10.zip |
libata: Fix display of sata speed
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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/ata/libahci.c')
0 files changed, 0 insertions, 0 deletions