Thread (2 messages) 2 messages, 2 authors, 2011-01-08

Re: [PATCH] pata_hpt3x2n: calculate average f_CNT

From: Jeff Garzik <hidden>
Date: 2011-01-08 03:34:35

On 12/28/2010 02:54 PM, Sergei Shtylyov wrote:
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<redacted>

---
The patch is against the recent Linus' tree plus the two patches I posted
before:

http://marc.info/?l=linux-ide&m=129356208121192
http://marc.info/?l=linux-ide&m=129330632207779

  drivers/ata/pata_hpt3x2n.c |   17 ++++++++++++++---
  1 file changed, 14 insertions(+), 3 deletions(-)
applied

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help