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)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 17 Mar 2010 19:54:55 +0000 (15:54 -0400)
commit5db5b0215af94a36d4bf10900ff9707b6d5c1610
tree282907c4f5cc0b9193f2c863351f025f3bc1d1a1
parent9deb343189b3cf45e84dd08480f330575ffe2004
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