From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH libata-2.6] AHCI: print port ID not number Date: Thu, 24 Feb 2005 18:35:07 -0500 Message-ID: <421E64AB.8090600@pobox.com> References: <20050224200353.DA17314FBC@lns1032.lss.emc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:1483 "EHLO parcelfarce.linux.theplanet.co.uk") by vger.kernel.org with ESMTP id S262558AbVBXXfb (ORCPT ); Thu, 24 Feb 2005 18:35:31 -0500 In-Reply-To: <20050224200353.DA17314FBC@lns1032.lss.emc.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Brett Russ Cc: linux-ide@vger.kernel.org Brett Russ wrote: > 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 > > --- 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