libata: Incorrect timing computation for PIO5/6
PATCH 1/1 libata: Incorrect timing computation for PIO5/6
The ata timing computation code makes some mistakes in PIO5/6 because a check was not updated correctly when I put this support into the kernel.
Signed-off-by Alan Cox <[email protected]>
drivers/ata/libata-core.c +1 -1
@@ -2164,7 +2164,7 @@* 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 ); }
Jeff Garzik
AppliedQuoted 4 lines · Alan
The ata timing computation code makes some mistakes in PIO5/6 because a check was not updated correctly when I put this support into the kernel.
Signed-off-by Alan Cox <[email protected]>
applied