]> git.baikalelectronics.ru Git - kernel.git/commit
atiixp: fix missing parentheses
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 25 Feb 2009 19:28:22 +0000 (20:28 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 25 Feb 2009 19:28:22 +0000 (20:28 +0100)
commitee14fb148d8f8f4455d9060366a63c03807f961f
tree3937a77a4604baac37179b94a0b3c4857d83d4be
parent52005f0c27dfb56d69d3c25beebc9f0cd1264310
atiixp: fix missing parentheses

Fix missing parentheses so PIO/DMA timings for master device on the
second channel are programmed correctly (IOW "8 0 24 16" offset values
should be used instead of the current "8 0 16 16").

[ The bug went unnoticed because after PIO/DMA timings get programmed
  incorrectly for the third device they are overwritten with timings
  for the fourth device and since BIOS should also program timings for
  the third device everything should work fine until suspend/resume
  cycle or user requested transfer mode changes. ]

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
[bart: update patch description]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/atiixp.c