summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2008-10-10- Ensure that the source format is considered when selecting a transcoder.Shaun Ruffell
- When a command is to be retried, turn off the TX_COMPLETE flag before resubmitting it to the hardware. This should elimate some of the warnings printed to the kernel log in the wctc4xxp_transmit_cmd function. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5084 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-09a micro-optimization found while creslin and i spent four or five hours ↵Kevin P. Fleming
tracking down a very complex problem git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5068 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-06use the same logic here as elsewhere for releasing echocan module referencesKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5064 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-06Embed room for the complete packet to the DTE in the transcoder bufferShaun Ruffell
structure. Simplifies alignment management at the cost of a little wasted memory, but the end results is that operation is more reliable on more systems. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5060 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-06Fix a few compile errors that only show up when CONFIG_DAHDI_PPP isSean Bright
defined. (closes issue #13608) Reported by: Nik Soggia Fix suggested by: Nik Soggia Tested by: seanbright git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5056 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-03Fix building with CONFIG_DAHDI_NET in kernel 2.6.22Tzafrir Cohen
The leftovers of issues #13542 (which was mostly resolved in previous committ. This closes it. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5051 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-03Fix building with CONFIG_DAHDI_NET . It builds, but will it run?Tzafrir Cohen
Patch dahdi-base.c.hdlc.patch by biohumanoid that fixes some aparant copy&paste errors. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5046 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-03Fix some compilation problems that show up when CONFIG_DAHDI_DEBUG is defined.Sean Bright
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5045 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-03There are two possible valid statues when booting the TC400M.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5034 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-02Keep hold of the channel lock when setting the data_ready flag for the channelShaun Ruffell
after writing to the receive queue. Prevents a warning that data was on the recieve queue but the data ready flag was not set. Issue: DAHDI-42 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5030 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-02wctc4xxp_cleanup_channel_private needs a pointer to the zt_transcoder_channelShaun Ruffell
and not just the private portion now in order to manage the data ready flag state. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5029 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-02Mark that there is not any data waiting whenever we cleanup the privateShaun Ruffell
channel structures. Issue: DAHDI-42 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5025 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-01DAHDI should always make data received from the PSTN available to user modeShaun Ruffell
immediately. Only allow the transmit buffering policy to be changed in order to reduce the chance of underruns to the PSTN. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5021 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-30Removing references to setup_timer in pre 2.6.18 kernels.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5017 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-28Improve reliablity of UK caller ID for the TDM400P by not allowing theShaun Ruffell
ringdebounce to be decremented when it is at 0 already. Related to issue #12531. Reported mattbrown, fix suggested by benbrown. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5007 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-28Fixed type of flags parameter to spin_lock_irqsave functions. FixesShaun Ruffell
compilation issues on platforms where int and long do not have the same size. Closes Issues #0013575. Reported by Ulmo. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5003 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-28Fixes failure of modular echo cancelers in DAHDI.Shaun Ruffell
Reported by lots of people, fix suggested by mattf. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5002 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-26The channel master should not be set to 0, but rather should be 'cleared' byShaun Ruffell
setting the channel to be it's own master. (related to issue 11611) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4990 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-25XPP firmware: Only send out CAS D-channel messages when in CAS mode.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4986 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-25Fix display of indirect registers and streamline their setting.Tzafrir Cohen
* This commit fixes display of indirect registers through the chipregs (formly "slics") procfs file. Only the low byte was displayed. * It also deprecates previous {RW}S in favour of {RW}I. The prevois style is still allowed but deprecated, and thus previous scripts will still work. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4980 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-25XPP FXO: Add caller-id workaround for ESTI-DTMF (for #9096)Tzafrir Cohen
* Also rename the CID_STYLE_* constants to formal names. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4979 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-24Adding back in the mode module parameter for the wctc4xxp driver. This isShaun Ruffell
primarily used to increase the number of channels available when only transcoding to/from g729 by setting it to 'g729'. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4971 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-18Adding a needed header for the in_atomic call.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4957 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-18close_channel is called with a spin_lock held, which means that GFP_KERNEL canShaun Ruffell
not be used for the memory allocations down that call path. Have allocations in this call path check if they are in atomic context and use the appropriate flags. Issue: DAHDI-195 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4956 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-17Turn off reference counting on the echo canceller modules in order to preventShaun Ruffell
misconfigurations from preventing the drivers from unloading. NOTE: This is only a temporary workaround, since it also means that the echocanceller can be unloaded by an administrator while in use, which would most likely result in a kernel oops. Related to issue #13504. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4917 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-15Edit some comments and error strings.Shaun Ruffell
Issue: DAHDI-13 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4909 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-15Fixed two typos.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4905 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-11Fix a type used in nethdlc mode, as pointed out in #13427 .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4900 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-11Move udev rules xpp.rules from dahdi-tools to dahdi-linux .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4894 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-06Fix buglet in #define for 2.6.9Matthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4870 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-06Revert unnecessary default hardhdlc mode from 56K to 64KMatthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4869 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-06Fix class_simple on old 2.6.9 kernelsMatthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4868 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-04Remove a couple of 'magic numbers' to make it clear all the ports of theShaun Ruffell
framer should be configured. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4864 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-04Fixes an issue where the dual-span cards are not properly configured which canShaun Ruffell
cause data loss. Fix provided by opticron and possibly related to issue #0013393. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4861 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-29Remove useless kzallocMatthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4856 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-27remove some more ztdummy referencesKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4849 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-27a bit of attribution cleanupKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4848 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-26Fix asciidoc.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4840 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-25Support MODULES_EXTRA and SUBDIRS_EXTRA to add extra modules from theTzafrir Cohen
make command line. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4829 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-25Remove this warning, which could occur if the driver is loaded on a systemShaun Ruffell
without a wctc4xxp, and then subsequently unloaded. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4823 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-24Add support for 56 KB HDLC as well as selectable rate via ioctlMatthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4817 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-20use the new separate allocation method for channel structures here tooKevin P. Fleming
replace "ZTD" references in channel/span names with "DYN" (closes issue #13302) Reported by: KNK git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4805 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-20update code to match version in ZaptelKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4804 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-20improve compatibility with 2.6.26 and 2.6.27 kernelsKevin P. Fleming
(closes issue #13253) Reported by: raiden Patches: zap-dev.patch uploaded by smurfix on issue #13277 (license 547) zap-sema.patch uploaded by smurfix on issue #13277 (license 547) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4801 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-20Change to support both 5.3kbps and 6.3kbps bit rates when using the G723.1Shaun Ruffell
codec. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4798 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-19port over improvements to firmware Makefile from ZaptelKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4795 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-19Fixed calculation of the timestamp.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4794 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-19Couple of fixes for the transcoder:Shaun Ruffell
- In dahdi_transcode.c, Embed the identifiation number, assigned sequentially when the transcoders are registered, in the transcoder structure. This allows DAHDI_TC_GETINFO to work as expected even though the transcoders are rotated on the list in order to spread the load. - In wctc4xxp, fix bug where all transcoders are named tc400b0. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4791 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-14Set xpp version to 6056 and reset XPP changelog.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4784 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-14Also install Astribank firmwares and init scripts to /usr/share/dahdi .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4781 a0bf4364-ded3-4de4-8d8a-66a801d63aff