summaryrefslogtreecommitdiff
path: root/zaptel-base.c
AgeCommit message (Collapse)Author
2008-08-03Use the wrapper CLASS_DEV_DESTROY rather than class_device_destroytzafrir
explicitly. Should help with kernels < 2.6.13 and kernels >= 2.6.26 . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4448 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-03Fix build on kernels 2.6.2-2.6.13: class_simple_device_removetzafrir
This function only needs the device as its parameter. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4447 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-07-21Fix building zaptel 1.2 with kernel 2.6.26. Taken from DAHDI-linux rev.tzafrir
4522. For issue #12944 . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4424 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-03svn merge -c3012 https://origsvn.digium.com/svn/zaptel/branches/1.4 .sruffell
svn merge -c3701 https://origsvn.digium.com/svn/zaptel/branches/1.4 . svn merge -c3703 https://origsvn.digium.com/svn/zaptel/branches/1.4 . svn merge -c4050 https://origsvn.digium.com/svn/zaptel/branches/1.4/kernel . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4128 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-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-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
2007-12-08Moving wcte12xp driver into a subdirectory and adding support for the Digium ↵mspiceland
TE121 and TE122 cards. These cards support the Digium VPMADT032 module. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3358 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-22Don't try to create devices 250 and above in udev.qwell
Issue 10522, fix found by me (but I'm not going to take credit for the code, since it already existed in trunk for some reason) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2936 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-01Per Matt Fredrickson, we don't want to use GFP_KERNEL while holding a spinlock.qwell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2808 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-20New product support, new echo canceler and new boardsmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2761 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-19don't try to timeslot-interchange channels that are being bridged (DACS) if ↵kpfleming
either channel has a txgain or rxgain specified, since that gain won't be applied any longer if the DACS is put into effect git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2752 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-05Do not report channels in ZT_STATE_KEWL or ZT_STATE_AFTERKEWL (ie; battery ↵qwell
drop) states as available. This becomes more likely if ZT_KEWLTIME or ZT_AFTERKEWLTIME are set to higher values. Issue 7612, patch by rbraun. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2696 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-18Remove silly got signal messagemattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2539 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-25Don't try to reference a variable on a channel that may not exist.qwell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2443 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-24Backport pre-echocan debugging for ztmonitorqwell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2434 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-13Fix several places where we treat confmode as a bitmask.qwell
It is a bitmask...sort of.. I'll explain.. confmode is used for 2 different things. It defines both the "mode" and the "flags" of the conference. The "mode" part is in 0x00FF and is NOT bitwise. The "flag" part is in 0xFF00 and *IS* bitwise. Confused yet? Good. So, when we want to check the "mode" of the conference, we need to check only within 0xFF. There were several places where this was not happening - but due to luck, it worked (...sort of). That's what this patch fixes. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2422 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-11Fix buglet in memory corruption fix.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2405 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-07Fix for #9208. Thanks adomo and Tzafrir!mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2398 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-30Fix an issue where an echo can was freed incorrectly in certain circumstances.qwell
Issue 9292, fix suggested by ddv2005. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2353 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-21fix up some compiler warnings when building for 2.4 kernelskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2188 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-01add support for Digium's High Performance Echo Cancellerkpfleming
rework the top-level Makefile so kernel 2.6 modules are built by a dedicated Makefile git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2076 5390a7c7-147a-4af0-8ec9-7488f05a26cb