linux-hardened/drivers/ide
Sergei Shtylyov f92d50e6fd cmd64x: fix PIO mode setup (take 3)
The driver's tuneproc() method fails to set the drive's own speed -- fix this
by renaming the function to cmd64x_tune_pio(), making it return the mode set,
and "wrapping" the new tuneproc() method around it; while at it, also get rid
of the non-working prefetch control code (filtering out related argument values
in the "wrapper"), remove redundant PIO5 mode limitation, make cmdprintk() give
more sensible mode info, and remove mention about the obsolete /proc/ interface.
Get rid of the broken config_chipset_for_pio() which always tried to set PIO4,
switch to always auto-tuning PIO instead.
Oh, and add the missing PIO5 support to the speedproc() method while at it. :-)

Warning: compile tested only -- getting to the real hardware isn't that easy...

On Tuesday 06 February 2007 22:11, Mikael Pettersson <mikpe@it.uu.se> wrote:
> 
> Worked fine on my SPARC Ultra5 with a CMD646 IDE controller.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-03-03 17:48:53 +01:00
..
arm ide: make ide_hwif_t.ide_dma_host_on void (v2) 2007-02-17 02:40:26 +01:00
cris ide: make ide_hwif_t.ide_dma_host_on void (v2) 2007-02-17 02:40:26 +01:00
h8300 ide: convert ide_hwif_t.mmio into flag (v2) 2007-02-17 02:40:25 +01:00
legacy ide: convert ide_hwif_t.mmio into flag (v2) 2007-02-17 02:40:25 +01:00
mips ide: make ide_hwif_t.ide_dma_host_on void (v2) 2007-02-17 02:40:26 +01:00
pci cmd64x: fix PIO mode setup (take 3) 2007-03-03 17:48:53 +01:00
ppc ide: make ide_hwif_t.ide_dma_host_on void (v2) 2007-02-17 02:40:26 +01:00
ide-acpi.c ide-acpi support warning fix 2007-02-07 18:19:42 +01:00
ide-cd.c ide: make ide_hwif_t.ide_dma_{host_off,off_quietly} void (v2) 2007-02-17 02:40:26 +01: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: remove ide_drive_t.usage 2007-02-17 02:40:24 +01:00
ide-dma.c ide: make ide_hwif_t.ide_dma_host_on void (v2) 2007-02-17 02:40:26 +01:00
ide-floppy.c ide: make ide_hwif_t.ide_dma_{host_off,off_quietly} void (v2) 2007-02-17 02:40:26 +01:00
ide-generic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ide-io.c ide: make ide_hwif_t.ide_dma_{host_off,off_quietly} void (v2) 2007-02-17 02:40:26 +01:00
ide-iops.c ide: make ide_hwif_t.ide_dma_host_on void (v2) 2007-02-17 02:40:26 +01:00
ide-lib.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
ide-pnp.c ide: unregister idepnp driver on unload 2007-01-27 13:47:02 +01:00
ide-probe.c ide: make ide_hwif_t.ide_dma_{host_off,off_quietly} void (v2) 2007-02-17 02:40:26 +01:00
ide-proc.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ide-tape.c ide: make ide_hwif_t.ide_dma_{host_off,off_quietly} void (v2) 2007-02-17 02:40:26 +01: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: make ide_hwif_t.ide_dma_host_on void (v2) 2007-02-17 02:40:26 +01:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-02-19 13:29:02 -08:00
Makefile drivers/ide: PATA driver for Celleb 2007-02-17 02:40:22 +01:00
setup-pci.c PCI: add the sysfs driver name to all modules 2007-02-07 10:37:12 -08:00