trm290: do hook dma_host_{on,off} methods (take 2)
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 10 Jan 2008 22:03:42 +0000 (23:03 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 10 Jan 2008 22:03:42 +0000 (23:03 +0100)
commit93c0b5608086a103892aa78b7b83d7ecab60f7ab
treedf68dd4f3bfb28f98e0c0b9f2c7a1979a201d97c
parentb98f8803ccfe9d156d37a6eb471a620904085c80
trm290: do hook dma_host_{on,off} methods (take 2)

Using default methods caused the chip's DMA PRD count registers, inadvertently
starting DMA!  While fixing it, also do:

- get rid of the 'ide_' prefixes in several functions for which the prefix in
  the method's name has been 'ide_' ectomized already;

- align the code hooking the IDE DMA methods in init_hwif_trm290()...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/trm290.c