Skip to contentSkip to conversation

libata updates

PATCH New Jeff Garzik 1 participant 1 message Dec 7, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libata updates

Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus

to receive the following updates:

 drivers/ata/libata-core.c  |    3 +
 drivers/ata/sata_promise.c |  120 ++++++++++++++++++++++++++++----------------
 2 files changed, 79 insertions(+), 44 deletions(-)

Alan:
libata: Incorrect timing computation for PIO5/6

Albert Lee:
libata: let ATA_FLAG_PIO_POLLING use polling pio for ATA_PROT_NODATA

Mikael Pettersson:
sata_promise: cleanups, take 2
sata_promise: new EH conversion, take 2

drivers/ata/libata-core.c +2 -1
index 8816e30..011c0a8 100644
@@ -2303,7 +2303,7 @@ int ata_timing_compute(struct ata_device
 	 * 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);
 	}
@@ -4960,6 +4960,7 @@ unsigned int ata_qc_issue_prot(struct at
 	if (ap->flags & ATA_FLAG_PIO_POLLING) {
 		switch (qc->tf.protocol) {
 		case ATA_PROT_PIO:
+		case ATA_PROT_NODATA:
 		case ATA_PROT_ATAPI:
 		case ATA_PROT_ATAPI_NODATA:
 			qc->tf.flags |= ATA_TFLAG_POLLING;
drivers/ata/sata_promise.c +77 -43

220 lines not on this page · raw message