dahdi-linux/drivers/dahdi
Oron Peled 606dd58a47 xpp: fix failed multi-PRI E1<->T1 transition
In an Astribank with >= 2 PRI ports, switching from E1 to T1 at run-time
may fail at the DAHDI_CHANCONFIG ioctl on the first channel in a span,
That is, on first run of dahdi_cfg, it fails on second span, on second:
it fails on third span, etc.

The code clears the D-channel information on the DAHDI_CHANCONFIG call
for the first channel in the span.

However The code tested for the global "channo" rather than the per-span
"chanpos" to check for the first channel in the span. This the test
failed.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
2014-04-30 22:44:46 +03:00
..
datamods wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
firmware firmware: Honor DESTDIR when installing firmware. 2014-03-31 09:22:10 -05: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: Trivial drop of unnecessary local variables. 2014-01-22 18:04:47 -06:00
wctc4xxp wctc4xxp: Trivial. Remove unused timer_list from struct tcb. 2014-04-30 13:34:58 -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: fix failed multi-PRI E1<->T1 transition 2014-04-30 22:44:46 +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 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_get_auto_assigned_spans 2014-02-05 19:25:20 +02: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 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 wcaxx: Update firmware for A8B/A4B to 1d0019/b0019. 2014-03-17 12:02:47 -05: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: Remove redundant call to synchronize_irq(). 2014-04-01 11:46:46 -05:00
wcte43x-base.c wcte43x: Build against 2.6.18 and CentOS 5.5 2014-04-30 13:58:07 -05: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: Disable presence detect reporting on upstream port during PCIe hard reset. 2014-03-19 15:34:32 -05:00
wcxb.h wcxb: Add diagnostic message if DMA retries are increasing when DEBUG is defined. 2014-03-17 10:33:14 -05:00