summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
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
2008-08-14xpp: FXO: display signed voltage values (from xpp r6055)Tzafrir Cohen
This is only an issue with the displayed value. In case you wondered why you have battery voltage of more than 220V. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4776 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-14remove devfs support, and use consistent include file pathKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4773 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-13import the neon mwi detectionDoug Bailey
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4770 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-11xpp: CAS/E1 support in the PRI module, and minor fixes.Tzafrir Cohen
* Add support for CAS in the PRI module. Use firmware rev. 5975. * Debugging parameter pcmtx_chan now accepts a dahdi channel number. * Do initialize a reserved protocol field (card_global). * The name DAHDI as used in proc/xpp/sync has 5 (not 6) letters. * Fix DTMF "channel leak" regression in the FXS module. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4761 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-11xpp: fxo: Fix support for CID_STYLE_PASS_ALWAYSTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4760 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-11A more robust test for bri_dchan support.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4759 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-11xpp_blink is a bit mask of ports, and not boolean anymore.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4758 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-07Make sure types are same size on 64-bit machines.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4742 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-06last round of license header updates hereKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4721 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-06fix a compiler warning by using the proper format string for a size_t variableKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4720 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-06A significant change to the DAHDI transcoder interface and the wctc4xxpShaun Ruffell
driver which breaks backwards compatibility. Basically, I've replaced the memory mapped interface with a read/write interface that allows codec_dahdi to communicate with the hardware transcoder the exact size of the packet to be transcoded. This eliminates issues with remote devices that send G729.B CNG packets even though asterisk does not support them. From a user standpoint: - The transcoder drivers are much more robust in light of system / external conditions. From a developer standpoint: - DAHDI_TRANSCODE_OP is no longer supported, instead use DAHDI_TC_ALLOCATE, DAHDI_TC_GETINFO, and write/read. - Memory and stack usage is reduced (stack usage could still be reduced some more by continuing the process of getting rid of the users of wctc4xxp_send_cmd and wctc4xxp_create_cmd). - If more than one card is in the system channels will be allocated in a round-robin fashion from all available cards, reducing contention for the supervisor channel. - There is no longer a tc400b workqueue created that will not show up in the process list. - Commands and their responses are now explicitly matched up which elimated certain errors caused by unsolicited messages from the transcoder confusing the driver. - There is now an option to export a network interface for capturing traffic to/from the hardware transcoder. - codec_test has been removed from the dadhi/linux package. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4717 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-06more license header updatesKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4712 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-05first pass at licensing cleanup here... put dahdi/user.h under LGPL instead ↵Kevin P. Fleming
of GPL git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4709 a0bf4364-ded3-4de4-8d8a-66a801d63aff