Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
[PATCH] libata: add pio flush for via atapi (was: Re: TR: ASUS A8V Deluxe, x86_64)

+5
+5
drivers/scsi/libata-core.c
··· 3643 3643 3644 3644 ata_pio_sector(qc); 3645 3645 } 3646 + 3647 + ata_altstatus(ap); /* flush */ 3646 3648 } 3647 3649 3648 3650 static void ata_pio_error(struct ata_port *ap) ··· 3761 3759 spin_lock_irqsave(&ap->host_set->lock, flags); 3762 3760 ap->flags &= ~ATA_FLAG_NOINTR; 3763 3761 ata_data_xfer(ap, qc->cdb, qc->dev->cdb_len, 1); 3762 + ata_altstatus(ap); /* flush */ 3763 + 3764 3764 if (qc->tf.protocol == ATA_PROT_ATAPI_DMA) 3765 3765 ap->ops->bmdma_start(qc); /* initiate bmdma */ 3766 3766 spin_unlock_irqrestore(&ap->host_set->lock, flags); 3767 3767 } else { 3768 3768 ata_data_xfer(ap, qc->cdb, qc->dev->cdb_len, 1); 3769 + ata_altstatus(ap); /* flush */ 3769 3770 3770 3771 /* PIO commands are handled by polling */ 3771 3772 ap->hsm_task_state = HSM_ST;