summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-06-22 16:29:25 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-06-22 16:29:25 +0000
commit7ab17e8c96d0e98cd063156e88e18acf78e39cd8 (patch)
treeda54ad6487a64db223d457f879d363565eca8ffc
parent0794d42d58203776433b1b01c89a1ee809d772d7 (diff)
Little addition to TDM driver, fix messup commit on quadspan
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@682 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xwct4xxp.c2
-rwxr-xr-xwctdm.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/wct4xxp.c b/wct4xxp.c
index f95b0bb..484e1d1 100755
--- a/wct4xxp.c
+++ b/wct4xxp.c
@@ -56,7 +56,7 @@
/* Work queues are a way to better distribute load on SMP systems */
#ifdef LINUX26
-//#define ENABLE_WORKQUEUES
+#define ENABLE_WORKQUEUES
#endif
/* Enable prefetching may help performance */
diff --git a/wctdm.c b/wctdm.c
index bdcceda..f780a19 100755
--- a/wctdm.c
+++ b/wctdm.c
@@ -1457,8 +1457,10 @@ static int wctdm_init_voicedaa(struct wctdm *wc, int card, int fast, int manual,
wctdm_setreg(wc, card, 5, 0x08);
/* NZ -- crank the tx gain up by 7 dB */
- if (!strcmp(fxo_modes[_opermode].name, "NEWZEALAND"))
+ if (!strcmp(fxo_modes[_opermode].name, "NEWZEALAND")) {
+ printk("Adjusting gain\n");
wctdm_setreg(wc, card, 38, 0x7);
+ }
return 0;