Age | Commit message (Collapse) | Author |
|
Merged revisions 7226,7356,7392 via svnmerge from
http://svn.digium.com/svn/dahdi/linux/trunk
........
r7226 | tzafrir | 2009-09-28 10:57:07 +0200 (Mon, 28 Sep 2009) | 8 lines
xpp: Use proper get/set for device->driver_data
2.6.32-rc1 broke direct access to the member 'driver_data' of 'struct
device'. However direct access to wasn't proper in the first place.
This commit replaces direct access to dev->driver_data with
dev_get_drvdata() and dev_set_drvdata().
........
r7356 | sruffell | 2009-10-09 07:22:55 +0200 (Fri, 09 Oct 2009) | 6 lines
dahdi-base: Include linux/sched.h
Commit a99bba to the mainline kernel removed sched.h from poll.h. So
dahdi-base.c needs to include sched.h directly now.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a99bba
........
r7392 | sruffell | 2009-10-12 22:05:35 +0200 (Mon, 12 Oct 2009) | 4 lines
headers: sched.h was also removed from interrupts.h
Commit d43c36 made it necessary to add sched.h to more of the board drivers.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d43c36
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.2@7493 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Merged revisions 7237 via svnmerge from
http://svn.digium.com/svn/dahdi/linux/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.2@7491 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Merged revisions 7244-7245,7266,7276,7457 via svnmerge from
http://svn.digium.com/svn/dahdi/linux/trunk
........
r7244 | tzafrir | 2009-09-29 18:23:13 +0200 (Tue, 29 Sep 2009) | 5 lines
xpp: make card_hooksig an optional card method.
Done in preperation for T1 CAS support, as the PRI module will use RBS
instead.
........
r7245 | tzafrir | 2009-09-29 18:45:15 +0200 (Tue, 29 Sep 2009) | 2 lines
xpp: refactor pcm mask handling.
........
r7266 | tzafrir | 2009-09-30 00:43:05 +0200 (Wed, 30 Sep 2009) | 2 lines
xpp: T1 CAS support
........
r7276 | tzafrir | 2009-09-30 15:49:48 +0200 (Wed, 30 Sep 2009) | 2 lines
xpp: PRI PIC firmware: T1-CAS fixes
........
r7457 | tzafrir | 2009-11-03 22:24:13 +0200 (Tue, 03 Nov 2009) | 4 lines
xpp: More E1/T1 CAS fixes. Mostly connect/disconnect
xpp revs: mostly 7458, 7466
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.2@7485 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
https://origsvn.digium.com/svn/dahdi/linux/trunk
........
r7038 | kpfleming | 2009-08-19 11:40:13 -0500 (Wed, 19 Aug 2009) | 9 lines
Ensure that dahdi_scan correctly reports VPM presence.
The wct4xxp driver (for the dual/quad span T1/E1 cards) and the wcte12xp
driver (for the single span VoiceBus-based T1/E1 cards) did not properly
update the 'devicetype' field reported by dahdi_scan when a VPM was found
during the card startup process. As a result, dahdi_scan did not show that
a VPM was present on the card, even if it was.
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.2@7039 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Fixes PCM issue with an Astribank2 (116x) FXO module that is installed
alongside a PRI/BRI module.
xpp: FPGA_1161.hex r7276 .
Merged revisions 6938,6966 via svnmerge from
http://svn.digium.com/svn/dahdi/linux/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.2@7001 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
https://origsvn.digium.com/svn/dahdi/linux/trunk
........
r6890 | sruffell | 2009-07-23 17:01:04 -0500 (Thu, 23 Jul 2009) | 1 line
dahdi-base: Reduce the stack usage of ioctl_load_zone.
........
r6891 | sruffell | 2009-07-23 17:26:25 -0500 (Thu, 23 Jul 2009) | 3 lines
dahdi-base: Update formatting in ioctl_load_zone.
Fixes checkpatch.pl formatting errors from the previous commit.
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.2@6950 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
https://origsvn.digium.com/svn/dahdi/linux/trunk
........
r6717 | sruffell | 2009-06-24 21:30:19 -0500 (Wed, 24 Jun 2009) | 3 lines
wctc4xxp: Update to use struct net_device_ops.
Accomodates a change in the linux kernel network device interface.
........
r6760 | sruffell | 2009-06-25 17:16:34 -0500 (Thu, 25 Jun 2009) | 1 line
wctc4xxp: Make the wctc4xxp_netdev_ops structure static.
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.2@6937 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
https://origsvn.digium.com/svn/dahdi/linux/trunk
........
r6933 | sruffell | 2009-08-04 11:22:39 -0500 (Tue, 04 Aug 2009) | 10 lines
dahdi_dummy: Do not allow jumps in system time to lock up the system.
Since dahdi_dummy uses the number of milliseconds that has actually passed to
determine how many times to call dahdi_receive, it is possible that if the
system time shifts after dahdi is started, that the system can appear to lock
up while dahdi_dummy attempts to catch up. This change prevents soft lock ups
under these conditions.
(closes issue #15647)
Reported by: missnebun
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.2@6934 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
https://origsvn.digium.com/svn/dahdi/linux/trunk
........
r6844 | sruffell | 2009-07-16 12:29:53 -0500 (Thu, 16 Jul 2009) | 10 lines
wcte12xp: Disable vpmadt032 companding by default.
This fixes a regression in 2.2.0 where certain configurations will fail
patloop test or have repeated HDLC aborts because the VPMADT032 is modifying
the clear channel or d channel data streams. This restores the behavior to
how it was in dahdi-linux 2.1.0.4.
(closes issue #15498)
Reported by: alecdavis
Tested by: alecdavis
........
r6852 | tzafrir | 2009-07-19 10:45:40 -0500 (Sun, 19 Jul 2009) | 12 lines
tor2: allow using port4 as timing source
Fix a silly regression introduced when strict check on the timing
parameter was added (sync-1 is the array index, not sync itself. And 0
is a special case).
(closes issue #15408)
Reported by: dferrer
Patches:
tor2-4th_sync.patch uploaded by dferrer (license 525)
........
r6862 | sruffell | 2009-07-21 12:52:59 -0500 (Tue, 21 Jul 2009) | 4 lines
Revert "wct4xxp, wcte11xp: Use the default configuration by default at startup."
This reverts the change introduced by revision 6712. This change can cause
problems when there is a VPM module installed on the quad-span digital cards.
........
r6863 | sruffell | 2009-07-21 12:53:02 -0500 (Tue, 21 Jul 2009) | 12 lines
dahdi-base: Add support for core timing.
This essentially moves the function of dahdi_dummy into the core of DAHDI. It
ensures that if DAHDI is loaded, it will always be able to provide timing,
regardless of whether there are board drivers loaded, or if the board drivers
are properly calling dahdi_receive.
If there is a master span loaded which is calling dahdi_receive, then the
behavior will be like it is normally.
This functionality is off by default, uncomment CONFIG_DAHDI_CORE_TIMER in
include/dahdi/config_dahdi.h in order to enable it.
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.2@6864 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
https://origsvn.digium.com/svn/dahdi/linux/trunk
........
r6712 | sruffell | 2009-06-24 14:13:35 -0500 (Wed, 24 Jun 2009) | 4 lines
wct4xxp, wcte11xp: Use the default configuration by default at startup.
This change allows hardware to provide timing to asterisk before normal
configuration. DAHDI-275.
........
r6776 | sruffell | 2009-06-26 16:24:34 -0500 (Fri, 26 Jun 2009) | 4 lines
voicebus: Limit the string length of the vpm workqueue name.
On older kernels, it is possible to cause a kernel panic if the lenght of the
workqueue name is greater than 10. DAHDI-276.
........
r6799 | sruffell | 2009-06-30 10:45:06 -0500 (Tue, 30 Jun 2009) | 5 lines
wcb4xxp: Start the first span with default settings on load.
One of the spans of the B410P is now started at driver load time in order to
allow it to provide early timing to asterisk, before the card has been
properly configured.
........
r6801 | sruffell | 2009-06-30 12:17:09 -0500 (Tue, 30 Jun 2009) | 5 lines
echocan: Do not call through NULL 'echocan_traintap' pointer.
This resolves an issue with a kernel panic if echotraining is enabled in the
Asterisk configuration file, but the echocan on the channel (which may be a
hardware echocanceller) has not defined that operation. DAHDI-272.
........
r6803 | sruffell | 2009-06-30 12:27:34 -0500 (Tue, 30 Jun 2009) | 1 line
echocan: Do not go into PRETRAINING mode if not supported by the echocan.
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.2@6860 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.2@6859 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.2@6858 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6695 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
When JAPAN, AUDIO_RINGCHECK, or ZERO_BATT_RING compile time options are
selected it is possible to get a kernel panic due to an invalid pointer passed
to the dahdi_hooksig function.
(closes issue #15350)
Patch by: alecdavis
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6692 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
works on RHEL4.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6688 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Fix bug in procfs handling where it was possible to get a warning in
lib/vsprintf.c when reading from /proc/dahdi/x.
Patch by: biohumanoid
(closes issue #15252)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6675 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Finishing the work of r6642. Complitly shut issue #14964.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6659 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* Also fixes LED blinking issues in PRI modules
* Various bugfixes in the PICs.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6653 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Note that They will only take effect after a reset.
Firmware rev. 7071.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6651 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
This adds a compatibility macro for older versions that is a noop for
kernels >= 2.6.30.
(closes issue #14964)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6642 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
This generally is a case that would not happen in the wild, though.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6641 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6640 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6639 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
As of 2.6.26 the macros dev_name() and set_dev_name() are used to read
and set (respectively) the bus_id member in sysfs. As of 2.6.30 bus_id
is gone. This patch provides comaptiobility macros for older kernel
versions and removes direct usage of bus_id.
(closes issue #14965)
Patches:
xpp_2630_dev_name.diff uploaded by tzafrir (license 46)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6637 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6635 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6628 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
I accidentally changed to print everytime. They should only be printed if
DEBUG_ECHOCAN is specified in the debug module parameter.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6625 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Before this commit, dahdi_tool would report "Internally clocked" for boards
supported by the wcte12xp driver both when receiving timing from the span and
providing it to the span. Now it reports "Internally clocked" if providing
timeing to the span, and the card if receiving timeing from the span.
DAHDI-65.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6621 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6610 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
is set to the new 'generic' x86 flavor available in recent Linux kernel releases
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6609 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
does not support HPEC or the VPMADT032 firmware loader, so the user will know why they are not included
clean up the conditional logic for these items in the Kbuild file
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6607 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6606 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Expose the vpmnlptype, vpmnlpthresh, and vpmnlpmaxsupp as module parameters
like for the wctdm24xxp.
DAHDI-261
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6590 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Move the echo can channel parameters into a common location for both the
wcte12xp and wctdm24xxp drivers that use the voicebus module. This is intended
to make it clearer which differences are required between the clients.
Additionally, update the default parameters to the new recommended values.
VPMADT032-37
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6589 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Depending on the system latency, the deferred work for the vpmadt032 can take
up to 200ms. This change allows each vpmadt032 to use its own workqueue, and
not the global system workqueue. This prevents vpm operations from blocking
the main system workqueue for extended periods.
This restores the behavior to the way it was before the common vpmadt032 code
was moved out of the wctdm24xxp and wcte12xp drivers.
DAHDI-260
voicebus-squash: Adding the wq name.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6572 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
The 'suppression' default for the NLP provides better echo canceling
performance. Also ensures that the wctdm24xxp and wcte12xp driver use the
same default values.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6568 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6564 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
level defaults when echo can is freed. (Previously they were zero'd out)
DAHDI-257
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6562 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
There is no value in setting a value for ARCH and passing it to the kernel
build system; the configured kernel headers/sources already have an architecture
specified and can't be used for any other architecture anyway.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6556 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Linux 2.6.9 does not contain that definition, but the older definition is
deprecated since it defeats lock state checking. DAHDI-253
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6554 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
DAHDI-253
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6553 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Linux kernel 2.6.9 does not define mmiowb. DAHDI-253
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6552 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
DAHDI-253
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6551 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
This definition was just copied from the xpp driver.
DAHDI-253
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6550 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
DAHDI-253
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6549 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Defining ioctl codes in this file requires that linux/ioctl.h be included first.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6546 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
For these drivers, when the vpmsupport module parameter is set to zero, don't
even register the span as supporting echo cancellation.
DAHDI-250
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6544 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6542 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Echo cancelers are now able to report if they are able to automatically disable
their NLP portions in the presence of tones in the audio stream. Also, the
interface is changed to allow user space to just disable the NLP portion of the
echo canceler. These changes improve fax and modem handling in DAHDI.
This commit merges in the changes on
http://svn.digium.com/svn/dahdi/linux/team/kpfleming/echocan_work
Patch by: kpfleming
Also contains improvements to CED tone detection.
(closes issue #13286)
Reported by: viniciusfontes
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6529 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6528 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|