android_kernel_samsung_msm8976/drivers/ide
Bartlomiej Zolnierkiewicz 1abb8a8b84 serverworks: fix CSB6 tuning logic
Problem noticed by Joe Zbiciak, see

	http://kerneltrap.org/node/8252

for details.

On CSB6 the driver is using BIOS settings and not programming DMA/PIO timings
itself.  However the logic was completely broken and resulted in wrong timings
being silently allowed (instead of being corrected by the driver).

This bug would explain some data corruption/timeout issues with Serverworks
MegaIDE in RAID mode that Alan Cox has fixed recently with:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=2074a106f52b6371885afbd714e929d60d0e3f64

For 2.6.23 we may be better off with completely switching the driver to always
programming timings (libata pata_serverworks.c driver is doing things this way
and there were no problems reported so far) but for 2.6.22 lets fix the bug
in the simplest and the least intrusive way.

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-06-08 15:14:28 +02:00
..
arm [ARM] ecard: add ecardm_iomap() / ecardm_iounmap() 2007-05-11 17:19:02 +01:00
cris ide: use ide_tune_dma() part #2 2007-05-16 00:51:43 +02:00
h8300 ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
legacy ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
mips ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
pci serverworks: fix CSB6 tuning logic 2007-06-08 15:14:28 +02:00
ppc ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
ide-acpi.c ide-acpi support warning fix 2007-02-07 18:19:42 +01:00
ide-cd.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
ide-cd.h [PATCH] ide-cd: remove write-only cmd field from struct cdrom_info 2005-12-15 02:20:49 +01:00
ide-disk.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
ide-dma.c Match DMA blacklist entries between ide-dma.c and libata-core.c 2007-05-24 02:42:38 +02:00
ide-floppy.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
ide-generic.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
ide-io.c ide: always disable DMA before tuning it 2007-05-16 00:51:43 +02:00
ide-iops.c ide: cable detection fixes (take 2) 2007-05-10 00:01:10 +02:00
ide-lib.c ide: remove ide_dma_enable() 2007-05-16 00:51:46 +02:00
ide-pnp.c ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
ide-probe.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
ide-proc.c Add two missing chipsets to drivers/ide/ide-proc.c 2007-05-24 02:42:38 +02:00
ide-tape.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
ide-taskfile.c [PATCH] ide: add sanity checking to ide taskfile ioctl 2006-10-16 08:27:54 -07:00
ide-timing.h [PATCH] ide: actually honor drive's minimum PIO/DMA cycle times 2006-06-26 09:58:27 -07:00
ide.c ide: always disable DMA before tuning it 2007-05-16 00:51:43 +02:00
Kconfig Use menuconfig objects: IDE 2007-05-16 00:51:46 +02:00
Makefile ide: make /proc/ide/ optional 2007-05-10 00:01:09 +02:00
setup-pci.c ide: legacy PCI bus order probing fixes 2007-05-10 00:01:11 +02:00