dahdi-linux/drivers/dahdi/wctdm24xxp
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
..
base.c wctdm24xxp: Reset module specific type information on probe. 2013-12-20 14:15:26 -06:00
Kbuild wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
wctdm24xxp.h wctdm24xxp: Fix FXO failure to detect battery CO disconnects. 2013-05-09 11:35:04 -05:00
xhfc.c convert span->spantype to enumerated type 2012-05-23 12:20:23 +00:00
xhfc.h wctdm24xxp: Pass the pointer to struct wctdm_module directly instead of index. 2011-06-02 20:03:15 +00:00