Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29406
b: refs/heads/master
c: 999bb6f
h: refs/heads/master
v: v3
  • Loading branch information
Albert Lee authored and Jeff Garzik committed Mar 29, 2006
1 parent c7f30fd commit f8049b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: c234fb00ea8999076728137d96603b713ad8b53f
refs/heads/master: 999bb6f4260f9499fdeab3f8fdcd8b9013eca39e
9 changes: 5 additions & 4 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ static int ata_dev_configure(struct ata_port *ap, struct ata_device *dev,
if (dev->id[59] & 0x100) {
dev->multi_count = dev->id[59] & 0xff;
DPRINTK("ata%u: dev %u multi count %u\n",
ap->id, device, dev->multi_count);
ap->id, dev->devno, dev->multi_count);
}

dev->cdb_len = 16;
Expand Down Expand Up @@ -3594,6 +3594,9 @@ static int ata_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc,
}

fsm_start:
DPRINTK("ata%u: protocol %d task_state %d (dev_stat 0x%X)\n",
ap->id, qc->tf.protocol, ap->hsm_task_state, status);

switch (ap->hsm_task_state) {
case HSM_ST_FIRST:
/* Send first data block or PACKET CDB */
Expand Down Expand Up @@ -3720,6 +3723,7 @@ static int ata_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc,

ap->hsm_task_state = HSM_ST_IDLE;

/* complete taskfile transaction */
if (in_wq)
ata_poll_qc_complete(qc);
else
Expand Down Expand Up @@ -4241,9 +4245,6 @@ inline unsigned int ata_host_intr (struct ata_port *ap,
if (unlikely(status & ATA_BUSY))
goto idle_irq;

DPRINTK("ata%u: protocol %d task_state %d (dev_stat 0x%X)\n",
ap->id, qc->tf.protocol, ap->hsm_task_state, status);

/* ack bmdma irq events */
ap->ops->irq_clear(ap);

Expand Down

0 comments on commit f8049b2

Please sign in to comment.