libata: ata_timing_compute() fixup
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 13 Oct 2011 13:17:32 +0000 (15:17 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 14 Oct 2011 17:21:54 +0000 (13:21 -0400)
commitbff00256f1b2d762dea3d6c2c9dc85d453fa3e8f
tree5b1710ddc971faa4c27fa898434800bdfa8faaac
parent9f8abf8248f8b90532a201845654d467f4388474
libata: ata_timing_compute() fixup

XFER_SW_DMA_0 mode should be excluded from the extended cycle timing
computations.

Acked-by: Alan Cox <alan@linux.intel.com>
Noticed-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c