]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ide: clear bmdma status in ide_intr() for ICHx controllers (revised #4)
authorAlbert Lee <albertcc@tw.ibm.com>
Wed, 21 Mar 2007 20:08:08 +0000 (16:08 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Apr 2007 10:43:11 +0000 (03:43 -0700)
commit9757c1a00e0494b5bb19383c9cba2906b471464e
tree0ecc522579283707aab942b880e46f18a7955cc0
parente947fa65e90d410219fc93d4b92c287bbc041773
ide: clear bmdma status in ide_intr() for ICHx controllers (revised #4)

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>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Adam Hawks <awhawks@us.ibm.com>
Cc: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ide/ide-cd.c
drivers/ide/ide-io.c
drivers/ide/ide.c
drivers/ide/pci/piix.c
include/linux/ide.h