[SPARC64]: Fix enable_dma() in asm-sparc64/parport.h
authorEddie C. Dost <ecd@brainaid.de>
Wed, 6 Jul 2005 22:41:54 +0000 (15:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jul 2005 22:41:54 +0000 (15:41 -0700)
commite3e01d6005ab4b0877f1fb3efef7f5b745e743be
tree0cb9fc0f68159edf52c08ee63b7891e0efba8942
parent9d7495330be2fd88ab939fa5080d3ca9f64368c2
[SPARC64]: Fix enable_dma() in asm-sparc64/parport.h

Call ebus_dma_enable() before calling ebus_dma_request(), otherwise
ebus_dma_request() returns -EINVAL and enable_dma() calls BUG()...

Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-sparc64/parport.h