summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-13Convert a constant '0' return value to a void. From #10851 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3460 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-12If these are going to cause the script to exit, we really need to explain why.qwell
Issue 10902, patch by snuffy git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3455 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-12remove duplicate setting of 'devicetype'... reported by tzafrir on #asterisk-devkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3449 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-12ztd-eth: Fix a cast warning on earlier 2.6 kernels.tzafrir
Merged revisions 3445 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3446 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Merged revisions 3441 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3441 | mattf | 2007-12-11 17:08:07 -0600 (Tue, 11 Dec 2007) | 1 line Lower this to fix compatibility related bugs ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3442 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Use correct syntax for test comparisons.qwell
Closes issue #11519, reported and patched by eliel. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3438 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11A legacy Kbuild Makefile for xpp/ .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3435 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11This Makefile should be Kbuild. A legacy redirection will closelytzafrir
follow. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3434 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Merged revisions 3430 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3430 | kpfleming | 2007-12-11 11:27:00 -0600 (Tue, 11 Dec 2007) | 4 lines coding guidelines cleanup 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.4@3431 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Merged revisions 3426 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3426 | kpfleming | 2007-12-11 10:37:28 -0600 (Tue, 11 Dec 2007) | 2 lines we don't need a message telling the user that they don't have a VPMADT032, that will only serve to confuse them ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3427 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11* uninstall-modules: put in build_tools, and remove language suffix.tzafrir
* Close bug #11511. * Some other cleanups of uninstall-modules. Merged revisions 3420,3424 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3425 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Fix and document zttest -c <count> .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3421 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Rename Makefile.kernel26 to Kbuild (in subdirectories alone):tzafrir
* kernel 2.6 build system >= 2.6.9 will use this directly. * Kernels 2.6.0-2.6.8 will still use the legacy name 'Makefile'. * Also fix a typo in 1.4/wcte12xp/Makefile (already fixed in 1.2). * 1.4/wctc4xxp/Makefile should not include userspace targets in the Kbuild file - those have a different syntax. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3417 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Fix the typo for the case of using M= instead of SUBDIRS= .tzafrir
Merged revisions 3415 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3416 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Merged revisions 3411 via svnmerge from mspiceland
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3411 | mspiceland | 2007-12-10 18:53:29 -0600 (Mon, 10 Dec 2007) | 2 lines Reverting changes from 3405 so that I can do this the correct way. ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3412 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Merged revisions 3407 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3407 | mattf | 2007-12-10 18:21:56 -0600 (Mon, 10 Dec 2007) | 1 line Make sure we wait long enough for the VPMADT032 to boot before we interact with it again ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3408 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Merged revisions 3405 via svnmerge from mspiceland
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3405 | mspiceland | 2007-12-10 18:07:19 -0600 (Mon, 10 Dec 2007) | 6 lines If we detect that we have a VPMADT032 module but there is an error during 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.4@3406 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10Merged revisions 3400 via svnmerge from mspiceland
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3400 | mspiceland | 2007-12-10 17:01:23 -0600 (Mon, 10 Dec 2007) | 5 lines Small change to prevent scary messages (one's with "Failed" in them) to users 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.4@3402 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10Don't build wctdm24xxp/ in 2.4:tzafrir
wctdm24xxp/base.c needs <linux/workqueue.h> . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3399 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10* Add a list of userspace subdirectories (just like for kernel).tzafrir
* Make it saner to enable/disable them. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3396 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10report 'location' for cards supported by wct4xxp using the 'order' switches ↵kpfleming
on the card when possible git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3393 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10Merged revisions 3389 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3389 | kpfleming | 2007-12-10 11:24:59 -0600 (Mon, 10 Dec 2007) | 2 lines remove explicit references to 5.3kb/s mode in wctc4xxp driver, as the driver can now accept both 5.3kb/s and 6.3kb/s (but will still only generate 6.3kb/s) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3390 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10fix firmware object names for non-hotplug firmware for wctc4xxp, wcte12xp ↵kpfleming
and wctdm24xxp add VPM reporting in 'devicetype' to wcte12xp fix VPM reporting in 'devicetype' for wctdm24xxp so it actually works git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3388 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10Merged revisions 3386 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3386 | kpfleming | 2007-12-10 11:02:17 -0600 (Mon, 10 Dec 2007) | 2 lines cosmetic fix for TE120P cards ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3387 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10for broken analog ports, retain the signaling type that would have been ↵kpfleming
supported if the port wasn't broken in ztscan, report the port types of analog ports instead of the signaling type git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3383 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10Do document ZAPTEL_SYNC_TICK.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3382 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-09Ignore some generated files.tzafrir
Merged revisions 3377 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3378 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-08Merged revisions 3373 via svnmerge from mspiceland
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3373 | mspiceland | 2007-12-08 16:39:28 -0600 (Sat, 08 Dec 2007) | 2 lines Verbose vpm test block should only be printed in debug mode. ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3374 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-08Merged revisions 3370 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3370 | mattf | 2007-12-08 13:52:33 -0600 (Sat, 08 Dec 2007) | 1 line Add GPL disclaimers to some headers without them ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3371 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-08revert an unnecessary changekpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3367 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-08Merged revisions 3365 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3365 | kpfleming | 2007-12-08 11:04:11 -0600 (Sat, 08 Dec 2007) | 5 lines clean up firmware handling across wct4xxp, wctc4xxp, wctdm24xxp and wcte12xp drivers to use consistent methods add non-hotplug firmware loading support to wctdm24xxp and wcte12xp add license and copyright headers to various files that did not have them clean up header inclusion in some files ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3366 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-08Adding back Kevin's change that was lost on my last merge. ↵mspiceland
\------------------------------------------------------------------------ r3343 | kpfleming | 2007-12-07 13:39:05 -0600 (Fri, 07 Dec 2007) | 2 lines as suggested by tzafrir on asterisk-dev, remove some code duplication when handling ZT_SPANCONFIG git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3362 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.4@3356 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-07The previous cleanup wasn't quite working when there were multiple oldsruffell
modules in the modules.dep folder. Moved the cleanup to external script for the time being. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3351 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-07Add ability to adjust fxo gains on wctdm driversdbailey
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3350 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-07Merged revisions 3346 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3346 | kpfleming | 2007-12-07 16:12:46 -0600 (Fri, 07 Dec 2007) | 2 lines revert a change that caused some problems and wasn't necessary ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3347 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-07as suggested by tzafrir on asterisk-dev, remove some code duplication when ↵kpfleming
handling ZT_SPANCONFIG git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3343 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-06minor formatting changeskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3329 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-06Merged revisions 3327 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3327 | kpfleming | 2007-12-06 13:42:13 -0600 (Thu, 06 Dec 2007) | 2 lines make the TC400B driver tolerant of incoming G.723.1 frames in all possible formats (6.3kb/s, 5.3kb/s and SID) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3328 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-06Merged revisions 3321 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3321 | mattf | 2007-12-06 10:40:22 -0600 (Thu, 06 Dec 2007) | 1 line Don't mangle old value of this register. Just set it without the reset bit set ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3322 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-05the previous addition of fields to zt_spaninfo added an 'lbo' field, but ↵kpfleming
none of the drivers for digital cards actually populate that field... this is now corrected git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3317 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-05Fix URL for HPEC README.qwell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3312 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04live_zap - A script to test Zaptel without fully installing it.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3308 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04Moving the ZT_SET_HWGAIN define so that the list maintains the numerical ordermmichelson
previously established. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3303 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04Remove some code that does...well...nothing.qwell
Closes issue #11460, patch by flefoll. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3300 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04Add ioctl call to set hw gain from CLI. dbailey
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3298 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04the analog card drivers can now mark failed modules as 'broken', and ztscan ↵kpfleming
can output that information git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3294 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04Fix the case of: make zttool.o zttooltzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3293 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04eliminate the 'general' section from the ztscan output, as it doesn't ↵kpfleming
contain anything the GUI needs and one user is concerned about the 'totalspans' number having to be kept in sync if the output is edited git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3291 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04fix a bunch of silly bugs and do some code cleanupkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3290 5390a7c7-147a-4af0-8ec9-7488f05a26cb