android_kernel_xiaomi_sm8350/drivers/ide
Sergei Shtylyov fed21641be pdc202xx_old: fix PIO mode setup
Fix the driver's tuneproc() method to always set the PIO mode requested and not
pick the best possible one, rename it to pdc202xx_tune_drive(), and change the
calls to it accordingly; remove the preceding comment which has nothing to do
with the code.

Sergei Shtylyov wrote:
>     The tuneproc() method should take arg 255 for auto-selecting the best PIO
> mode, not 5 as it did here + this driver's method always auto-selected instead
> of setting the mode it's been told to -- issue typical to drivers/ide/...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-02-17 02:40:22 +01:00
..
arm
cris
h8300
legacy [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
mips
pci pdc202xx_old: fix PIO mode setup 2007-02-17 02:40:22 +01:00
ppc [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ide-acpi.c ide-acpi support warning fix 2007-02-07 18:19:42 +01:00
ide-cd.c ide: remove clearing bmdma status from cdrom_decode_status() (rev #4) 2007-02-17 02:40:22 +01:00
ide-cd.h
ide-disk.c
ide-dma.c
ide-floppy.c ide-floppy: Fix unformatted media crash 2007-02-17 02:40:20 +01:00
ide-generic.c
ide-io.c ide: clear bmdma status in ide_intr() for ICHx controllers (revised #4) 2007-02-17 02:40:21 +01:00
ide-iops.c
ide-lib.c
ide-pnp.c
ide-probe.c ACPI support for IDE devices 2007-02-07 18:19:37 +01:00
ide-proc.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ide-tape.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ide-taskfile.c
ide-timing.h
ide.c ide: clear bmdma status in ide_intr() for ICHx controllers (revised #4) 2007-02-17 02:40:21 +01:00
Kconfig ACPI support for IDE devices 2007-02-07 18:19:37 +01:00
Makefile ACPI support for IDE devices 2007-02-07 18:19:37 +01:00
setup-pci.c PCI: add the sysfs driver name to all modules 2007-02-07 10:37:12 -08:00