summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp/wcte12xp.h
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-04-04 16:14:59 +0000
committerShaun Ruffell <sruffell@digium.com>2010-04-04 16:14:59 +0000
commit60458ae6806bf08ae15f6990b7fb7b9b5b9f0565 (patch)
treec00b3095f4aef6cd89a426e7471b748c3909c022 /drivers/dahdi/wcte12xp/wcte12xp.h
parentf0445a9b9990aa3eb55d67ff62933082b603e00d (diff)
wcte12xp: Poll the VPM and reset it if necessary.
When the transmit descriptor runs out completely, there (appears to be) a chance for a random command to be sent that results in the VPMADT032 to no longer respond, typically resulting in one way audio. This change introduces a poll of the VPM. If it fails the poll, it will be bypassed temporarily while the driver resets and reprograms it. Also, the VPM is initially programmed in the spanconfig callback instead of at driver load. This moves the potential for underruns until later in the boot process. DAHDI-573. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8468 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp/wcte12xp.h')
-rw-r--r--drivers/dahdi/wcte12xp/wcte12xp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dahdi/wcte12xp/wcte12xp.h b/drivers/dahdi/wcte12xp/wcte12xp.h
index f7cae2f..1505fcc 100644
--- a/drivers/dahdi/wcte12xp/wcte12xp.h
+++ b/drivers/dahdi/wcte12xp/wcte12xp.h
@@ -126,6 +126,8 @@ struct t1 {
atomic_t txints;
int vpm100;
struct vpmadt032 *vpmadt032;
+ unsigned long vpm_check;
+ struct work_struct vpm_check_work;
unsigned long dtmfactive;
unsigned long dtmfmask;
unsigned long dtmfmutemask;