[PATCH] libata-dev: irq-pio minor fix
authorAlbert Lee <albertcc@tw.ibm.com>
Mon, 3 Apr 2006 09:43:24 +0000 (17:43 +0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 4 Apr 2006 12:42:25 +0000 (08:42 -0400)
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>
drivers/scsi/libata-core.c
drivers/scsi/libata-eh.c

index 5653729..d270b23 100644 (file)
@@ -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
Simple merge