kernel-fxtec-pro1x/drivers/ide/pci
Sergei Shtylyov 836c0063c7 [PATCH] ide: HPT3xxN clocking fixes
Fix serious problems with the HPT372N clock turnaround code:

- the wrong ports were written to when called for the secondary channel;

- it didn't serialize access to the channels;

- turnaround shou;dn't be done on 66 MHz PCI;

- caching the clock mode per-channel caused it to get out of sync with the
  actual register value.

Additionally, avoid calibrating PLL twice (for each channel) as the second try
results in a wrong PCI frequency and thus in the wrong timings.

Make the driver deal with HPT302N and HPT371N correctly -- the clocking and
(seemingly) a need for clock tunaround is the same as for HPT372N.  HPT371/N
chips have only one, secondary channel, so avoid touching their "pure virtual"
primary channel, and disable it if the BIOS haven't done this already.

Also, while at it, disable UltraATA/133 for HPT372 by default -- 50 MHz DPLL
clock don't allow for this speed anyway.  And remove the traces of the former
bad patch that wasn't even applicable to this version of driver.

Has been tested on HPT370/371N, unfortunately I don't have an instant access
to the other chips...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-13 09:05:55 -08:00
..
aec62xx.c [PATCH] Fix 2.6.18-rc6 IDE breakage, add missing ident needed for current VIA boards 2006-09-11 07:53:44 -07:00
alim15x3.c [PATCH] ide: more conversion to pci_get APIs 2006-12-08 08:29:03 -08:00
amd74xx.c [PATCH] IDE: Add the support of nvidia PATA controllers of MCP67 to amd74xx.c 2006-11-03 12:27:59 -08:00
atiixp.c [PATCH] atiixp: ATI SB600 IDE support for various modes 2006-09-29 09:18:12 -07:00
cmd64x.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cmd640.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cs5520.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cs5530.c [PATCH] IDE: more pci_find cleanup 2006-10-03 08:04:09 -07:00
cs5535.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cy82c693.c [PATCH] IDE: more pci_find cleanup 2006-10-03 08:04:09 -07:00
generic.c [PATCH] drivers/ide/pci/generic.c: add missing newline to the all-generic-ide message 2006-10-30 12:08:41 -08:00
hpt34x.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
hpt366.c [PATCH] ide: HPT3xxN clocking fixes 2006-12-13 09:05:55 -08:00
it821x.c [PATCH] it821x: fix ide dma setup bug 2006-07-28 09:02:17 +02:00
jmicron.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
Makefile [MIPS] Remove IT8172-based platforms, ITE 8172G and Globespan IVR support. 2006-10-03 17:59:17 +01:00
ns87415.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
opti621.c [PATCH] ide: hotplug mark __devinit opti621.c 2005-07-03 16:33:16 +02:00
pdc202xx_new.c [PATCH] pdc202xx_new: fix PLL/timing issues 2006-12-10 09:55:41 -08:00
pdc202xx_old.c [PATCH] Enable cdrom dma access with pdc20265_old 2006-10-03 08:04:07 -07:00
piix.c [PATCH] ide-cd: Handle strange interrupt on the Intel ESB2 2006-12-10 09:57:20 -08:00
rz1000.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
sc1200.c [PATCH] CONFIG_PM=n slim: drivers/ide/pci/sc1200.c 2006-10-03 08:04:08 -07:00
serverworks.c [PATCH] serverworks: Switch to pci refcounted interfaces 2006-10-01 00:39:20 -07:00
sgiioc4.c [PATCH] sgiioc4: Disable module unload 2006-11-25 13:28:34 -08:00
siimage.c [PATCH] ide: remove dma_base2 field from ide_hwif_t 2006-10-03 08:04:08 -07:00
sis5513.c [PATCH] ide: more conversion to pci_get APIs 2006-12-08 08:29:03 -08:00
sl82c105.c [PATCH] sl82c105: straighten up IDE control/status register caching 2006-12-08 08:29:03 -08:00
slc90e66.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
triflex.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
trm290.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
via82cxxx.c [PATCH] via82cxxx: handle error condition properly 2006-12-07 08:39:32 -08:00