dahdi-linux/drivers/dahdi
Shaun Ruffell 3933ffd350 wctdm24xxp: Reset module specific type information on probe.
This fixes an issue that affects TDM410 modules when there is not a module
installed in the first port, but there is an FXO module installed in the third
port.

When scaning for QRV modules in the first port, the 3rd port will have the
'hook' struct.qrv set to 0xff. When a QRV module is  not detected, that value
will be left, which then maps to an invalid state for both fxo.ring_state and
fxo.battery_state.

The result would be that FXO ports would fail to run the ring detector state
machine since it did not know what the current state was.

Now we'll just reset all the values in struct fxo or struct fxs to the expected
init state.

Internal-Issue-ID: DAHLIN-332
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
2013-12-20 14:15:26 -06:00
..
datamods wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
firmware wcte43x: Update firmware to version e0017. 2013-12-02 15:46:39 -06:00
hpec Update Digium copyright on files changed since beginning of the year. 2012-03-21 18:56:05 +00:00
oct612x oct612x: Make dependent on dahdi.ko 2013-11-24 10:09:33 -06:00
voicebus wcte12xp, wctdm24xxp, wct4xxp: Print warning about potential GPL violation w/HOTPLUG_FIRMWARE=no. 2012-04-05 20:32:37 +00:00
vpmadt032_loader Update Digium copyright on files changed since beginning of the year. 2012-03-21 18:56:05 +00:00
wcb4xxp wcb4xxp: Allocate memory in hfc_decode_st_state() with GFP_ATOMIC. 2013-01-23 16:14:07 -06:00
wct4xxp wct4xxp, wcte13xp: Move the octasic DSP code into separate module. 2013-11-11 14:39:19 -06:00
wctc4xxp wctc4xxp: Ensure the descriptors are zeroed out on start. 2013-05-31 12:10:49 -05:00
wctdm24xxp wctdm24xxp: Reset module specific type information on probe. 2013-12-20 14:15:26 -06:00
wcte12xp wcte12xp: Reset all the framer registers when switching linemodes. 2013-05-20 17:11:21 -05:00
xpp xpp: Replace drv_attrs with drv_groups on kernels > 3.12 2013-12-06 15:42:46 -06: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 Revert "dahdi_dynamic_eth: Move tx packet flushing to process context." 2012-12-11 10:27:56 -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 dahdi_dynamic: Create a span type for dynamic spans. 2013-11-24 10:09:33 -06: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 'dahdi_copy_string()' -> 'strlcpy()' 2011-01-03 18:26:29 +00:00
dahdi-base.c dahdi_dynamic: Create a span type for dynamic spans. 2013-11-24 10:09:33 -06:00
dahdi-sysfs-chan.c sysfs: bugfix: shorten too long file names 2013-06-23 22:12:33 +03:00
dahdi-sysfs.c dahdi: Replace drv_attr with drv_groups on kernels > 3.12. 2013-12-02 15:47:56 -06: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 dahdi: Register devices instead of individual spans. 2011-10-26 18:58:14 +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 "struct pci_device_id[]" -> "DEFINE_PCI_DEVICE_TABLE" 2011-01-03 18:26:24 +00:00
tor2.c convert span->spantype to enumerated type 2012-05-23 12:20:23 +00:00
tormenta2.rbt wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
wcaxx-base.c Revert "wcaxx: Use startup/shutdown callbacks to protect access to channel registers." 2013-12-02 16:23:58 -06:00
wcfxo.c dahdi: Remove dahdi_span.irq and move dahdi_span.irqmisses into dahdi_device. 2011-10-26 19:00:28 +00:00
wct1xxp.c convert span->spantype to enumerated type 2012-05-23 12:20:23 +00:00
wctdm.c dahdi: Remove dahdi_span.irq and move dahdi_span.irqmisses into dahdi_device. 2011-10-26 19:00:28 +00:00
wcte11xp.c convert span->spantype to enumerated type 2012-05-23 12:20:23 +00:00
wcte13xp-base.c wcte13xp: Fix bug preventing recover timing from ever being set 2013-12-18 18:15:21 -06:00
wcte43x-base.c wcte43x: Update firmware to version e0017. 2013-12-02 15:46:39 -06: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 wcxb: Do not access cur_transfer/cur_msg outside of lock. 2013-12-02 15:46:39 -06:00
wcxb_spi.h wcaxx: New driver for A4A/A4B/A8A/A8B analog cards. 2013-11-11 14:39:19 -06:00
wcxb.c wcxb: is_pcie -> pci_is_pcie() 2013-12-01 22:44:09 -06:00
wcxb.h wcaxx: New driver for A4A/A4B/A8A/A8B analog cards. 2013-11-11 14:39:19 -06:00