From e966cfb73b3f44949a21322ae0c5b897c4e8178f Mon Sep 17 00:00:00 2001 From: "Eddie C. Dost" Date: Wed, 6 Jul 2005 15:41:54 -0700 Subject: [PATCH] --- yaml --- r: 4188 b: refs/heads/master c: e3e01d6005ab4b0877f1fb3efef7f5b745e743be h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-sparc64/parport.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index dcdd2034baf0..b0924f3795e8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9d7495330be2fd88ab939fa5080d3ca9f64368c2 +refs/heads/master: e3e01d6005ab4b0877f1fb3efef7f5b745e743be diff --git a/trunk/include/asm-sparc64/parport.h b/trunk/include/asm-sparc64/parport.h index b7e635544cec..56b5197d7898 100644 --- a/trunk/include/asm-sparc64/parport.h +++ b/trunk/include/asm-sparc64/parport.h @@ -27,12 +27,12 @@ static struct sparc_ebus_info { static __inline__ void enable_dma(unsigned int dmanr) { + ebus_dma_enable(&sparc_ebus_dmas[dmanr].info, 1); + if (ebus_dma_request(&sparc_ebus_dmas[dmanr].info, sparc_ebus_dmas[dmanr].addr, sparc_ebus_dmas[dmanr].count)) BUG(); - - ebus_dma_enable(&sparc_ebus_dmas[dmanr].info, 1); } static __inline__ void disable_dma(unsigned int dmanr)