ide: ide_timing_compute() fixup
commit3dabcfef3e668f6dd32147d810a29ccbd55dc963
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 19 Jan 2010 19:30:09 +0000 (19 11:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jan 2010 19:30:09 +0000 (19 11:30 -0800)
tree13c8735dad44277edd2f8efe6b446eb95a6038cd
parent220c58bc6d1198c4c4e69a385d364602c38b6b1c
ide: ide_timing_compute() fixup

XFER_SW_DMA_0 mode should be excluded from the extended cycle
timing computations.

[ This is just a documentation fix -- code inside the affected
  'if' block already makes sure to accept only PIO modes. ]

Noticed-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-timings.c