summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-01-29 12:31:31 +0100
committerJeff Garzik <jgarzik@redhat.com>2009-02-03 05:03:08 +0100
commit9913ff8abf1c70a8d52560dc931e1901d025ad27 (patch)
treed91ed8d73e9cb554d071e1d1449d5d0ef883e1a3 /include
parentlibata: move ata_dev_disable() to libata-eh.c (diff)
downloadlinux-9913ff8abf1c70a8d52560dc931e1901d025ad27.tar.xz
linux-9913ff8abf1c70a8d52560dc931e1901d025ad27.zip
libata: check onlineness before using SPD in sata_down_spd_limit()
sata_down_spd_limit() should check whether the link is online before using the SPD value to determine how to limit the link speed. Factor out onlineness test and test it from sata_down_spd_limit(). Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions