summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-02-16* Start documenting module parameters in the README.tzafrir
* Update the hardware supported by xpp. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3837 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-15Fixes bug 11471. Replaced all instances of strncpy with zap_copy_string ↵jpeeler
(added to zaptel.h) to fix any off by one errors and ensure destination string is NULL terminated. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3833 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-15update README to reflect currently supported Digium interface cardskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3831 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-06Change include of Makefile.kernel26 to Kbuild, and place it in thetzafrir
right location. Fixes building for kernels 2.6.0 - 2.6.9 . M 1.2/Makefile git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3812 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-05Changes to the wcte12xp driver.sruffell
- replace change to allow driver to recover from descriptor unavailable. - module echo cancellation parameters now valid under 2.6 kernels. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3805 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-05Fix a build issue pointed out by Dovid on #asteriskqwell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3804 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-30Don't fail zapconf if no config file was found.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3766 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-28minor cleanupskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3753 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-27LINUX26 is defined in zaptel.h, and should not be checked beforetzafrir
including it. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3747 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-26enable this module to build against kernels < 2.6.9kpfleming
(issue #11523) Reported by: tzafrir git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3744 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-25get this branch to build against 2.6.24 kernel build system (similar to ↵kpfleming
r3706 from tzafrir for branch-1.4) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3741 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-23Ensure that the zone lock is always acquired before the channel lock. sruffell
(issue #7620) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3733 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-23Make some echo canceller related parameters adjustable via module parametermattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3730 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-20Make sure README.Astribank's HTML copy has a complete table of contents.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3710 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-11Revert an unnecessary trylock. Multiple people have looked at this and nobodyrussell
can see any reason why this would be required. (closes issue #10791) Reported by: Matti Patches: patch uploaded by Matti (license 109) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3663 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-11Minor formatting change.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3660 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-11Elimates a recursive grab of a spinlock in the interrupt handler for the ↵sruffell
wcte12xp. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3659 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-10Remove some unused variables (already applied in 1.4).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3645 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-10Complete the renaming of Makefile (to reduce merge issues with local xpptzafrir
copy). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3644 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-10xpp.r5254:tzafrir
* Improved polarity reversal hangups in FXO (r5194). Fixed false detection of polarity reversals. * Optimize xframe allocation, by not zeroing the whole memory (in get_xframe()). * Fixed erronous error message that appeared sometimes from fpga_load during USB renumeration. * Zaptel::Chans now provides battery() reporting for some FXO channels (Astribank FXO and wcfxo). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3643 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-09BIG fxotune update. New version which uses fourier analysis for echo return ↵mattf
loss measurement. Much more accurate than the old version, and can penetrate through background noise that may be on the line as well as noise caused by tones in the background such as reorder or congestion if the timing parameters aren't exactly right in the setup. If you have analog fxo modules, it is recommended that you run fxotune on them again with this latest version. You will definitely see even better results git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3640 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-09Make sure G.165 EC disable tone detection is enabledmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3638 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-04Increase the amount of code that is protected by locks in the wcte12xp ↵sruffell
interrupt handler. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3618 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-03Removing some left over debugging code.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3601 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-02Removed unneeded return value.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3594 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-02VPMADT032 stability changes for wctdm24xxp and wcte12xp:sruffell
- Remove double reads. - Wait for writes to complete before starting reads. - Optimize reads of multi-word register. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3592 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-02Move the release of VPMADT032 resources to after the interrupt handler has ↵sruffell
been freed. Closes a small window of opportunity for NULL pointer access at driver unload time. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3586 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-29Adapt ztd-eth to newer interfaces from kernel 2.6.24 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3577 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-27Update documentation. Mainly regarding the PRI module.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3564 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-27Shouldn't destroy the workqueue with the lock held.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3561 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-24* XppUtils.pm renamed Zaptel::Utils.pm .tzafrir
* Some more documentation. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3555 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-20Cleanup in case the firmware load from userspace fails.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3550 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-19* A few more fixes to card_pri.tzafrir
* Do use "crc4" for E1 by default when generating zaptel.conf . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3540 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-19Improve wcte12xp and wctdm24xxp drivers' tolerance to host system latencies.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3534 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-18Enable xpp_usb in the sysconfig file as xpp no longer generates manytzafrir
interrupts when there's no hardware connected. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3514 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-18Revert a change that has remained in my local copy.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3509 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-18xpp r5151:tzafrir
* xpd_pri: Basically ready. * PCM synchronization changes: - Each Astribank unit ticks independently. Each with its own PLL. - HOST synchronization is gone. Loading of xpp will no longer cause useless 250 ticks per second if you have no Astribank. - Synchronization from the zaptel sync master requires setting ZAPTEL as sync source (xpp_sync ZAPTEL). * rx_tasklet is now a parameter of the module xpp, rather than of xpp_usb. * New FPGA firmware: 5128 (1151) / 5122 (1141, 1131): - Fixes synchronization issues. - PRI module: E1 should now work. * perl module and utilities: - Modules no longer magically scan system on initialization. - Scanning is by calling explicit methods. - "Serial" has been renamed "Label". It is basically unique, but should be modifieble. - Some basic documentation of zaptel perl modules. * Default sort order of zt_registration is back to SORT_CONNCTOR. * zt_registration proc file now shows the number of span registered to if registered. Try: grep . /proc/xpp/XBUS-*/XPD-*/zt_registration * genzaptelconf: Allow using a custom command instead of /etc/init.d/asterisk to start/stop asterisk. * Fixed the typo "Slagish". git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3506 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-16Simplify udev rules so they will be in line with ones provided bytzafrir
distributions and allow simple overriding of file permissions. Closes issue #11276 . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3493 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-13remove some code that is not compatible with modern versions of pppdkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3475 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-12ztd-eth: Fix a cast warning on earlier 2.6 kernels.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3445 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Lower this to fix compatibility related bugsmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3441 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11coding guidelines cleanupkpfleming
report results of failure to initialize a VPMADT032 module all the way up the process, so that a card with a failed VPM won't be left in a partially-operational state clean up early exits from wctdm_init_one() to undo all previously completed steps git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3430 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11we don't need a message telling the user that they don't have a VPMADT032, ↵kpfleming
that will only serve to confuse them git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3426 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11* Close bug #11511.tzafrir
* Some other cleanups of uninstall-modules. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3424 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11uninstall-modules: put in build_tools, and remove language suffix.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3420 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Fix the typo for the case of using M= instead of SUBDIRS= .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3415 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Reverting changes from 3405 so that I can do this the correct way.mspiceland
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3411 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Make sure we wait long enough for the VPMADT032 to boot before we interact ↵mattf
with it again git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3407 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11If we detect that we have a VPMADT032 module but there is an error duringmspiceland
initialization, we don't proceed and register with Zaptel. This will prevent customers with faulty VPMADT032 modules from going undetected. Customers can always load with vpmsupport=0 to proceed with this error but will do so knowingly. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3405 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10Small change to prevent scary messages (one's with "Failed" in them) to usersmspiceland
without hardware echo cancellation modules installed. In case they actually have one instead, we still report some info in debug mode to help find where in the init the module failed for troubleshooting. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3400 5390a7c7-147a-4af0-8ec9-7488f05a26cb