]> git.baikalelectronics.ru Git - kernel.git/commit
hpt366: fix HPT37x PIO mode timings (take 2)
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 12 Dec 2007 22:31:58 +0000 (23:31 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 12 Dec 2007 22:31:58 +0000 (23:31 +0100)
commitd1f7f3c39d47d9fb04c3837b2893a9493a52df11
tree97f7ccd0330c67de092f0c2e84141dd68d94700f
parent0675c43a756e236cf477e4b5439c66747189532f
hpt366: fix HPT37x PIO mode timings (take 2)

After looking into the HPT370 manual (now that I have it) and re-checking all
the timing tables, here's what I have discovered:

- at 33 MHz clock, PIO mode 0 timings turned to be overclocked, and all other
  PIO modes underclocked;

- at 50 MHz clock, PIO modes 0 to 2 turned to be overclocked;

- at 66 MHz clock, PIO mode 0 was overclocked too.

Finally, the taskfile timing (matching PIO mode 0) turned to be overclocked at
all clock frequencies (and in all manuals)...

The new timings have been tested on HPT370 chip (at 33 MHz PCI clock) and on
HPT371N chip (at both 50 and 66 MHz DPLL clock).

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/hpt366.c