dahdi-linux/drivers/dahdi
Shaun Ruffell aa5c973611 dahdi: Atomically set/test if channel has associated network device.
Push all tests for the DAHDI_FLAGBIT_NETDEV flag behind a
'dahdi_have_netdev' function so if CONFIG_DAHDI_NET is not defined the
compiler can just remove all the flag tests.  Also, makes sure that the
bit is checked / set atomically.

(closes issue #9379)

Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Kinsey Moore <kmoore@digium.com>
Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9444 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-10-20 12:23:16 +00:00
..
datamods wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
firmware dahdi: '-o' -> '--no-same-owner' in drivers/dahdi/firmware/Makefile 2010-10-20 12:22:42 +00:00
hpec wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
oct612x wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
voicebus vpmadt032: Honor the CONFIG_DAHDI_NO_ECHOCAN_DISABLE flag. 2010-10-20 12:22:35 +00:00
vpmadt032_loader wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
wcb4xxp wcb4xxp: Spelling 'LOOKBACK_SUPPORTED' -> 'LOOPBACK_SUPPORTED' 2010-09-27 15:57:13 +00:00
wct4xxp dahdi: Atomically set/test if channel has associated network device. 2010-10-20 12:23:16 +00:00
wctc4xxp wctc4xxp: Space required after ','. 2010-10-20 12:22:59 +00:00
wctdm24xxp wctdm24xxp: Leave FXO (DAA) always in full-wave ring detect mode. 2010-10-20 12:23:02 +00:00
wcte12xp dahdi: Atomically set/test if channel has associated network device. 2010-10-20 12:23:16 +00:00
xpp xpp: Fixes init error for PRI devices with < 4 ports 2010-10-18 14:50:03 +00:00
adt_lec.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
adt_lec.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
arith.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
biquad.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
dahdi_dummy.c dahdi_dummy: #include <linux/slab.h> for kzalloc and friends. 2010-09-07 13:47:24 +00:00
dahdi_dynamic_eth.c Move test for DEFINE_SPINLOCK into include/dahdi/kernel.h 2010-09-24 22:44:53 +00:00
dahdi_dynamic_ethmf.c Move test for DEFINE_SPINLOCK into include/dahdi/kernel.h 2010-09-24 22:44:53 +00:00
dahdi_dynamic_loc.c Move test for DEFINE_SPINLOCK into include/dahdi/kernel.h 2010-09-24 22:44:53 +00:00
dahdi_dynamic.c Move test for DEFINE_SPINLOCK into include/dahdi/kernel.h 2010-09-24 22:44:53 +00:00
dahdi_echocan_jpah.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
dahdi_echocan_kb1.c dahdi: Fix 'void *' pointer arithmetic warnings. 2010-09-29 21:32:55 +00:00
dahdi_echocan_mg2.c dahdi: Fix 'void *' pointer arithmetic warnings. 2010-09-29 21:32:55 +00:00
dahdi_echocan_oslec.c dahdi_echocan_oslec: Call olsec_hpf_tx if CONFIG_DAHDI_PROCESS_ECHOCAN_TX is defined. 2010-10-20 12:23:11 +00:00
dahdi_echocan_sec2.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
dahdi_echocan_sec.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
dahdi_transcode.c Move test for DEFINE_SPINLOCK into include/dahdi/kernel.h 2010-09-24 22:44:53 +00:00
dahdi-base.c dahdi: Atomically set/test if channel has associated network device. 2010-10-20 12:23:16 +00:00
digits.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
ecdis.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
fir.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
fxo_modes.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
Kbuild wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +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
makefw.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
pciradio.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
pciradio.rbt wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
proslic.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
tor2-hw.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
tor2.c dahdi: Atomically set/test if channel has associated network device. 2010-10-20 12:23:16 +00:00
tormenta2.rbt wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
wcfxo.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
wct1xxp.c dahdi: Atomically set/test if channel has associated network device. 2010-10-20 12:23:16 +00:00
wctdm.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
wcte11xp.c dahdi: Atomically set/test if channel has associated network device. 2010-10-20 12:23:16 +00:00