dahdi-linux/drivers/dahdi/xpp
Shaun Ruffell 76df5ab26b dahdi: Allow dahdi_span_ops.[chan|span]config and startup to block.
This change ensures that the dahdi_span_ops callbacks are not called
with any spinlocks held, and that the module is pinned in memory, and
also passes the struct file * pointer to the callbacks.

Passing the file pointer to the callbacks allows the board drivers to
check any flags on the file descriptor used to configure the
span/channel. The intent here is to allow dahdi_config to open the
/dev/dahdi/ctl file in a non-blocking mode in case there is a lengthy
processes that needs to happen as part of configuration.

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

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9940 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-06-02 20:01:34 +00:00
..
firmwares wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_bri.c dahdi: Allow dahdi_span_ops.[chan|span]config and startup to block. 2011-06-02 20:01:34 +00:00
card_bri.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_fxo.c Remove unused variables. 2011-06-02 20:00:36 +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 Remove unused variables. 2011-06-02 20:00:36 +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 dahdi: Allow dahdi_span_ops.[chan|span]config and startup to block. 2011-06-02 20:01:34 +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
Kbuild xpp: Remove obsolete and unused OLD_PROC code 2011-05-23 13:37:40 +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 Remove unused variables. 2011-06-02 20:00:36 +00:00
xbus-core.h xpp: Remove obsolete XPP_DEBUGFS code 2011-05-23 13:38:16 +00:00
xbus-pcm.c xpp: Remove obsolete and unused OLD_PROC code 2011-05-23 13:37:40 +00:00
xbus-pcm.h xpp: phonedev: Cleanup method macros 2011-01-30 14:14:14 +00:00
xbus-sysfs.c xpp: Remove obsolete XPP_DEBUGFS code 2011-05-23 13:38:16 +00:00
xdefs.h xpp: prepare for phonedev refactor 2011-01-30 14:11:49 +00:00
xframe_queue.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +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 xpp: Remove obsolete XPP_DEBUGFS code 2011-05-23 13:38:16 +00:00
xpp_dahdi.c Remove unused variables. 2011-06-02 20:00:36 +00:00
xpp_dahdi.h xpp: prepare for phonedev refactor 2011-01-30 14:11:49 +00:00
xpp_debug wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +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 xpp: Add fixed runtime checks for the PHONEDEV code 2011-01-30 18:12:02 +00:00
xproto.h xpp: phonedev: Cleanup method macros 2011-01-30 14:14:14 +00:00