summaryrefslogtreecommitdiff
path: root/wcfxo.c
AgeCommit message (Collapse)Author
2008-02-04Move kernel stuff to under kernel/ tzafrir
(merged branch /zaptel/team/tzafrir/move ) Closes issue #7117. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3793 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-12Symbolic names to registers in wcfxo: wcfxo-regs by meneault fromtzafrir
issue #11057. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3682 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-12Remove the hex that prevented wcfxo international settings from working.tzafrir
Patch wcfxo-hexa by meneault from issue #11057. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3681 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-12Detect cards that do not support international settings:tzafrir
Cards based on si3035 can not be set with international settings. This can be tested using REVB (reg. 13, bits 2:5). This commit tests for that value. It also adds some debugging macros, based on xpp/zap_debug.h , those maybe those macros should be moved to a more common place. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3679 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-11* Reduce indentation in wcfxo.c .tzafrir
* Also improve an error message there. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3669 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-17Detect some extra X101P clones out there.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3501 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-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-24Merged revisions 1953 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1953 | kpfleming | 2007-01-24 07:01:36 -0600 (Wed, 24 Jan 2007) | 2 lines might as well fix this driver too :-) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1954 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-10-29Add missing io include (bug #5537)markster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@800 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-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-14Fix FXO issuemarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@511 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2004-06-15Expand generic supportmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@410 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-01-31Minor FXO adjustments for gain adjustmentsmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@304 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-17Fix up a missing onemarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@277 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-11-17Rid ourselves of static local variablesmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@276 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-08-11Eliminate useless codemarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@226 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-06-17Internationalize FXOmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@197 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-06-05Enhance watchdog supportmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@190 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-04-10Increase time for ALARMmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@166 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-04-09Can't schedule inside an interrupt handlermarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@165 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-04-09Update FXS to also restart on a master abortmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@164 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2003-04-09Restart DMA on master abortmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@163 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-01-26Version 0.4.0 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@143 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2002-11-04Version 0.3.3 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@128 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2002-10-26Version 0.3.2 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@123 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2002-07-25Version 0.3.0 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@94 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2002-06-29Version 0.2.0 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@89 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2002-02-23Version 0.1.6 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@61 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2002-01-07Version 0.1.5 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@47 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2001-12-04Version 0.1.4 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@33 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2001-11-10Version 0.1.3 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@30 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2001-11-09Version 0.1.2 from FTPmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@27 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