dahdi-linux/drivers/dahdi/xpp
Tzafrir Cohen fcbde772c4 xpp: fxs: bugfix for 2fxs+6fxo cards
* Bug sympthoms: wrong FSK VMWI sent few seconds after
  offhook. That was caused because the driver kept
  polling the (physically unconnected) digital inputs.
  [note: a workaround for drivers without this patch
   is to zero the 'xpd_fxs.poll_digital_inputs' parameter.]

* Also, the digital_inputs/digital_output masks were
  calculate using a different condition.

* Now we determine number of channels, digital inputs and
  digital outputs in a single place and use this info
  later to calculate the correct masks.

* We poll only if there are digital_inputs

* We added a sanity check in process_digital_inputs, so
  we get a notice if it's called on an xpd without digital
  inputs (e.g: hypothetic firmware bug).

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.5@10208 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-09-25 08:59:02 +00:00
..
firmwares xpp: firmware to detect the new 2+6 module 2011-09-05 10:29:53 +00:00
card_bri.c A number of cases of testing for unsigned int < 0 2011-07-04 14:05:19 +00:00
card_bri.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_echo.c xpp: Eliminate "set but unused" compiler warnings. 2011-07-04 14:04:56 +00:00
card_echo.h xpd_echo: XPP Octasic echo canceler module 2011-06-28 18:23:00 +00:00
card_fxo.c xpd_echo: XPP Octasic echo canceler module 2011-06-28 18:23:00 +00:00
card_fxo.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_fxs.c xpp: fxs: bugfix for 2fxs+6fxo cards 2011-09-25 08:59:02 +00:00
card_fxs.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_global.c xpp: Remove obsolete and unused OLD_PROC code 2011-05-23 13:37:40 +00:00
card_global.h xpp: Remove obsolete and unused OLD_PROC code 2011-05-23 13:37:40 +00:00
card_pri.c xpp: PRI_timing_priority can be static. 2011-07-20 16:49:07 +00:00
card_pri.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
Changelog_xpp wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
dahdi_debug.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
dahdi_debug.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
init_card_1_30 wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
init_card_2_30 wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
init_card_3_30 wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
init_card_4_30 xpp: init_card_4_30: add comment 2011-01-30 18:10:33 +00:00
init_card_5_30 xpp: also install init (non)script for xpd_echo 2011-06-30 21:38:47 +00:00
Kbuild xpd_echo: XPP Octasic echo canceler module 2011-06-28 18:23:00 +00:00
Kconfig wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
Makefile wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
mmapbus.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
mmapbus.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
mmapdrv.c Move test for DEFINE_SPINLOCK into include/dahdi/kernel.h 2010-09-24 22:44:53 +00:00
param_doc wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
parport_debug.c Move test for DEFINE_SPINLOCK into include/dahdi/kernel.h 2010-09-24 22:44:53 +00:00
parport_debug.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
print_fxo_modes.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xbus-core.c xpp: increase command queue lenge to 1000 2011-07-20 16:49:53 +00:00
xbus-core.h xpp: make quirk bit flags unsigned 2011-07-20 16:49:31 +00:00
xbus-pcm.c xpd_echo: XPP Octasic echo canceler module 2011-06-28 18:23:00 +00:00
xbus-pcm.h xpd_echo: XPP Octasic echo canceler module 2011-06-28 18:23:00 +00:00
xbus-sysfs.c xpd_echo: XPP Octasic echo canceler module 2011-06-28 18:23:00 +00:00
xdefs.h xpp: prepare for phonedev refactor 2011-01-30 14:11:49 +00:00
xframe_queue.c xpp: rate limit queue overflow messages 2011-07-20 16:48:46 +00:00
xframe_queue.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xpd.h xpd_echo: XPP Octasic echo canceler module 2011-06-28 18:23:00 +00:00
xpp_dahdi.c xpp: Demote notices for HWEC create/free to debug 2011-07-12 18:08:42 +00:00
xpp_dahdi.h xpd_echo: XPP Octasic echo canceler module 2011-06-28 18:23:00 +00:00
xpp_debug xpd_echo: XPP Octasic echo canceler module 2011-06-28 18:23:00 +00:00
xpp_usb.c Remove unused variables. 2011-06-02 20:00:36 +00:00
xpp.conf wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xpp.rules wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
XppConfig.pm wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xproto.c xpd_echo: XPP Octasic echo canceler module 2011-06-28 18:23:00 +00:00
xproto.h xpd_echo: XPP Octasic echo canceler module 2011-06-28 18:23:00 +00:00