siimage: PIO1/2 taskfile transfer overclocking fix
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sun, 8 Apr 2007 23:16:18 +0000 (01:16 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sun, 8 Apr 2007 23:16:18 +0000 (01:16 +0200)
commite6f8caf0c41f27510c8a0c43a29b2e6f62a2dc56
treef6993acb63ef083455654d8047c1f9c2bf2dce25
parent75da4e64268ffdbd56143b4642d340b9bf3ee350
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>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/ide/pci/siimage.c