From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brad Campbell Subject: Re: problem with pata_hpt37x ... Date: Thu, 04 Jan 2007 22:08:49 +0400 Message-ID: <459D42B1.20604@wasp.net.au> References: <20070102070144.GA11270@MAIL.13thfloor.at> <20070102145855.170c03e2@localhost.localdomain> <459D26D4.3010601@wasp.net.au> <20070104173058.GA2160@MAIL.13thfloor.at> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from wasp.net.au ([203.190.192.17]:35053 "EHLO wasp.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964817AbXADSJN (ORCPT ); Thu, 4 Jan 2007 13:09:13 -0500 In-Reply-To: <20070104173058.GA2160@MAIL.13thfloor.at> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Brad Campbell , Alan , Jeff Garzik , linux-ide@vger.kernel.org, Linux Kernel ML Herbert Poetzl wrote: > sounds great! where can I get that version? > should it be in 2.6.20-rc* or is there a separate > patch available somewhere? The patch was contained in the message from Alan to you that I replied to. I just applied it to a vanilla 2.6.20-rc3 tree and fired it up. (I've pasted it inline here for you but I'm using thunderbird and it's likely the resulting mess may not apply - not hard to manually change the required lines however) --- linux.vanilla-2.6.20-rc3/drivers/ata/pata_hpt37x.c 2007-01-01 21:43:27.000000000 +0000 +++ linux-2.6.20-rc3/drivers/ata/pata_hpt37x.c 2007-01-02 14:30:18.122801920 +0000 @@ -25,7 +25,7 @@ #include #define DRV_NAME "pata_hpt37x" -#define DRV_VERSION "0.5.1" +#define DRV_VERSION "0.5.2" struct hpt_clock { u8 xfer_speed; @@ -749,7 +749,7 @@ { struct ata_port *ap = qc->ap; struct pci_dev *pdev = to_pci_dev(ap->host->dev); - int mscreg = 0x50 + 2 * ap->port_no; + int mscreg = 0x50 + 4 * ap->port_no; u8 bwsr_stat, msc_stat; pci_read_config_byte(pdev, 0x6A, &bwsr_stat); Brad -- "Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so." -- Douglas Adams