aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-core.c
diff options
context:
space:
mode:
authorAlbert Lee <albertcc@tw.ibm.com>2006-04-03 17:43:24 +0800
committerJeff Garzik <jeff@garzik.org>2006-04-04 08:42:25 -0400
commit4332a771f4d2f23a6d3beff3dd5405e79775a211 (patch)
tree4d4dbcb97e1ff0ac89d49ab36ed6c248e348c4ce /drivers/scsi/libata-core.c
parent862cff63781e3a9de85d8947c82d55f4cc95572b (diff)
downloadlinux-4332a771f4d2f23a6d3beff3dd5405e79775a211.tar.gz
[PATCH] libata-dev: irq-pio minor fix
irq-pio minor fix: - remove the redundant hsm_task_state = HSM_ST_IDLE - add devno to printk() as done in upstream Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/libata-core.c')
-rw-r--r--drivers/scsi/libata-core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index 56537293ad413..d270b23a03b8d 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -4043,8 +4043,8 @@ fsm_start:
}
/* no more data to transfer */
- DPRINTK("ata%u: command complete, drv_stat 0x%x\n",
- ap->id, status);
+ DPRINTK("ata%u: dev %u command complete, drv_stat 0x%x\n",
+ ap->id, qc->dev->devno, status);
WARN_ON(qc->err_mask);
@@ -4061,8 +4061,8 @@ fsm_start:
case HSM_ST_ERR:
if (qc->tf.command != ATA_CMD_PACKET)
- printk(KERN_ERR "ata%u: command error, drv_stat 0x%x\n",
- ap->id, status);
+ printk(KERN_ERR "ata%u: dev %u command error, drv_stat 0x%x\n",
+ ap->id, qc->dev->devno, status);
/* make sure qc->err_mask is available to
* know what's wrong and recover