summaryrefslogtreecommitdiff
path: root/kernel
AgeCommit message (Collapse)Author
2008-08-12bring back the transcoder interface... it will be upgraded to the new ↵kpfleming
improved version here too git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4477 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-12Zaptel-perl: more robust parsing of channel signalling types.tzafrir
Parse them from a list rather thna fusing a regex of a "word". Merged revisions 4475 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4476 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-11* pcmtx_chan debugging parameter now refers to a zaptel channel number.tzafrir
* Do initialize xsp. Closes issue #13276 . * xbus_core_shutdown can't be __exit as it is used in initilization as well. Merged revisions 4473 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4474 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-11xpp: fxo: fix caller-id CID_STYLE_PASS_ALWAYS.tzafrir
Merged revisions 4468 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4472 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-07remove support for the Digium TC400 transcoder card; the interace to this ↵kpfleming
card has been completely redesigned, and the new interface will only be present in DAHDI; TC400 users will need to upgrade to DAHDI 2.0.0 to continue using their transcoder cards git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4469 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-07xpp: preliminary CAS support.tzafrir
Uses newer firmware (5975) for the 1151 alone. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4463 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-07xpp: reset a reserved protocol field.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4462 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-07xpp: debuggging parameter pcmtx_chan now refers to a zap channel number.tzafrir
Also fix a typo in card_fxs. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4461 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-04Remove obsolete calibrate_slics. Clean more in utils Makefile.tzafrir
Merged revisions 4458 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4459 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-04Merged revisions 4451-4455 via svnmerge from tzafrir
http://svn.digium.com/svn/zaptel/branches/1.2 ........ r4451 | tzafrir | 2008-08-04 18:11:01 +0300 (Mon, 04 Aug 2008) | 9 lines Firmware update: 5959 (DTMF and BRI ID) (From DAHDI rev. 4695) * Fix some cases of double digits. * Fix some rare cases of a BRI unit providing incorrect directionality. * Extra debugging code in card_fxs.c to trace future DTMF issues. * Properly note DAHDI (as opposed to Zaptel) ioctls. ........ r4452 | tzafrir | 2008-08-04 18:36:19 +0300 (Mon, 04 Aug 2008) | 2 lines Make it formally bashism. ........ r4453 | tzafrir | 2008-08-04 18:38:10 +0300 (Mon, 04 Aug 2008) | 2 lines Kbuild: A more robust check for the bri_dchan patch. ........ r4454 | tzafrir | 2008-08-04 18:39:01 +0300 (Mon, 04 Aug 2008) | 2 lines Minor BRI initlization improvements. ........ r4455 | tzafrir | 2008-08-04 18:43:32 +0300 (Mon, 04 Aug 2008) | 7 lines Add channel alarms in Zaptel-perl and lszaptel specifically. * Zaptel::Chans now provides a method alarms() for a list (or number of) alarms. * lszaptel uses it for a more correct display of channel status. * Also update PCI hardware list. ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4456 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-03Fix build on kernels 2.6.2-2.6.13: class_simple_device_removetzafrir
This function only needs the device as its parameter. (Note that r4448 has already been fixed in 1.4) Merged revisions 4447 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4449 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-07-22make battery loss to red alarm translation actually work for these driverskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4429 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-07-21Fix building zaptel with kernel 2.6.26. Taken from DAHDI-linux rev.tzafrir
4522. For issue #12944 . Merged revisions 4424 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4426 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-07-10PCM: A bugfix that was reintroduced in r4353:tzafrir
After this change, the echo-canceler buffers were not cleared in some cases. As a result when one FXS is put ONHOOK, the other side could hear noise for a second or two until full disconnect is done. Merged revisions 4407 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4408 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-07-08A case where we didn't switch to low power at the end of a ring.tzafrir
Issue may prevents ONHOOK detection. Merged revisions 4394 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4395 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-07-07Default ring debounce timer should be higher to properly catch calleridmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4391 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-07-01use symlinks to make multiple builds of voicebus.o, so it doesn't get ↵kpfleming
rebuilt twice every time 'make' is run to build modules git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4384 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-28Fixes building with the kernel of RHEL 5.2. Closes issue #12889 .tzafrir
Merged revisions 4367 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4368 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-20Remove unnecessary udelay from read/write PCI routinesmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4360 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-15Muted DTMF PCM (from FXS modules) could "leak" to the next channel.tzafrir
(From xpp r5796). Merged revisions 4352 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4353 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-05Fixes a potential panic in Xorcom Astribanks devices if disconnectedtzafrir
when a userspace program still holds a channel open. Regression from changeset 4250 . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4348 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-05Fixed type of flags parameter to spin_lock_irqsave functions. Fixessruffell
compilation issues on platforms where int and long do not have the same size. Closes issue #12787 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4345 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-22blink_mode was a boolean and changed to a channels bitmask. Now actuallytzafrir
changing the type from bool to unsigned long. (xpp r5756). Merged revisions 4314 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4315 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-20* Document Zaptel::Spantzafrir
* Minor changes to Zaptel::Xpp as well. (Documentation-only changes. xpp r5746,r5747) Merged revisions 4308 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4309 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-19* Zaptel-1.2.x does not have zt_alarm_channel(). Move up the backwardtzafrir
compatibility kludge so it actually affect code (failed compilation on zaptel-1.2 from Digium without (Closes issue #12654 ). * Cleanup a compile warning in xpp/card_global.c . * Fix regression in PRI init script (case of less than 4 modules). * Update changelog and bump version. Merged revisions 4304 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4305 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-16git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4301 ↵mattf
5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-16git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4300 ↵mattf
5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-14Allow hpec to build on older(?) 2.6 kernels.qwell
(closes issue #12623) Reported by: ricvil Patches: hpec_src.diff uploaded by tzafrir (license 46) Tested by: qwell, ricvil git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4290 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-14Add MTP2 Signalling support to single span cardsmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4279 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-14XPP documentation fixes.tzafrir
Merged revisions 4271 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4272 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-13xpp r5723: Includes, among others:tzafrir
* New firmware protocol version: 3.0 . * New numbers for the device types: (e.g. in card_init* scripts) - FXS: 1 (was: 3) - FXO: 2 (was: 4) - BRI: 3 (was: 6 for TE, 7 for NT) - PRI: 4 (was: 9) * Init scripts of FXS and FXO modules are now written in Perl as well (be sure to have File::Basename, e.g: perl-modules in Debian). * calibrate_slics merged into init_card_1_30 . * Module parameter print_dbg replaced with debug . Same meaning. * init_fxo_modes removed: content moved into init_card_2_30, verified at build time. * Code tested with sparse. Most warnings were fixed. * Set ZT_SIG_DACS for the bchans in the PRI and BRI modules to not get ignored by ztscan. * Handle null config_desc we get from some crazy USB controllers. * genzaptelconf: Fix reporting of empty slots in list mode. * xpp_blink can now blink a single analog port. * "slics" has been renamed "chipregs". * Fixed a small typo in fpga_load(8). * Fixed bashism in xpp_fxloader. Merged revisions 4264 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4266 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-12Apparently this API changed in 2.6.18, not in 2.6.22mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4253 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-11Merge in kernel level MTP2 branch.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4250 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-04* Allow initialization of T1-s (r5665) .tzafrir
* Remove some false alarms on T1-s (r5669) . Merged revisions 4234 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4235 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-02Remove some useless code that was merged from the stackcleanup branchmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4231 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-02Remove old schedule_timout code and replace with an msleepmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4230 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-02Move the checktiming parameter to a flag in checkflag as wellmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4227 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-02Switch to using bitflags instead of variables for stopdma fieldmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4224 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-02Fix for #12387. Cannot unload wct4xxp module on FC8mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4223 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-02Merge stack cleanup branch into 1.4. Also merge firmware load time fix for ↵mattf
wct4xxp driver. The stack cleanup branch reduces the amound of stack used by zaptel, nice for systems with 4K stacks enabled and where potential stack overflow is found git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4221 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-25Since MF R2 tones are generated continuously, we need to not set the dialing ↵qwell
status. (closes issue #12526) Reported by: moy Patches: zaptel-mf-dialing-rev4195.patch uploaded by moy (license 222) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4196 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-25Based on a comment made by moy in #asterisk-dev, and the surrounding code in ↵qwell
these functions, I believe that this is what was actually intended in r4130. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4195 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-24Fixes a regression in versions 1.2.25 and 1.4.19 identified by korihor wheresruffell
the wctdm driver was no longer properly recognizing polarity reversals. (closes issue #12419) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4194 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-23A test for a specific #define in zconfig.h was done by invoking cpp .tzafrir
Sadly the change of CFLAGS handling in kernel 2.6.24 meant that it is no longer as easy to invoke cpp on our own. Impact: On kernel >= 2.6.24, xpd_bri never got built, even if the bri_dchan patch was applied. Fix: use a simpler grep instead. Hopefully noone passes it through other means. This should hopfully fix issue #12426 . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4193 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-23Updated to latest code, fixed bug in serial i/ojdixon
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4191 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-21Zaptel::Config::Default - don't die if no config file.tzafrir
(Accidentally left out of the merge from 1.2) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4187 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-19Fix compiler from complainingmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4185 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-19Partial fix for #9379. Fixes potential race condition in open and close ↵mattf
routines for zaptel devices git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4183 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-18Fixed monitoring of zap pseudo channelsjdixon
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4176 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-17Avoid a double-free in ztdynamic.c ztdynamic_chanfree.diff from bug #12406 .tzafrir
Merged revisions 4174 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4175 5390a7c7-147a-4af0-8ec9-7488f05a26cb