Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29391
b: refs/heads/master
c: 46e202e
h: refs/heads/master
i:
  29389: c84cc40
  29387: 4598736
  29383: ff6c1dc
  29375: 53a0d58
v: v3
  • Loading branch information
Jeff Garzik committed Mar 12, 2006
1 parent 4982fb0 commit 7499ce4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce1e7a2ac721eb9d825b63f74752d0c9e0c635c2
refs/heads/master: 46e202ec1feeac3cb722cd3410d62a9a00891388
7 changes: 4 additions & 3 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3809,7 +3809,7 @@ static void ata_pio_task(void *_data)

if (timeout)
ata_port_queue_task(ap, ata_pio_task, ap, timeout);
else if (!qc_completed)
else if (has_next)
goto fsm_start;
}

Expand Down Expand Up @@ -3866,7 +3866,8 @@ static void atapi_packet_task(void *_data)
* finished. Hence, the following locking.
*/
spin_lock_irqsave(&ap->host_set->lock, flags);
ap->flags &= ~ATA_FLAG_NOINTR;
#warning FIXME
/* ap->flags &= ~ATA_FLAG_NOINTR; */
ata_data_xfer(ap, qc->cdb, qc->dev->cdb_len, 1);
if (qc->tf.protocol == ATA_PROT_ATAPI_DMA)
ap->ops->bmdma_start(qc); /* initiate bmdma */
Expand Down Expand Up @@ -4200,7 +4201,7 @@ unsigned int ata_qc_issue_prot(struct ata_queued_cmd *qc)
ap->hsm_task_state = HSM_ST_LAST;

if (qc->tf.flags & ATA_TFLAG_POLLING)
ata_queue_pio_task(ap);
ata_port_queue_task(ap, ata_pio_task, ap, 0);

break;

Expand Down

0 comments on commit 7499ce4

Please sign in to comment.