summaryrefslogtreecommitdiff
path: root/kernel
AgeCommit message (Collapse)Author
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
2008-04-01Work around for host bridges that generate fast back to back transactionssruffell
which the current version of the quad span cards do not advertise support for. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4122 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-31Remove the ztd-ethmf driver for now. It was not ready to be committed.russell
(issue #12241) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4113 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-31Document when "D-Chan RX Bad checksum" is not a problem.tzafrir
Merged revisions 4109 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4110 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-27No need to make the wctdm_fxomodes.h file anymore, since it would be the samesruffell
as the fxo_modes.h file. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4101 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-27The location of the fxo_modes structure changed.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4100 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-27- Updated wctdm24xxp and wcte12xp driver which are now more tolerant ofsruffell
systems which do not exhibit good real-time characteristics. - Bringing in improvements to battery alarm generation that was on kpflemings battery_alarms branch. (Issue #12099) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4096 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-25Remove yet another "static" inside a struct and allow building 1.4 intzafrir
devfs 2.4 systems. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4078 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-24Merged revisions 4072 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r4072 | mattf | 2008-03-24 16:06:00 -0500 (Mon, 24 Mar 2008) | 1 line Add in new parameters added for 1.16 version of the firmware for the TE120 which should have already been merged in. ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4073 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-23ztd-ethmf.c: Ztdynamic driver for Redfone Communications foneBRIDGE 2.tzafrir
This driver uses a network protocol that is different from the existing ztd-eth driver. This commit adds the driver though does not yet build it by default. For the moment use make MODULES_EXTRA="ztd-ethmf" . Patch multiframe-032108.patch from #12241 by brettcar. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4069 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-21add MF R2 tone generation, and along the way do a lot of cleanup of the tone ↵kpfleming
building and playback code git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4063 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-21silence some compiler warnings about unused variableskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4050 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-21* Earleier initialization of PRI module's register.tzafrir
* Fix zaptel-perl reporting of battery after procfs changes. * Documentation updates. * Block hdlcstress/test fixes that followed: already merged. Merged revisions 4036 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4039 5390a7c7-147a-4af0-8ec9-7488f05a26cb