summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wct4xxp
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2010-07-14 20:15:46 +0000
committerMatthew Fredrickson <creslin@digium.com>2010-07-14 20:15:46 +0000
commit3c0be0011888774f621b7f01e4ff0c378da849f9 (patch)
treecd8745226ac3fdaeb90de6d40f35794551712606 /drivers/dahdi/wct4xxp
parent3f432ee9121822d547282db33b55128627c15a0c (diff)
Make noburst parameter override burst flag.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8935 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wct4xxp')
-rw-r--r--drivers/dahdi/wct4xxp/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c
index 4ce3a40..f49a879 100644
--- a/drivers/dahdi/wct4xxp/base.c
+++ b/drivers/dahdi/wct4xxp/base.c
@@ -194,7 +194,7 @@ static int lastdtmfthreshold = VPM_DEFAULT_DTMFTHRESHOLD;
can also cause PCI bus starvation, especially in combination with other
aggressive cards. Please note that burst mode has no effect on CPU
utilization / max number of calls / etc. */
-static int noburst = 1;
+static int noburst = 0;
/* For 56kbps links, set this module parameter to 0x7f */
static int hardhdlcmode = 0xff;
@@ -2431,7 +2431,7 @@ static int t4_startup(struct dahdi_span *span)
#endif
/* Seed interrupt register */
__t4_pci_out(wc, WC_INTR, 0x0c);
- if (noburst && !(ts->spanflags & FLAG_BURST))
+ if (noburst || !(ts->spanflags & FLAG_BURST))
wc->dmactrl |= (1 << 26);
__t4_pci_out(wc, WC_DMACTRL, wc->dmactrl);