android_kernel_xiaomi_sm7250/drivers/ide
Sergei Shtylyov 809b53c4ef 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>
2007-12-12 23:31:58 +01:00
..
arm ide/arm/icside: fallout from commit 86f3a492bb 2007-10-27 22:18:11 -07:00
cris ide-cris: don't override ide_register_hw() result 2007-11-27 21:35:55 +01:00
h8300 icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
legacy ali14xx: constify __initdata 2007-11-27 21:35:57 +01:00
mips [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
pci hpt366: fix HPT37x PIO mode timings (take 2) 2007-12-12 23:31:58 +01:00
ppc drivers/ide: Add missing "space" 2007-11-27 21:35:55 +01:00
ide-acpi.c ide: fix ->data_phase in taskfile_load_raw() 2007-10-20 00:32:37 +02:00
ide-cd.c ide-cd: remove dead post_transform_command() 2007-12-12 23:31:58 +01:00
ide-cd.h ide-cd: replace C code with call to ARRAY_SIZE() macro 2007-07-09 23:17:57 +02:00
ide-disk.c ide: DMA reporting and validity checking fixes (take 3) 2007-12-12 23:31:58 +01:00
ide-dma.c ide: DMA reporting and validity checking fixes (take 3) 2007-12-12 23:31:58 +01:00
ide-floppy.c Fixup rq_for_each_segment() indentation 2007-10-10 09:25:56 +02:00
ide-generic.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
ide-io.c ide: add missing checks for control register existence 2007-12-12 23:31:57 +01:00
ide-iops.c ide: DMA reporting and validity checking fixes (take 3) 2007-12-12 23:31:58 +01:00
ide-lib.c ide: DMA reporting and validity checking fixes (take 3) 2007-12-12 23:31:58 +01:00
ide-pnp.c icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
ide-probe.c ide: add missing checks for control register existence 2007-12-12 23:31:57 +01:00
ide-proc.c ide: add ide_device_add() 2007-10-20 00:32:31 +02:00
ide-tape.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-10-19 20:36:17 -07:00
ide-taskfile.c ide: add missing #ifdef/#endif CONFIG_IDE_TASK_IOCTL 2007-11-05 21:42:27 +01:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: add /sys/bus/ide/devices/*/{model,firmware,serial} sysfs entries 2007-12-12 23:31:58 +01:00
Kconfig ide: deprecate CONFIG_BLK_DEV_OFFBOARD 2007-12-12 23:31:57 +01:00
Makefile ide: add CONFIG_IDE_H8300 config option 2007-11-27 21:35:54 +01:00
setup-pci.c ide: coding style fixes for drivers/ide/setup-pci.c 2007-12-12 23:31:57 +01:00