irq-pio minor fixes for printk() and comments. Signed-off-by: Albert Lee <albertcc@xxxxxxxxxx> --- Patch against previous irq-pio snapshot. The current irq-pio branch (949ec2c8e6b7b89179b85baf6309c009e1a1b951) looks strange. Maybe it is under refresh. --- irq-pio-00/drivers/scsi/libata-core.c 2006-03-23 11:10:58.000000000 +0800 +++ irq-pio-deverr0/drivers/scsi/libata-core.c 2006-03-23 14:56:03.000000000 +0800 @@ -1283,7 +1283,7 @@ static int ata_dev_configure(struct ata_ 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; @@ -3562,6 +3562,9 @@ static int ata_hsm_move(struct ata_port } 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 */ @@ -3688,6 +3691,7 @@ fsm_start: ap->hsm_task_state = HSM_ST_IDLE; + /* complete taskfile transaction */ if (in_wq) ata_poll_qc_complete(qc); else @@ -4441,9 +4445,6 @@ inline unsigned int ata_host_intr (struc 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); - : send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html