summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMakefile2
-rwxr-xr-xwcfxs.c4
-rwxr-xr-xwctdm.c4
3 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e1fc52b..81db3ec 100755
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,8 @@ KFLAGS+=$(shell if uname -m | grep -q ppc; then echo "-msoft-float -fsigned-char
# Take out calibration
#KFLAGS+=-DNO_CALIBRATION
#KFLAGS+=-DNO_DCDC
+# Boost ring voltage (Higher ring voltage, takes more power)
+#KFLAGS+=-DBOOST_RINGER
#
# Define CONFIG_CALC_XLAW if you have a small number of channels and/or
# a small level 2 cache, to optimize for few channels
diff --git a/wcfxs.c b/wcfxs.c
index a6fea02..8805792 100755
--- a/wcfxs.c
+++ b/wcfxs.c
@@ -926,8 +926,10 @@ static int wcfxs_init_proslic(struct wcfxs *wc, int card, int fast, int manual,
#endif
#ifdef BOOST_RINGER
+ wcfxs_setreg(wc, card, 74, 0x3f);
+
/* Beef up Ringing voltage to 89V */
- if (wcfxs_setreg_indirect(wc, card, 23, 0x1d1))
+ if (wcfxs_setreg_indirect(wc, card, 21, 0x1d1))
return -1;
#endif
return 0;
diff --git a/wctdm.c b/wctdm.c
index a6fea02..8805792 100755
--- a/wctdm.c
+++ b/wctdm.c
@@ -926,8 +926,10 @@ static int wcfxs_init_proslic(struct wcfxs *wc, int card, int fast, int manual,
#endif
#ifdef BOOST_RINGER
+ wcfxs_setreg(wc, card, 74, 0x3f);
+
/* Beef up Ringing voltage to 89V */
- if (wcfxs_setreg_indirect(wc, card, 23, 0x1d1))
+ if (wcfxs_setreg_indirect(wc, card, 21, 0x1d1))
return -1;
#endif
return 0;