diff options
| author | Albert Lee <albertcc@tw.ibm.com> | 2006-03-25 05:07:48 -0500 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-03-29 17:22:36 -0500 |
| commit | 999bb6f4260f9499fdeab3f8fdcd8b9013eca39e (patch) | |
| tree | 9ba633841e27207bdbe9e08b76ee912962dd400e | |
| parent | c234fb00ea8999076728137d96603b713ad8b53f (diff) | |
[PATCH] libata-dev: irq-pio minor fixes (respin)
irq-pio minor fixes for printk() and comments.
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
| -rw-r--r-- | drivers/scsi/libata-core.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index 27078c06119a..d68f5d5b423a 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c | |||
| @@ -1295,7 +1295,7 @@ static int ata_dev_configure(struct ata_port *ap, struct ata_device *dev, | |||
| 1295 | if (dev->id[59] & 0x100) { | 1295 | if (dev->id[59] & 0x100) { |
| 1296 | dev->multi_count = dev->id[59] & 0xff; | 1296 | dev->multi_count = dev->id[59] & 0xff; |
| 1297 | DPRINTK("ata%u: dev %u multi count %u\n", | 1297 | DPRINTK("ata%u: dev %u multi count %u\n", |
| 1298 | ap->id, device, dev->multi_count); | 1298 | ap->id, dev->devno, dev->multi_count); |
| 1299 | } | 1299 | } |
| 1300 | 1300 | ||
| 1301 | dev->cdb_len = 16; | 1301 | dev->cdb_len = 16; |
| @@ -3594,6 +3594,9 @@ static int ata_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc, | |||
| 3594 | } | 3594 | } |
| 3595 | 3595 | ||
| 3596 | fsm_start: | 3596 | fsm_start: |
| 3597 | DPRINTK("ata%u: protocol %d task_state %d (dev_stat 0x%X)\n", | ||
| 3598 | ap->id, qc->tf.protocol, ap->hsm_task_state, status); | ||
| 3599 | |||
| 3597 | switch (ap->hsm_task_state) { | 3600 | switch (ap->hsm_task_state) { |
| 3598 | case HSM_ST_FIRST: | 3601 | case HSM_ST_FIRST: |
| 3599 | /* Send first data block or PACKET CDB */ | 3602 | /* Send first data block or PACKET CDB */ |
| @@ -3720,6 +3723,7 @@ fsm_start: | |||
| 3720 | 3723 | ||
| 3721 | ap->hsm_task_state = HSM_ST_IDLE; | 3724 | ap->hsm_task_state = HSM_ST_IDLE; |
| 3722 | 3725 | ||
| 3726 | /* complete taskfile transaction */ | ||
| 3723 | if (in_wq) | 3727 | if (in_wq) |
| 3724 | ata_poll_qc_complete(qc); | 3728 | ata_poll_qc_complete(qc); |
| 3725 | else | 3729 | else |
| @@ -4241,9 +4245,6 @@ inline unsigned int ata_host_intr (struct ata_port *ap, | |||
| 4241 | if (unlikely(status & ATA_BUSY)) | 4245 | if (unlikely(status & ATA_BUSY)) |
| 4242 | goto idle_irq; | 4246 | goto idle_irq; |
| 4243 | 4247 | ||
| 4244 | DPRINTK("ata%u: protocol %d task_state %d (dev_stat 0x%X)\n", | ||
| 4245 | ap->id, qc->tf.protocol, ap->hsm_task_state, status); | ||
| 4246 | |||
| 4247 | /* ack bmdma irq events */ | 4248 | /* ack bmdma irq events */ |
| 4248 | ap->ops->irq_clear(ap); | 4249 | ap->ops->irq_clear(ap); |
| 4249 | 4250 | ||
