• Sergei Shtylyov's avatar
    siimage: PIO1/2 taskfile transfer overclocking fix · 075cb655
    Sergei Shtylyov authored
    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: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    
     drivers/ide/pci/siimage.c |   59 ++++++++++++++++++++++------------------------
     1 file changed, 29 insertions(+), 30 deletions(-)
    075cb655
siimage.c 27.4 KB