dahdi-linux/drivers/dahdi
Shaun Ruffell a30fc9d040 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>
(cherry picked from commit 3933ffd350)
2013-12-20 14:24:04 -06:00
..
datamods wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
firmware wctdm24xxp, wcte12xp: Allow VPMOCT032 firmware to be compiled into driver. 2012-04-02 14:05:17 +00:00
hpec dahdi_echocan_hpec: Update the HPEC wrapper to use the new name interface 2010-12-09 21:52:34 +00:00
oct612x wct4xxp: Add support for TE820 and VPMOCT256. 2011-11-01 15:27:21 +00:00
voicebus wcte12xp, wctdm24xxp, wct4xxp: Print warning about potential GPL violation w/HOTPLUG_FIRMWARE=no. 2012-04-05 20:34:50 +00:00
vpmadt032_loader Update copyright on changed files since 2011-01-01. 2011-01-03 14:55:24 +00:00
wcb4xxp wcb4xxp: Allocate memory in hfc_decode_st_state() with GFP_ATOMIC. 2013-01-25 13:10:52 -06:00
wct4xxp wct4xxp: Allow vpm450m.c to compile against vanilla 2.6.18. 2013-05-09 12:56:40 -05:00
wctc4xxp wctc4xxp: Ensure the descriptors are zeroed out on start. 2013-06-07 11:22:06 -05:00
wctdm24xxp wctdm24xxp: Reset module specific type information on probe. 2013-12-20 14:24:04 -06:00
wcte12xp wcte12xp: Reset all the framer registers when switching linemodes. 2013-05-22 13:06:44 -05:00
xpp xpp: Serialize dahdi registration 2013-09-30 14:00:53 +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:22:37 +00:00
dahdi_dynamic_eth.c dahdi_dynamic_eth: Make ztdeth_exit() symetrical with ztdeth_init() and fix race on unload. 2012-04-03 20:10:16 +00:00
dahdi_dynamic_ethmf.c 'dahdi_copy_string()' -> 'strlcpy()' 2011-01-03 18:26:29 +00:00
dahdi_dynamic_loc.c dahdi_dynamic_loc: Change and check the dyn->pvt pointer under lock. 2012-04-03 20:10:20 +00:00
dahdi_dynamic.c dahdi_dynamic: Close race on unload if red alarm timer was running when unloaded. 2012-04-03 20:10:12 +00:00
dahdi_echocan_jpah.c dahdi-base, dahdi_echocan_*, wcb4xxp, wct4xxp, wctdm24xxp, wcte12xp, kernel: Allow name of EC factory to vary based on channel 2010-12-09 20:19:26 +00:00
dahdi_echocan_kb1.c dahdi-base, dahdi_echocan_*, wcb4xxp, wct4xxp, wctdm24xxp, wcte12xp, kernel: Allow name of EC factory to vary based on channel 2010-12-09 20:19:26 +00:00
dahdi_echocan_mg2.c dahdi-base, dahdi_echocan_*, wcb4xxp, wct4xxp, wctdm24xxp, wcte12xp, kernel: Allow name of EC factory to vary based on channel 2010-12-09 20:19:26 +00:00
dahdi_echocan_oslec.c dahdi-base, dahdi_echocan_*, wcb4xxp, wct4xxp, wctdm24xxp, wcte12xp, kernel: Allow name of EC factory to vary based on channel 2010-12-09 20:19:26 +00:00
dahdi_echocan_sec2.c dahdi-base, dahdi_echocan_*, wcb4xxp, wct4xxp, wctdm24xxp, wcte12xp, kernel: Allow name of EC factory to vary based on channel 2010-12-09 20:19:26 +00:00
dahdi_echocan_sec.c dahdi-base, dahdi_echocan_*, wcb4xxp, wct4xxp, wctdm24xxp, wcte12xp, kernel: Allow name of EC factory to vary based on channel 2010-12-09 20:19:26 +00:00
dahdi_transcode.c 'dahdi_copy_string()' -> 'strlcpy()' 2011-01-03 18:26:29 +00:00
dahdi-base.c dahdi: Completely stop spans when unassigning. 2013-05-22 13:06:04 -05:00
dahdi-sysfs.c remove a duplicate dev_set_name() 2012-03-21 19:36:32 +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 dahdi: Expose dahdi devices in sysfs. 2011-10-26 18:59:20 +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 Kbuild: Fix OSLEC build error 2013-03-13 16:54:11 -05: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 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 dahdi: Register devices instead of individual spans. 2011-10-26 18:58:14 +00:00
tormenta2.rbt wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00: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 dahdi: Remove dahdi_span.irq and move dahdi_span.irqmisses into dahdi_device. 2011-10-26 19:00:28 +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 dahdi: Remove dahdi_span.irq and move dahdi_span.irqmisses into dahdi_device. 2011-10-26 19:00:28 +00:00