summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-05-16 22:39:50 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-05-16 22:39:50 +0000
commit971503cd62ad21f70068ffa10477c21c76cb608b (patch)
treef09d36109fb44d28b88d251e964be22b643a5c63
parentf29806a8732407f312d3c005f0f38b278516e810 (diff)
Enable framer only interrupts
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2517 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--wct4xxp/base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index 3f0e3a3..f9213df 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -1992,6 +1992,8 @@ static int t4_startup(struct zt_span *span)
/* enable interrupts */
/* Start DMA, enabling DMA interrupts on read only */
wc->dmactrl = 1 << 29;
+ /* Enable framer only interrupts */
+ wc->dmactrl |= 1 << 27;
wc->dmactrl |= (ts->spanflags & FLAG_2NDGEN) ? 0xc0000000 : 0xc0000003;
#ifdef VPM_SUPPORT
wc->dmactrl |= wc->vpm;