The attached patch fixes the "ata#: error occurred, port reset" line to display the port id instead of the port number.
Signed-off-by: Brett Russ <[EMAIL PROTECTED]>
--- libata-2.6/drivers/scsi/ahci.c Thu Feb 24 14:18:35 2005
+++ libata-2.6-ahci-printk/drivers/scsi/ahci.c Thu Feb 24 14:21:41 2005
@@ -574,7 +574,7 @@
writel(tmp, port_mmio + PORT_CMD);
readl(port_mmio + PORT_CMD); /* flush */
- printk(KERN_WARNING "ata%u: error occurred, port reset\n", ap->port_no);
+ printk(KERN_WARNING "ata%u: error occurred, port reset\n", ap->id);
I applied this manually a little while ago, but in any case,
I verified that this patch applies correctly and successfully, so your patch submissions are coming in loud-and-clear now.
Thanks,
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html