summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2007-12-04when reporting devicetype for all cards supported by the wctdm24xxp, ↵kpfleming
including the presence of a VPM in the result git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3285 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04when reporting devicetype for TE2xx and TE4xx cards, include the presence or ↵kpfleming
absence of a VPM in the result git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3284 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04use a buffer for the span's device type instead of a string pointer, so each ↵kpfleming
spans can have dynamically set device types instead of constant strings also fix up some string creation and copying to be safe against buffer overflows git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3281 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04forgot to add 'ztscan' to the menuselect treekpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3280 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04add a new Zaptel scanning tool, primarily for use by the Asterisk GUI, ↵kpfleming
called 'ztscan'. this tool outputs an Asterisk-style configuration file containing one context for each Zaptel span with all the details that can be learned about that span. to enable this tool, the ZT_SPANSTAT ioctl gained a number of new elements to report information about the spans: - linecompat (available signaling modes for digital spans) - spantype (T1, E1 or J1 for digital spans) - location (PCI/PCI-Express location) - manufacturer - devicetype Along the way I also found that the digital span drivers always set T1-style signaling bits in 'linecompat' even for E1 spans, and that the ZT_SPANCONFIG ioctl did not properly check these bits when configuring E1 spans. The result of this is that it was possible to configure T1-only coding/framing (AMI/B8Zs, D4/ESF) on E1 spans (but not the reverse); this has been corrected and any attempt to use T1-only coding/framing on E1 spans will now result in an error from ztcfg. Also did some minor simplification of the Makefile rules that build the userspace tools. (the basics of ztscan were written by Brandon Kruse then reworked and fleshed out by me) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3278 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-01Delete the old kernel modules before installing the new ones. sruffell
Prevents conflicts in case the location of the driver changes when upgrading from an older version of the driver. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3271 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-30populate the 'irq' member of the span structure since it is therekpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3267 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-30Merged revisions 3263 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3263 | mattf | 2007-11-30 14:17:42 -0600 (Fri, 30 Nov 2007) | 1 line Make sure we only disable irqs during octasic firmware load only if we have 4K stacks ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3264 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-28Merged revisions 3258 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3258 | file | 2007-11-28 18:52:54 -0400 (Wed, 28 Nov 2007) | 6 lines Pass the correct variable to sizeof when copying the driver name. (closes issue #11352) Reported by: brettcar Patches: ztdynamic.c.patch uploaded by eliel (license 64) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3259 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-22Make sure that's disabled until I retest thatmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3245 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-21Merged revisions 3243 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3243 | mattf | 2007-11-21 17:51:48 -0600 (Wed, 21 Nov 2007) | 1 line Add new product support ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3244 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-21Merged revisions 3241 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3241 | mattf | 2007-11-21 16:45:32 -0600 (Wed, 21 Nov 2007) | 1 line Transcoder driver updates. Fixes G.723 no audio issues with latest drivers ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3242 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-14xpp r5010:tzafrir
* Fix a deadlock spotted on some SMP installations. * Improve (reduce) signal attenuation on FXO ports. * Increase FXS ring detect debounce interval. Merged revisions 3229-3232 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3233 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-11tor2ee doesn't build. Remove it. Closes #10278.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3226 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-10ztmonitor: Get rid of a pointless static buffer and strcpy.tzafrir
And also give a more useful conversion message. Merged revisions 3222 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3223 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-08Add dependency on newttilghman
Reported by: dimas Patch by: tilghman Closes issue #11199 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3221 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-07Don't try to generate bindir and mandir if there are no binaries to tzafrir
install (this causes an invalid install command). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3220 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-07make_firmware_object is now generated. Ignore it.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3219 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-07* zaptel-perl, genzaptelconf: Detect and list Rhino cards.tzafrir
* zaptel-perl: Fix reporting of empty slots in analog Digium cards. * genzaptelconf: More readable case-s. Merged revisions 3217 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3218 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-06Merged revisions 3215 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3215 | mattf | 2007-11-06 15:13:09 -0600 (Tue, 06 Nov 2007) | 1 line Cross port fxo line voltage monitoring patch from wctdm to wctdm24xxp ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3216 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-03Major update for tc4xxp driver. Fixes many outstanding issues related to ↵mattf
channel lockups, etc. It also raises the maximum channel count for g.729 to 120 channels. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3211 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-31Merged revisions 3205 via svnmerge from mmichelson
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3205 | mmichelson | 2007-10-31 16:08:15 -0500 (Wed, 31 Oct 2007) | 5 lines Fixed potential buffer overflow. See AST-2007-024 for more details ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3206 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-31Blocking merge of r3201 which is a backport from 1.4 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3202 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-28Firmware object file building does not depend anymore on another objecttzafrir
to be linked into the same module. That dependency existed solely for checking target binary properties in make_firmware_object . Those properties are now checked in autoconf. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3198 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-27Detect SELinux support (for install target) in autoconf.tzafrir
Can be manually overriden in configure or make. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3195 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-26If you depend on anything that is not in /usr/include/zaptel , you must tzafrir
build with the local zaptel.h . Otherwise you may mix two versions of Zaptel . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3190 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-26Merged revisions 3188 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3188 | mattf | 2007-10-26 10:08:37 -0500 (Fri, 26 Oct 2007) | 1 line Another clock polarity update. To fix garbage audio on some systems with the wctdm24xxp driver and VPMADT032 ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3189 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-26Remove obsolete drivers (replaced by wcusb).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3185 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-18Merged revisions 3169 via svnmerge from qwell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3169 | qwell | 2007-10-18 17:56:14 -0500 (Thu, 18 Oct 2007) | 4 lines Correct the name of the wct4xxp driver. Issue 11030 ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3170 5390a7c7-147a-4af0-8ec9-7488f05a26cb