]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
siimage: PIO1/2 taskfile transfer overclocking fix
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sat, 17 Feb 2007 01:40:22 +0000 (02:40 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 17 Feb 2007 01:40:22 +0000 (02:40 +0100)
commit075cb65511df94b6900ef3288a76cd92185d5170
treebb5430e6cd40c2073c0ce6e42028bc09263ce840
parent6e6cd4c4388f399dd5726b826f02732c53df3ba5
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(-)
drivers/ide/pci/siimage.c