Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756241AbZKSO3y (ORCPT ); Thu, 19 Nov 2009 09:29:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753584AbZKSO3x (ORCPT ); Thu, 19 Nov 2009 09:29:53 -0500 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:35606 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752794AbZKSO3x (ORCPT ); Thu, 19 Nov 2009 09:29:53 -0500 Date: Thu, 19 Nov 2009 14:31:29 +0000 From: Alan Cox To: Sergei Shtylyov Cc: Bartlomiej Zolnierkiewicz , Alan Cox , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org Subject: Re: [PATCH 4/5] pata: Update experimental tags Message-ID: <20091119143129.0fe41623@lxorguk.ukuu.org.uk> In-Reply-To: <4B05533A.7020508@ru.mvista.com> References: <20091117144450.15430.83450.stgit@localhost.localdomain> <20091118184125.623e063d@lxorguk.ukuu.org.uk> <200911182007.07405.bzolnier@gmail.com> <200911182056.16517.bzolnier@gmail.com> <20091119140259.2fee86e2@lxorguk.ukuu.org.uk> <4B05533A.7020508@ru.mvista.com> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.14.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 720 Lines: 21 > Point out the breakage please. The driver has been developed and tested > on non-x86 machine with 66 MHz PCI. static int init_chipset_hpt366(struct pci_dev *dev) if (chip_type >= HPT370) { if ((temp & 0xFFFFF000) != 0xABCDE000) { it then falls through and gets a 33MHz answer from the tests. If I stash the MHz answer from boot then it works. So I imagine the boot time value just needs to be dumped into a static for resume to use. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/