summaryrefslogtreecommitdiff
path: root/wctdm24xxp/base.c
AgeCommit message (Collapse)Author
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-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-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-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-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-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-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-12Merged revisions 3132 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3132 | mattf | 2007-10-12 17:19:58 -0500 (Fri, 12 Oct 2007) | 1 line Fix for false power alarms, as well as a clock polarity issue ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3133 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-20Disable native bridging pending resolving of some issuesmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3064 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-11After committing the patch to make ringdebounce a module parameter in wctdm, Irussell
went ahead and made the same change to wctdm24xxp. *** Note that there is a discrepancy here. wctdm uses 64 ms as the default ring debounce value while this module uses 128 ms. I'm not sure which one is more appropriate, but they should certainly default to the same thing. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3012 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-30remove an unnecessary memset of the global ifaces array on module initrussell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2980 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-23Merged revisions 2940 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2940 | mattf | 2007-08-23 11:41:36 -0500 (Thu, 23 Aug 2007) | 1 line Increase CWCID reliability on analog modules significantly. (although if you have problems with pulse dialing on high REN loads, see the comment to revert the value back to its previous value). Thanks Kinsey and Rick. ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2941 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-21Merged revisions 2923 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2923 | mattf | 2007-08-21 13:40:23 -0500 (Tue, 21 Aug 2007) | 1 line Allow wctdm24xxp to compile on a 2.4 based kernel ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2924 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-16Merged revisions 2857 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2857 | mattf | 2007-08-16 15:02:58 -0500 (Thu, 16 Aug 2007) | 1 line Fix for when voicebus based cards stop taking interrupts on some systems ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2858 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-16Merged revisions 2852 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2852 | mattf | 2007-08-16 12:01:18 -0500 (Thu, 16 Aug 2007) | 1 line Make sure the gain adjustment is only done if the VPM100M is present ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2853 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-10Merged revisions 2829 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2829 | mattf | 2007-08-10 16:54:56 -0500 (Fri, 10 Aug 2007) | 1 line Make sure we permit MRM commands ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2830 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-27Merged revisions 2781 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2781 | mattf | 2007-07-27 14:02:28 -0500 (Fri, 27 Jul 2007) | 1 line Minor message removal ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2782 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-20Make sure we use the new firmware interfacemattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2769 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-20Merged revisions 2765 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2765 | mattf | 2007-07-20 14:17:25 -0500 (Fri, 20 Jul 2007) | 1 line Add new 2.6.22 api updates ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2766 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-20Merged revisions 2761 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2761 | mattf | 2007-07-20 11:19:47 -0500 (Fri, 20 Jul 2007) | 1 line New product support, new echo canceler and new boards ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2762 5390a7c7-147a-4af0-8ec9-7488f05a26cb