diff options
-rw-r--r-- | include/asm-sparc64/dma.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-sparc64/dma.h b/include/asm-sparc64/dma.h index 27f65972b3bb..93e5a062df88 100644 --- a/include/asm-sparc64/dma.h +++ b/include/asm-sparc64/dma.h | |||
@@ -152,9 +152,9 @@ extern void dvma_init(struct sbus_bus *); | |||
152 | #define DMA_MAXEND(addr) (0x01000000UL-(((unsigned long)(addr))&0x00ffffffUL)) | 152 | #define DMA_MAXEND(addr) (0x01000000UL-(((unsigned long)(addr))&0x00ffffffUL)) |
153 | 153 | ||
154 | /* Yes, I hack a lot of elisp in my spare time... */ | 154 | /* Yes, I hack a lot of elisp in my spare time... */ |
155 | #define DMA_ERROR_P(regs) (((sbus_readl((regs) + DMA_CSR) & DMA_HNDL_ERROR)) | 155 | #define DMA_ERROR_P(regs) ((sbus_readl((regs) + DMA_CSR) & DMA_HNDL_ERROR)) |
156 | #define DMA_IRQ_P(regs) (((sbus_readl((regs) + DMA_CSR)) & (DMA_HNDL_INTR | DMA_HNDL_ERROR))) | 156 | #define DMA_IRQ_P(regs) ((sbus_readl((regs) + DMA_CSR)) & (DMA_HNDL_INTR | DMA_HNDL_ERROR)) |
157 | #define DMA_WRITE_P(regs) (((sbus_readl((regs) + DMA_CSR) & DMA_ST_WRITE)) | 157 | #define DMA_WRITE_P(regs) ((sbus_readl((regs) + DMA_CSR) & DMA_ST_WRITE)) |
158 | #define DMA_OFF(__regs) \ | 158 | #define DMA_OFF(__regs) \ |
159 | do { u32 tmp = sbus_readl((__regs) + DMA_CSR); \ | 159 | do { u32 tmp = sbus_readl((__regs) + DMA_CSR); \ |
160 | tmp &= ~DMA_ENABLE; \ | 160 | tmp &= ~DMA_ENABLE; \ |