From: Sergei Shtylyov Date: Tue, 28 Dec 2010 19:54:54 +0000 (+0300) Subject: pata_hpt3x2n: calculate average f_CNT X-Git-Tag: v2.6.38-rc1~441^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfc7e3e37d4a22ed5fd3f6e8c9842cb1246fee4f;p=pandora-kernel.git pata_hpt3x2n: calculate average f_CNT Allow hpt3x2n_pci_clock() to calculate the average f_CNT register value iff HighPoint BIOS hasn't saved one, just like the 'pata_hpt37x' driver (reading the full 16-bit register, unlike what that driver does), so that this driver would work correctly on e.g. non-x86 machine with 66 MHz PCI. I'm not sure why Alan has only done this in one driver and not the other... Signed-off-by: Sergei Shtylyov Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed