dahdi-linux/drivers/dahdi/xpp
Tzafrir Cohen 53b658db1b xpp: Fixes init error for PRI devices with < 4 ports
Fixes a regression singce r8873: if pri_protocol is not explicitly set
(in /etc/dahdi/xpp.conf) and the device has (licences for) less than 4
"PRI" (E1/T1) ports, the initialization script will attempt to read from
a non-existing SysFS file, and bail out, resulting in a the device
failing to initialize.

For those non-existing ports we can just skip that part of the
initialization. So we just skip it.

Work around: explicitly set pri_protocol to E1 or T1, as needed.

Xorcom Rev: 8047. Ticket: 1334.


git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9430 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-10-18 14:50:03 +00:00
..
firmwares wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_bri.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_bri.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_fxo.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_fxo.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_fxs.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_fxs.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_global.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_global.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_pri.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
card_pri.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
Changelog_xpp wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
dahdi_debug.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
dahdi_debug.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
init_card_1_30 wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
init_card_2_30 wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
init_card_3_30 wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
init_card_4_30 xpp: Fixes init error for PRI devices with < 4 ports 2010-10-18 14:50:03 +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
mmapbus.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
mmapbus.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
mmapdrv.c Move test for DEFINE_SPINLOCK into include/dahdi/kernel.h 2010-09-24 22:44:53 +00:00
param_doc wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
parport_debug.c Move test for DEFINE_SPINLOCK into include/dahdi/kernel.h 2010-09-24 22:44:53 +00:00
parport_debug.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
print_fxo_modes.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xbus-core.c Move test for DEFINE_SPINLOCK into include/dahdi/kernel.h 2010-09-24 22:44:53 +00:00
xbus-core.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xbus-pcm.c Move test for DEFINE_SPINLOCK into include/dahdi/kernel.h 2010-09-24 22:44:53 +00:00
xbus-pcm.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xbus-sysfs.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xdefs.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xframe_queue.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xframe_queue.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xpd.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xpp_dahdi.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xpp_dahdi.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xpp_debug wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xpp_log.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xpp_usb.c Move test for DEFINE_SPINLOCK into include/dahdi/kernel.h 2010-09-24 22:44:53 +00:00
xpp.conf wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xpp.rules wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
XppConfig.pm wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xproto.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
xproto.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00