Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29372
b: refs/heads/master
c: 20ea079
h: refs/heads/master
v: v3
  • Loading branch information
Albert Lee authored and Jeff Garzik committed Feb 9, 2006
1 parent 1d344b5 commit 8941ddf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 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: aef9d533da2eb7a5700a8c8700f2597c35cc50d1
refs/heads/master: 20ea079e5883ab2b82fa5e576957f52e4e5c252c
12 changes: 3 additions & 9 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1072,12 +1072,6 @@ static unsigned int ata_pio_modes(const struct ata_device *adev)
timing API will get this right anyway */
}

static inline void
ata_queue_packet_task(struct ata_port *ap)
{
queue_work(ata_wq, &ap->packet_task);
}

static inline void
ata_queue_pio_task(struct ata_port *ap)
{
Expand Down Expand Up @@ -3971,7 +3965,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)
queue_work(ata_wq, &ap->pio_task);
ata_queue_pio_task(ap);

break;

Expand Down Expand Up @@ -4024,7 +4018,7 @@ unsigned int ata_qc_issue_prot(struct ata_queued_cmd *qc)
/* send cdb by polling if no cdb interrupt */
if ((!(qc->dev->flags & ATA_DFLAG_CDB_INTR)) ||
(qc->tf.flags & ATA_TFLAG_POLLING))
ata_queue_packet_task(ap);
ata_queue_pio_task(ap);
break;

case ATA_PROT_ATAPI_DMA:
Expand All @@ -4036,7 +4030,7 @@ unsigned int ata_qc_issue_prot(struct ata_queued_cmd *qc)

/* send cdb by polling if no cdb interrupt */
if (!(qc->dev->flags & ATA_DFLAG_CDB_INTR))
ata_queue_packet_task(ap);
ata_queue_pio_task(ap);
break;

default:
Expand Down

0 comments on commit 8941ddf

Please sign in to comment.