android_kernel_xiaomi_sm8350/drivers/ide
Sergei Shtylyov 075cb65511 siimage: PIO1/2 taskfile transfer overclocking fix
Fix two typos found by SiI680A documentation check.  They caused the taskfile
transfer overclocking:

- in PIO mode 1 as 0x2283 must be used for both data and taskfile transfers;

- in PIO mode 2 as data and taskfile timings are swapped when writing to the
  MMIO regs.

Fix coding style and trailing whitespace in enclosing statements while at it...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

 drivers/ide/pci/siimage.c |   59 ++++++++++++++++++++++------------------------
 1 file changed, 29 insertions(+), 30 deletions(-)
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 siimage: PIO1/2 taskfile transfer overclocking fix 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: unregister idepnp driver on unload 2007-01-27 13:47:02 +01:00
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