summaryrefslogtreecommitdiff
path: root/wcte11xp.c
AgeCommit message (Collapse)Author
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-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-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-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-07-19Merged revisions 2756 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2756 | kpfleming | 2007-07-18 21:05:03 -0500 (Wed, 18 Jul 2007) | 2 lines update to 2.6.22 request_irq() flags ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2757 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-28Merged revisions 2464 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2464 | mattf | 2007-04-28 14:04:50 -0500 (Sat, 28 Apr 2007) | 2 lines Fix for potential deadlock in drivers ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2465 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-23remove pointless file ID lineskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2334 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-23Merged revisions 1936 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1936 | mattf | 2007-01-23 15:28:14 -0600 (Tue, 23 Jan 2007) | 3 lines Make sure we don't clear the interrupt before we might have received it in shared interrupt line scenarios. ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1937 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-11Merged revisions 1697 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1697 | kpfleming | 2006-12-11 12:27:15 -0600 (Mon, 11 Dec 2006) | 2 lines kernel 2.6.19 API changes compatibility ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1698 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-26Merged revisions 1641 via svnmerge from russell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1641 | russell | 2006-11-26 03:10:22 -0500 (Sun, 26 Nov 2006) | 3 lines Remove a misplaced semicolon which caused some debug output to be printed regardless of the debug setting. (issue #8414, gknispel_proformatique) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1642 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-08Merged revisions 1573 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1573 | kpfleming | 2006-11-08 17:04:33 -0600 (Wed, 08 Nov 2006) | 3 lines clean up recent VPMOCT changes add support for Infineon FALC rev 2.2 ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1574 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-27Merged revisions 1359 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1359 | kpfleming | 2006-08-26 21:02:42 -0500 (Sat, 26 Aug 2006) | 2 lines merge in new, cleaner Octasic API integration ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1361 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-05yet another header file installation location change... Zaptel headers are ↵kpfleming
now installed into /usr/include/zaptel, not /usr/include git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1200 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-06-24install zaptel.h and tonezone.h into /usr/include, not /usr/include/linux, ↵kpfleming
sinc e they are used much more by userspace apps than by kernel modules remove any old copies of those headers remove README.udev, since it no longer applies git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1172 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-03-13Add support for unchannelized modemarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@980 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-11-29remove extraneous svn:executable propertieskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@837 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-11-08support DACS w/RBS on single-span cardskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@809 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-10-04use pci_register_driver() on recent kernels (issue #5375, compatibility fix ↵kpfleming
only, no functional difference) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@791 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-08-04add missing subvendor idrussell
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@716 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-07-25ensure _all_ drivers use unsigned ints for counterskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@706 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-04-11fix module name in the interrupt requestrussell
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@620 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-04-03J1 mode changesmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@614 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-03-21Add use counts to currently shipping stuff (bug #3773):markster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@607 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-15Correct order of includesmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@560 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-15Fix build for 2.4 kernel (bug #3343)markster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@558 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-14Fix compile on older 2.6 kernels (bug #3334)markster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@555 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-13Fix for 2.6 module parm (bug #3321)markster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@546 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2004-12-20John has another lifesavermattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@512 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2004-12-13Add additional subvendor IDmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@510 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2004-11-15Avoid double spinlockmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@498 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2004-10-27Accept alternate PCI IDmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@483 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2004-10-14Add wcte11xp drivermarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@468 5390a7c7-147a-4af0-8ec9-7488f05a26cb