summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-08-14 16:15:30 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-08-14 16:15:30 +0000
commit1fb153c87c57cb4d09d9be7116ae88f98e29f496 (patch)
tree1cb51c2136abdff63db43f17c1212ed9015bd6f6
parent5586967a6f401b57a2720f2d111f0dcae6847af9 (diff)
Fix lack of interrupts on driver reload / soft reboot
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@735 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xwct4xxp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wct4xxp.c b/wct4xxp.c
index 23103ac..0e36e42 100755
--- a/wct4xxp.c
+++ b/wct4xxp.c
@@ -1384,6 +1384,8 @@ static int t4_startup(struct zt_span *span)
#ifdef VPM_SUPPORT
wc->dmactrl |= wc->vpm;
#endif
+ /* Seed interrupt register */
+ __t4_pci_out(wc, WC_INTR, 0x0c);
if (noburst)
wc->dmactrl |= (1 << 26);
__t4_pci_out(wc, WC_DMACTRL, wc->dmactrl);