aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/shdma.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-12-17 05:16:10 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-12-17 05:16:10 -0500
commit03aa18f550900855c1d3d17ac83c14a3d668d344 (patch)
tree6aab2e924e1c11a931fa6e491215e7f6b45b343a /drivers/dma/shdma.h
parent76496f8f2e104b8bb08db09c063a6817d18829a6 (diff)
dma: shdma: NMI support.
Presently DMA transfers are interrupted and aborted by the NMI. This implements some basic logic for more gracefully handling and clearing each controller's NMIF flag via the NMI die chain, needed to resume transfers post-NMI. Reported-by: Michael Szafranek <Michael.Szafranek@emtrion.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/dma/shdma.h')
-rw-r--r--drivers/dma/shdma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/shdma.h b/drivers/dma/shdma.h
index 4021275a0a43..52e4fb173805 100644
--- a/drivers/dma/shdma.h
+++ b/drivers/dma/shdma.h
@@ -43,6 +43,7 @@ struct sh_dmae_device {
43 struct dma_device common; 43 struct dma_device common;
44 struct sh_dmae_chan *chan[SH_DMAC_MAX_CHANNELS]; 44 struct sh_dmae_chan *chan[SH_DMAC_MAX_CHANNELS];
45 struct sh_dmae_pdata *pdata; 45 struct sh_dmae_pdata *pdata;
46 struct list_head node;
46 u32 __iomem *chan_reg; 47 u32 __iomem *chan_reg;
47 u16 __iomem *dmars; 48 u16 __iomem *dmars;
48}; 49};