--- linux/drivers/scsi/sata_qstor.c.printk 2006-11-06 09:50:02.000000000 -0500 +++ linux/drivers/scsi/sata_qstor.c 2006-11-13 09:25:49.000000000 -0500 @@ -431,6 +431,7 @@ if (ap && !(ap->flags & ATA_FLAG_DISABLED)) { struct ata_queued_cmd *qc; + u8 status = ata_check_status(ap); struct qs_port_priv *pp = ap->private_data; if (!pp || pp->state != qs_state_mmio) continue; @@ -438,7 +439,7 @@ if (qc && (!(qc->tf.flags & ATA_TFLAG_POLLING))) { /* check main status, clearing INTRQ */ - u8 status = ata_check_status(ap); + //u8 status = ata_check_status(ap); if ((status & ATA_BUSY)) continue; DPRINTK("ata%u: protocol %d (dev_stat 0x%X)\n",