Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29397
b: refs/heads/master
c: 13ee462
h: refs/heads/master
i:
  29395: a235ead
v: v3
  • Loading branch information
Albert Lee authored and Jeff Garzik committed Mar 29, 2006
1 parent f205a6e commit 2ca99be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: cf2f7689f94ee02e52d5331bc1a87421a67a882c
refs/heads/master: 13ee4628ce68d1e54df01cc31239c8887c59e65d
5 changes: 3 additions & 2 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,7 @@ static int ata_dev_configure(struct ata_port *ap, struct ata_device *dev,
ap->id, device, dev->multi_count);
}

dev->cdb_len = 16;
}

/* ATAPI-specific feature tests */
Expand Down Expand Up @@ -4288,7 +4289,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_port_queue_task(ap, atapi_packet_task, ap, 0);
ata_port_queue_task(ap, ata_pio_task, ap, 0);
break;

case ATA_PROT_ATAPI_DMA:
Expand All @@ -4300,7 +4301,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_port_queue_task(ap, atapi_packet_task, ap, 0);
ata_port_queue_task(ap, ata_pio_task, ap, 0);
break;

default:
Expand Down

0 comments on commit 2ca99be

Please sign in to comment.