summaryrefslogtreecommitdiff
path: root/drivers/dahdi
AgeCommit message (Collapse)Author
2009-01-19Bump xpp drivers version to trunk-6630.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5710 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-19xpp: add driftinfo attributes; pcm sync bugfixTzafrir Cohen
* Add an extra sysfs Astribank attribute for drift information * PCM synchronization bugfix git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5709 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-19xpp: allow a longer path for init_dir.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5708 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-19No oops. No panic.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5696 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-18xpp: sysfs attribute arrays should be NULL-Terminated.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5688 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-18Temporarilly disabling building xpp/ while hunting a show-stopper onTzafrir Cohen
xpp.ko git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5680 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-18xpp.r6616: More sysfs migration, FXO enhancements, BRI fixesTzafrir Cohen
* Fix cases where the command_queue overflowed during initialization. * More migrations to sysfs: - Add a 'transport' attribute to our astribank devices which points to the usb device we use. E.g: /sys/bus/astribanks/devices/xbus-00/transport is symlinked to ../../../../../../devices/pci0000:00/0000:00:10.4/usb5/5-4 - Move /proc/xpp/XBUS-??/XPD-??/span to /sys/bus/xpds/devices/??:?:?/span - Migrate from /proc/xpp/sync to: /sys/bus/astribanks/drivers/xppdrv/sync * PRI: change the "timing" priority to match the convention used by other PRI cards -- I.e: lower numbers (not 0) have higher priority. * FXO: - Power denial: create two module parameters instead of hard-coded constants (power_denial_safezone, power_denial_minlen). For sites that get non-standard power-denial signals from central office on offhook. - Don't hangup on power-denial, just notify Dahdi and wait for - Fix caller-id detection for the case central office sends it before first ring without any indication before. Asterisk's desicion. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5663 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-05Even on older kernels, do not redefine WARN_ON_ONCE if it is already defined.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5636 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-05spin_is_lock always evalulates to 0 on SMP kernels. So since I still want toShaun Ruffell
keep the check in there to avoid problems in the future (and since this code path is only used when opening a new transcoder session) I made the check conditional on running an SMP kernel. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5635 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-05Print more information to the kernel log when the transcoder sends us aShaun Ruffell
diagnostic message. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5627 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-23Enabling a module parameter that will allow the user to periodically print theShaun Ruffell
battery voltage to the kernel log. Used for troubleshooting. Issue: DAHDI-34 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5612 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-19Add support for new half full buffer policy. This significantly improves ↵Matthew Fredrickson
performance in fax and data modem calls. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5597 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-19Fix the safety check in tor2 to be for SPANS_PER_CARDTzafrir Cohen
Thanks to Eugene Teo, in a from issue #13954 . git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5590 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-17wcb4xxp: Do not propogate received HDLC frames on channels that are notShaun Ruffell
configured. Issue: DAHDI-217 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5576 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-17wcb4xxp: Use %p to print out pointer values.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5568 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-17wcb4xxp: Remove an endless while loop.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5562 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-16wcte12xp: Quiet some warnings about possible use of uninitialized variables.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5549 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-15wcte12xp: do not release a spinlock that we did not acquire.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5534 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-12use a format string for request_module, so the compiler will do the right thingKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5523 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11One more place whe old-but-not-ancient hotplug is used.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5504 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11Send all samples to OSLEC, rather than just the first.Tzafrir Cohen
(closes issue #14036) Reported by: marcotasto Patches: dahdi_echocan_oslec.patch uploaded by marcotasto (license 635) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5503 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11Add a separate case for hotplug of kernels <= 2.6.9 .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5498 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11dahdi_dummy: If we're using the system tick, don't use the hrtimer interface.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5497 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11Fix the xpp OLD_HOTPLUG fix.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5492 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11Fix building dahdi_dummy for kernels 2.6.13, 2.6.14:Tzafrir Cohen
Those kernels don't have RTC yet. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5486 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11Remove an include that is not available before 2.6.15 and is not neededTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5484 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11A bit less maigc with OLD_HOTPLUG_SUPPORTTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5483 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11Fixed a typo that broke building dahdi-base with kernels < 2.6.13Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5482 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11wctc4xxp: Fix compilation issues on 2.6.15 and below kernels. ThanksShaun Ruffell
tzafrir. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5481 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-04Fix an erroneous warning and ensure that the sample size is set correctly whenShaun Ruffell
decoding G723 packets. Issue: DAHDI-198 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5434 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-04Do not use an already built channel if the source and destination formats doShaun Ruffell
not match the formats we want. This fixes a regression introduced by the new transcoder interface where a translation path from one complex codec to another can result in garbled audio. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5433 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-01Fix issue with cut and paste that was preventing compilation.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5420 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-01Service the transmit descriptor ring before the receive descriptor ring soShaun Ruffell
that commands that are still sitting on the transmit descriptor ring are not completed twice. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5413 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-27Moving README.Astribank to dahdi-tools .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5402 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-27Fixes and some owrk in progress on DAHDI Astribank README.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5397 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-25Validate the timing priority on the wcte11xp and wct1xxp driver.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5384 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-25Validate that the span priority is valid in the tor2 driver.Shaun Ruffell
Patch provided by tzafrir. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5383 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-24Additional debugging code.Shaun Ruffell
Patch provided by akohlsmith. Issue DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5374 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-24Add a 'spanfilter' module parameter in order to isolate debugging informationShaun Ruffell
to just the spans of interest. Patch provided by akohlsmith. Issue DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5369 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-24Use counter of pending HDLC frames in order to eliminate the need to send aShaun Ruffell
zero-byte frame to kick start the transmission process. Patch provided by akohlsmith. Issue DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5368 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-24Do not make assumptions about the number of ready HDLC frames on HDLC RXShaun Ruffell
interrupt. This prevents libpri from becoming confused when many HDLC frames arrive before the driver can service them or a false RX interrupt is received. Patch provided by akolsmith. Issue DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5367 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-21Fix a think-o in numeric comparison. Swap order to make it more clear.Jason Parker
(closes issue #13813) Reported by: ys git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5360 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-21Convert some uses of sprintf to snprintf in dahdi_proc_read in order toShaun Ruffell
eliminate a buffer overrun. Issue: DAHDI-209 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5355 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-20Force the FIFO to reset when the file handle is closed.Shaun Ruffell
Patch provided by akohlsmith. Issue: DAHDI-178 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5350 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-20Make tor2 load properly. Seems to fix #13487.Tzafrir Cohen
Thanks to heyuqi for the testing. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5345 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-20* Some extrra Zap->DAHDI (and Dahdi->DAHDI) fixes in the AstribankTzafrir Cohen
README. * Some extra asciidoc formatting fixes. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5340 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-19support wcb4xxp build on kernels that don't directly use KbuildKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5335 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-17- Fix for race condition of encoder and decoder are allocated at the same timeShaun Ruffell
in the driver. This would result in -EBUSY returns from the DAHDI_TC_ALLOCATE ioctl. - Increase the length of the receive descriptor ring from 8 to 32 to reduce the probability of running out of receive descriptors. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5321 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-17xpp_pri: Fix T1 CRC initializationTzafrir Cohen
Clock synchronization when sync is not from first port. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5320 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-17A fix for an issue with corruption on the D-Channels.Shaun Ruffell
Patch provided by akohlsmith. Issue: DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5315 a0bf4364-ded3-4de4-8d8a-66a801d63aff