]> git.baikalelectronics.ru Git - kernel.git/commit
ide: ide_start_power_step() fix WRT disabling DMA
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 19 Jul 2007 23:11:56 +0000 (01:11 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 19 Jul 2007 23:11:56 +0000 (01:11 +0200)
commit8f0336ae45a4c276208594d0f9211a962b5b9bca
tree5404c550d3687c70857311d2b4e170838f0fabf5
parent1c30177a996ebb63e98dec71ac817e89fd6b7d4f
ide: ide_start_power_step() fix WRT disabling DMA

* Do the same thing as probe_hwif() and always disable DMA so chipset DMA
  enabled bit gets cleared (if the drive doesn't support DMA ide_set_dma()
  won't try to tune it anyway).

* Add TODO comment about respecting ->using_dma setting.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-io.c