summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2008-11-23 15:00:31 +0000
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 18:42:54 +0900
commitf617682e9cabd5616dc2fe53c67762790eeb14d3 (patch)
tree24ce27f2184bfe63f3f5b40c63c846a60abb0c15
parentc2c5883b3fce61388eb02ca328072400eb54769c (diff)
downloadop-kernel-dev-f617682e9cabd5616dc2fe53c67762790eeb14d3.zip
op-kernel-dev-f617682e9cabd5616dc2fe53c67762790eeb14d3.tar.gz
sh: add SH DMAC burst mode constant
The SH7709 datasheet defines bit 5 as set for burst mode, clear for cycle-steal mode. Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/drivers/dma/dma-sh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/drivers/dma/dma-sh.h b/arch/sh/drivers/dma/dma-sh.h
index b05af34..05fecd5 100644
--- a/arch/sh/drivers/dma/dma-sh.h
+++ b/arch/sh/drivers/dma/dma-sh.h
@@ -29,6 +29,7 @@
#define RS_IN 0x00000200
#define RS_OUT 0x00000300
#define TS_BLK 0x00000040
+#define TM_BUR 0x00000020
#define CHCR_DE 0x00000001
#define CHCR_TE 0x00000002
#define CHCR_IE 0x00000004
OpenPOWER on IntegriCloud