[PATCH] libata: Incorrect timing computation for PIO5/6
[linux-2.6.git] / drivers / ata / libata-core.c
index d2e68637187079e889bd06d03a6a3125b5356726..011c0a8a2dcc6cbef5de1dda26899ebf83cb5345 100644 (file)
@@ -2303,7 +2303,7 @@ int ata_timing_compute(struct ata_device *adev, unsigned short speed,
         * DMA cycle timing is slower/equal than the fastest PIO timing.
         */
 
-       if (speed > XFER_PIO_4) {
+       if (speed > XFER_PIO_6) {
                ata_timing_compute(adev, adev->pio_mode, &p, T, UT);
                ata_timing_merge(&p, t, t, ATA_TIMING_ALL);
        }