dahdi-linux/drivers/dahdi
Tzafrir Cohen d4ac65d0c1 xpp: fxo: update red alarms on span assignment
DAHDI gets notified of changes to battery status and hence to red alarm
on an FXO channel when the status changes. It thus needs to get notified
about it on "startup".

This startup was initially span registration. However following the
separation between device registration and span assignment, the
notification was sent after device registration, whereas it was ignored
if span was not assigned. It happened to work in most cases due to
delays.

This fix moves the startup notifications of battery status to the new
hook that is run on span assignment.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
2017-06-26 17:58:33 +03:00
..
datamods net: Update dahdi for alloc_netdev() api change in 3.17+ 2014-08-11 09:53:02 -05:00
firmware wcxb: Fix "I/O error reported by firmware" followed by underruns 2015-03-30 13:18:12 -05:00
hpec Update Digium copyright on files changed since beginning of the year. 2012-03-21 18:56:05 +00:00
oct612x octasic: Added slab.h include to fix ARM compile error 2015-10-14 13:37:28 -05:00
voicebus GpakApi: Fix misleading indentation. 2017-06-04 16:24:38 -05:00
vpmadt032_loader Add #include <linux/slab.h> to all files that call kzalloc|kmalloc|kfree. 2014-05-20 11:36:23 -05:00
wcb4xxp wcb4xxp: Print serial number of gen 2 cards. 2015-10-27 09:54:43 -05:00
wct4xxp Remove DAHDI_IRQF_[SHARED|DISABLED] flags. 2015-05-13 14:45:01 -05:00
wctc4xxp signal_pending() is now in linux/sched/signal.h include 2017-06-26 17:48:40 +03:00
wctdm24xxp signal_pending() is now in linux/sched/signal.h include 2017-06-26 17:48:40 +03:00
wcte12xp signal_pending() is now in linux/sched/signal.h include 2017-06-26 17:48:40 +03:00
xpp xpp: fxo: update red alarms on span assignment 2017-06-26 17:58:33 +03: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 timer.h instead of time.h 2012-04-05 16:15:22 +00:00
dahdi_dynamic_eth.c dahdi_dynamic: Release reference count on network device when destroying dynamic spans. 2015-01-20 16:47:55 -06:00
dahdi_dynamic_ethmf.c dahdi_dynamic_ethmf: Don't use create_proc_read_entry() 2013-05-24 00:30:33 +03:00
dahdi_dynamic_loc.c dahdi_dynamic_loc: Change and check the dyn->pvt pointer under lock. 2012-04-03 19:44:45 +00:00
dahdi_dynamic.c 'atomic_read()' -> refcount_read()' 2017-06-26 17:49:13 +03:00
dahdi_echocan_jpah.c Update Digium copyright on files changed since beginning of the year. 2012-03-21 18:56:05 +00:00
dahdi_echocan_kb1.c Update Digium copyright on files changed since beginning of the year. 2012-03-21 18:56:05 +00:00
dahdi_echocan_mg2.c Update Digium copyright on files changed since beginning of the year. 2012-03-21 18:56:05 +00:00
dahdi_echocan_oslec.c code cleanup - refactor module_printk() 2012-02-09 15:24:40 +00:00
dahdi_echocan_sec2.c code cleanup: remove unused debug_printk() 2012-02-09 15:25:03 +00:00
dahdi_echocan_sec.c code cleanup: remove unused debug_printk() 2012-02-09 15:25:03 +00:00
dahdi_transcode.c wctc4xxp: Cleanup RTP for unopened channels. 2014-05-16 12:06:58 -05:00
dahdi-base.c fail non-blocking I/O in case of span unassignment 2017-06-26 17:49:13 +03:00
dahdi-sysfs-chan.c sysfs: bugfix: shorten too long file names 2013-06-23 22:12:33 +03:00
dahdi-sysfs.c sysfs: new device attribute: registration_time 2014-01-28 20:04:22 +02:00
dahdi-sysfs.h Remove support for kernels < 2.6.18 2012-03-13 20:09:12 +00:00
dahdi-version.c dahdi: Do not rebuild dahdi-base.c when only updating the version. 2011-02-28 14:19:09 +00:00
dahdi.h Update Digium copyright on files changed since beginning of the year. 2012-03-21 18:56:05 +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 wctdm24xxp, wctdm: Reduce memory used by fxo_modes array. 2011-04-04 16:26:00 +00:00
Kbuild wcte43x: Add driver for TE435/TE235 digital cards. 2013-11-11 14:39:19 -06:00
Kconfig 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 Remove DAHDI_IRQF_[SHARED|DISABLED] flags. 2015-05-13 14:45:01 -05: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 "struct pci_device_id[]" -> "DEFINE_PCI_DEVICE_TABLE" 2011-01-03 18:26:24 +00:00
tor2.c dahdi: Remove IRQF_DISABLED. 2015-05-13 14:45:01 -05:00
tormenta2.rbt wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
wcaxx-base.c signal_pending() is now in linux/sched/signal.h include 2017-06-26 17:48:40 +03:00
wcfxo.c wcfxo, wctdm: set spantype 2017-01-05 15:55:43 +02:00
wct1xxp.c dahdi: Remove IRQF_DISABLED. 2015-05-13 14:45:01 -05:00
wctdm.c wcfxo, wctdm: set spantype 2017-01-05 15:55:43 +02:00
wcte11xp.c dahdi: Remove IRQF_DISABLED. 2015-05-13 14:45:01 -05:00
wcte13xp-base.c wcxb: Fix "I/O error reported by firmware" followed by underruns 2015-03-30 13:18:12 -05:00
wcte43x-base.c signal_pending() is now in linux/sched/signal.h include 2017-06-26 17:48:40 +03:00
wcxb_flash.c wcaxx: New driver for A4A/A4B/A8A/A8B analog cards. 2013-11-11 14:39:19 -06:00
wcxb_flash.h wcaxx: New driver for A4A/A4B/A8A/A8B analog cards. 2013-11-11 14:39:19 -06:00
wcxb_spi.c Add #include <linux/slab.h> to all files that call kzalloc|kmalloc|kfree. 2014-05-20 11:36:23 -05:00
wcxb_spi.h wcaxx: New driver for A4A/A4B/A8A/A8B analog cards. 2013-11-11 14:39:19 -06:00
wcxb.c Remove DAHDI_IRQF_[SHARED|DISABLED] flags. 2015-05-13 14:45:01 -05:00
wcxb.h wcxb: Fix "I/O error reported by firmware" followed by underruns 2015-03-30 13:18:12 -05:00