summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_hpt37x.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2010-12-28 20:54:54 +0100
committerJeff Garzik <jgarzik@redhat.com>2011-01-08 04:33:27 +0100
commitdfc7e3e37d4a22ed5fd3f6e8c9842cb1246fee4f (patch)
tree79afe7d5a7a3c99b68c894a3fadcea6f187e0869 /drivers/ata/pata_hpt37x.c
parentpata_hpt3x2n: clarify about HPT371N support (diff)
downloadlinux-dfc7e3e37d4a22ed5fd3f6e8c9842cb1246fee4f.tar.xz
linux-dfc7e3e37d4a22ed5fd3f6e8c9842cb1246fee4f.zip
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 <sshtylyov@ru.mvista.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_hpt37x.c')
0 files changed, 0 insertions, 0 deletions