android_kernel_xiaomi_sm8350/drivers/ide/pci
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
..
aec62xx.c aec62xx: Fix kernel oops in driver's probe function 2007-11-27 21:35:53 +01:00
alim15x3.c alim15x3: add Mitac 8317 and derivatives to ali_cable_override() 2007-11-27 21:35:56 +01:00
amd74xx.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
atiixp.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
cmd64x.c cmd64x: don't clear the other channel's interrupt 2007-11-13 22:09:14 +01:00
cmd640.c ide: take ide_lock for prefetch disable/enable in do_special() 2007-10-20 00:32:36 +02:00
cs5520.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
cs5530.c ide: don't BUG() on unsupported transfer modes 2007-11-13 22:09:15 +01:00
cs5535.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
cy82c693.c cy82c693: fix build for CONFIG_HOTPLUG=n 2007-10-26 20:31:15 +02:00
delkin_cb.c ide: add ->fixup method to ide_hwif_t 2007-10-20 00:32:31 +02:00
generic.c drivers/ide/pci/generic: fix build for CONFIG_HOTPLUG=n 2007-10-26 20:31:15 +02:00
hpt34x.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
hpt366.c hpt366: fix HPT37x PIO mode timings (take 2) 2007-12-12 23:31:58 +01:00
it821x.c it821x/jmicron: fix return value of {it821x,jmicron}_init_one() 2007-11-13 22:09:16 +01:00
it8213.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
jmicron.c it821x/jmicron: fix return value of {it821x,jmicron}_init_one() 2007-11-13 22:09:16 +01:00
Makefile scc_pata: dependency fix 2007-03-17 21:57:25 +01:00
ns87415.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
opti621.c opti621: fix deadlock on error handling 2007-10-20 00:32:35 +02:00
pdc202xx_new.c pdc202xx_new: fix Promise TX4 support 2007-12-12 23:31:58 +01:00
pdc202xx_old.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
piix.c piix: add HP compaq laptop to short cable list 2007-11-27 21:35:56 +01:00
rz1000.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
sc1200.c ide: don't BUG() on unsupported transfer modes 2007-11-13 22:09:15 +01:00
scc_pata.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
serverworks.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
sgiioc4.c ide: remove write-only hwif->hw 2007-10-20 00:32:33 +02:00
siimage.c siimage: remove resetproc() method 2007-11-27 21:35:53 +01:00
sis5513.c sis5513.c: Add Packard Bell EasyNote K5305 to laptops 2007-11-27 21:35:52 +01:00
sl82c105.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
slc90e66.c slc90e66: fix deadlock on error handling 2007-10-20 00:32:35 +02:00
tc86c001.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
triflex.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
trm290.c trm290: remove bogus init_hwif_trm290() comment 2007-11-27 21:35:56 +01:00
via82cxxx.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00