ide: clear bmdma status in ide_intr() for ICHx controllers (revised #4)
commit4de632544dbaeabafba6aa42e9a1971ec8eeb022
authorAlbert Lee <albertcc@tw.ibm.com>
Sun, 22 Jul 2007 16:05:44 +0000 (22 18:05 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sun, 22 Jul 2007 16:05:44 +0000 (22 18:05 +0200)
treea714a9469d01a7569999461d2915cc6c141d1973
parent8b9320927b5a4f7b506609d8c0aded13550e42a7
ide: clear bmdma status in ide_intr() for ICHx controllers (revised #4)

patch 1/2 (revised):
- Fix drive->waiting_for_dma to work with CDB-intr devices.
- Do the dma status clearing in ide_intr() and add a new
  hwif->ide_dma_clear_irq for Intel ICHx controllers.

Revised per Alan, Sergei and Bart's advice.

Patch against 2.6.20-rc6. Tested ok on my ICH4 and pdc20275 adapters.
Please review/apply, thanks.

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/ide/ide-cd.c
drivers/ide/ide-io.c
drivers/ide/ide.c
drivers/ide/pci/piix.c
include/linux/ide.h