ahci: pp->active_link is not reliable when FBS is enabled
authorShane Huang <shane.huang@amd.com>
Tue, 16 Mar 2010 10:08:55 +0000 (18:08 +0800)
committerMatt Sealey <neko@excel.(none)>
Tue, 10 Aug 2010 16:50:56 +0000 (11:50 -0500)
commitf2f74359d4b53e7b9d0608860af036f00758467d
treee1e063589174dba50b19240e81953be3f6007f34
parentf708c2d6fe1c516b2238830b66515f511a2f7543
ahci: pp->active_link is not reliable when FBS is enabled

pp->active_link is not reliable when FBS is enabled.
Both PORT_SCR_ACT and PORT_CMD_ISSUE should be checked
because mixed NCQ and non-NCQ commands may be in flight.

Signed-off-by: Shane Huang <shane.huang@amd.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c