From 7ab17e8c96d0e98cd063156e88e18acf78e39cd8 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 22 Jun 2005 16:29:25 +0000 Subject: 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 --- wct4xxp.c | 2 +- wctdm.c | 4 +++- 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; -- cgit v1.2.3