summaryrefslogtreecommitdiff
path: root/wct4xxp.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-01-31 06:38:05 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-01-31 06:38:05 +0000
commita14dcbfaa910f2c78ea4adfe20af8f29e4df727f (patch)
treeeee63fdc9cef2fcabf048f85f579e429768d7706 /wct4xxp.c
parentd8e95072fbcbfb939b268eebfc8a9fe79ab428b9 (diff)
Fix compile warning in tdm2400p and make sure dmactrl is updated if vpm
detected. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@927 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp.c')
-rw-r--r--wct4xxp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wct4xxp.c b/wct4xxp.c
index 2ee6552..750a293 100644
--- a/wct4xxp.c
+++ b/wct4xxp.c
@@ -1483,6 +1483,8 @@ static int t4_startup(struct zt_span *span)
if (!alreadyrunning && !wc->vpm) {
wait_a_little();
t4_vpm_init(wc);
+ wc->dmactrl |= wc->vpm;
+ t4_pci_out(wc, WC_DMACTRL, wc->dmactrl);
}
#endif
printk("Completed startup!\n");