summaryrefslogtreecommitdiff
path: root/wctdm.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-10-09 16:47:29 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-10-09 16:47:29 +0000
commit3192da8a79a86e139ad51e0b22e333108d359e96 (patch)
treedf28b8671ef24a4e8ae567fb6d8440d81212c7f0 /wctdm.c
parent13bb974552a4fefd6e1c1a874c414b58fb7a6b6c (diff)
Make sure DC/DC converter is off while resetting
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@254 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm.c')
-rwxr-xr-xwctdm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wctdm.c b/wctdm.c
index f979301..bc4a91a 100755
--- a/wctdm.c
+++ b/wctdm.c
@@ -799,6 +799,11 @@ static int wcfxs_init_proslic(struct wcfxs *wc, int card, int fast, int manual,
/* Sanity check the ProSLIC */
if (!sane && wcfxs_proslic_insane(wc, card))
return -2;
+
+ if (sane) {
+ /* Make sure we turn off the DC->DC converter to prevent anything from blowing up */
+ wcfxs_setreg(wc, card, 14, 0x10);
+ }
if (wcfxs_init_indirect_regs(wc, card)) {
printk(KERN_INFO "Indirect Registers failed to initialize on module %d.\n", card);