diff options
author | Gwendal Grignou <gwendal@google.com> | 2013-10-25 16:28:57 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-04 10:55:51 -0800 |
commit | 929742b8d766876b34f92fd3e40aed8d189dade4 (patch) | |
tree | a0ed70fa89979114ed7aab44b7de5cb66aa3cb57 /virt | |
parent | a878002b71bf238810b6e2a885455601222ac140 (diff) | |
download | linux-3.10-929742b8d766876b34f92fd3e40aed8d189dade4.tar.gz linux-3.10-929742b8d766876b34f92fd3e40aed8d189dade4.tar.bz2 linux-3.10-929742b8d766876b34f92fd3e40aed8d189dade4.zip |
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 'virt')
0 files changed, 0 insertions, 0 deletions