summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/apb.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-26 20:13:01 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-26 20:13:01 +0100
commit07a085ebd35ba0d4e2d88b9044563661dbca2471 (patch)
tree9e401b547877850ba56117a37be3a270beb25db3 /include/asm-sparc64/apb.h
parent4a546e046d562bcd389149591fa5a534c8f832ca (diff)
downloadop-kernel-dev-07a085ebd35ba0d4e2d88b9044563661dbca2471.zip
op-kernel-dev-07a085ebd35ba0d4e2d88b9044563661dbca2471.tar.gz
ide-cris: fix DMA methods
* Rename cris_dma_{on,off}() to cris_dma_host_{on,off}(). * Remove no longer needed ->dma_off_quietly (IDE core has the needed code now). * Make cris_dma_host_on() void. I left fixing ide-cris after "kill dma_on/dma_off_quietly() methods" patch because: * Currently this driver is broken: cris_dma_on() (returns 'int') is assigned to hwif->dma_host_on (returns 'void') so the driver won't build. * ->ide_dma_on method was missing so the driver OOPS-es on attempt to enable DMA. * drive->using_dma was never set/cleared so DMA wouldn't be used anyway. Unfortunately it seems that ide-cris stays broken even after this patch: * V10: <asm/arch-v10/ide.h> needs fixing - ide_init_default_hwifs() should be removed (IDE core no longer uses it) - same for ide_init_hwif_ports() and ide_default_{irq,io_base}() (they shouldn't be needed for ide-cris host driver) * V32: I'm unable to find a place which defines ETRAX_ARCH_V32 but I'm leaving fixing this to CRIS gurus. :) Cc: Mikael Starvik <starvik@axis.com> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/asm-sparc64/apb.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud