diff options
author | dbailey <dbailey@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-08-13 19:06:04 +0000 |
---|---|---|
committer | dbailey <dbailey@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-08-13 19:06:04 +0000 |
commit | 29c38b862560126b6bd9150838be7c422f4f321d (patch) | |
tree | 5e36a927f3a2ec330e5d60e9bebbdcfe696d90f1 /kernel/wctdm24xxp/wctdm24xxp.h | |
parent | 72fc3a889c8cf027e8df011c4b6a612c00fb6767 (diff) |
Port in the NEON MWI detection from the AA50 into the wctdm24xxp driver
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4479 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/wctdm24xxp/wctdm24xxp.h')
-rw-r--r-- | kernel/wctdm24xxp/wctdm24xxp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/wctdm24xxp/wctdm24xxp.h b/kernel/wctdm24xxp/wctdm24xxp.h index 79e1d30..bb2830c 100644 --- a/kernel/wctdm24xxp/wctdm24xxp.h +++ b/kernel/wctdm24xxp/wctdm24xxp.h @@ -220,6 +220,7 @@ struct wctdm { struct fxo { int wasringing; int lastrdtx; + int lastrdtx_count; int ringdebounce; int offhook; int battdebounce; @@ -228,6 +229,11 @@ struct wctdm { int lastpol; int polarity; int polaritydebounce; + int neonmwi_state; + int neonmwi_last_voltage; + unsigned int neonmwi_debounce; + unsigned int neonmwi_offcounter; + } fxo; struct fxs { int oldrxhook; |