summaryrefslogtreecommitdiff
path: root/kernel
AgeCommit message (Collapse)Author
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
2008-04-17when processing ZT_SET_DIALPARAMS, don't return an error for out-of-range ↵kpfleming
tone durations, just ignore them (so that applications that don't initialize the entire zt_dialparams structure won't fail to set the ones they do initialize) (closes issue #12456) Reported by: fnordian Tested by: fnordian git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4173 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-11Take out part of a commit to the wct4xxp driver that wasn't supposed to go inmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4170 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-11Make sure that we disable the echo canceller on the old style echocan() ↵mattf
function even if parameters are passed in. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4169 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-10Correct problem where drivers implementing echocan_with_params was not ↵dbailey
getting called to disable the echo canceller git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4168 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-10Officially bumping xpp version (xpp/.version) to 5566 .tzafrir
Merged revisions 4164 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4165 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-04Allow continuous MFR2 transmission continuouslymarkster
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4141 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-04Zaptel::Hardware - Add support for AEX410.tzafrir
Merged revisions 4138 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4139 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-04Add support for AEX410mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4137 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-04git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4134 ↵mattf
5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-03Have to use 'O' since 'F' is reserved (MFR2 fOrward)markster
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4130 5390a7c7-147a-4af0-8ec9-7488f05a26cb