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)
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

Simple merge