summaryrefslogtreecommitdiff
path: root/wct1xxp.c
AgeCommit message (Collapse)Author
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-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-25Merged revisions 2451 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2451 | mattf | 2007-04-25 11:26:18 -0500 (Wed, 25 Apr 2007) | 1 line Start fixing potential deadlock between device driver and zaptel ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2452 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-31Merged revisions 2043 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2043 | kpfleming | 2007-01-31 08:06:34 -0600 (Wed, 31 Jan 2007) | 4 lines fix up author email addresses use the kernel's built-in support for module aliases instead of manually doing it in modprobe.conf or equivalent add wctdm8xxp alias for wctdm24xxp ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2044 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-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
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-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-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-06-13Rid zaptel of 64-bit compiler warningsmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@407 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2004-05-26Zaptel fixes for 2.6markster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@402 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2004-04-16Add support for E&M / E1markster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@366 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2004-01-06Clean build on Linux 2.6, will need lots of testingmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@292 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-11-01Fix small typomarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@263 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-10-30Resync T1 rather than trying to adjust for new offsetmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@261 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-09-21Merge E1 fix for CRC E-bitmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@244 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-07-18The driver did not mention the existance of the E1 version of the card.steveu
Very USA-centric! Now it says it is the driver for both the E1 and T1 cards, and reports the type it actually finds. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@217 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-03-17lun mar 17 19:11:15 CET 2003matteo
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@155 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-03-13Thu Mar 13 07:00:01 CET 2003matteo
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@152 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-02-24Mon Feb 24 07:00:01 CET 2003matteo
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@150 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-01-08Version 0.4.0 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@141 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2002-11-15Version 0.3.3 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@131 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2002-09-03Version 0.3.0 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@100 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2002-06-19Version 0.2.0 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@85 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2002-02-11Version 0.1.6 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@55 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2001-12-05Version 0.1.4 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@34 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2001-11-09Version 0.1.2 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@28 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2001-11-07Version 0.1.0 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@22 5390a7c7-147a-4af0-8ec9-7488f05a26cb