sata_fsl: Defer non-ncq commands when ncq commands active
authorAshish Kalra <Ashish.Kalra@freescale.com>
Wed, 29 Jul 2009 15:45:49 +0000 (21:15 +0530)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 9 Sep 2009 01:24:32 +0000 (21:24 -0400)
commitf90f613c3ed7381209de8aa36458442b5130170b
tree76d1801fdaa87c5a82aaf2b80857baf7951ec40e
parentdeeb003e5e01c0db02bb68fd9c93faf75ab9002d
sata_fsl: Defer non-ncq commands when ncq commands active

Fix for non-ncq & ncq commands causing timeouts when both are issued
simultaneously to the same device.

Signed-off-by: Ashish Kalra <Ashish.Kalra@freescale.com>
[fixed to be actual compileable C code -jg]
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_fsl.c