linux/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
legacy
mips
pci serverworks: fix CSB6 tuning logic 2007-06-08 15:14:28 +02:00
ppc
ide-acpi.c
ide-cd.c
ide-cd.h
ide-disk.c
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-generic.c
ide-io.c ide: always disable DMA before tuning it 2007-05-16 00:51:43 +02:00
ide-iops.c
ide-lib.c ide: remove ide_dma_enable() 2007-05-16 00:51:46 +02:00
ide-pnp.c
ide-probe.c
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-taskfile.c
ide-timing.h
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
setup-pci.c