summaryrefslogtreecommitdiff
path: root/kernel
AgeCommit message (Collapse)Author
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
2008-03-19Merging in 1.16 software for VPMADT032 on wcte12xp drivermattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4031 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-19Properly handle return value before testing parameterdbailey
(Parameter may be uninitialized) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4022 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-19* We need to silence the echo-canceller buffers as well.tzafrir
* But no need to cancel echo on channels without PCM. * Switch to FXS hardware DTMF detection again. Merged revisions 4012 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4013 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-16cleanup wcfxo module parameters: tzafrir
* Make them all world-readable. * If value only used at initialization, make them read-only. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3997 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-14Update wctdm24xxp's VPMADT032 firmware to version 1.16mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3990 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-14When doing the ISR rewrite, forgot to include the vpmdtmfcheck when doing ↵mattf
DTMF polling causing it to check for DTMF events even when it was told not to git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3984 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-07Fix compilation when using devfsqwell
(closes issue #12156) Reported by: zandbelt Patches: zaptel-1.4.9.2-devfs-mode.patch uploaded by zandbelt (license 33) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3964 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-07Also print channel alarms in /proc/zaptel files.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3958 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-07xpp.r5512:tzafrir
* Build: - Zaptel >= 1.4.9 is migrating to storing kernel stuff in zaptel/kernel/* - We conditionally use old/new directory scheme: In xpp/Kbuild and xpp/utils/Makefile use ZAP_KERNEL variable, so it's not confused with ZAPTEL_DIR (which appears in zaptel/Makefile as well). - Fix compile warnings on 64 bit systems. - Compile fixes for kernel-2.6.24 * UDEV: - /etc/udev/rules.d/xpp.rules now uses XPP_INIT_DIR to find astribank_hook. - astribank_hook: Modify to do nothing. Add some documentation. * Autoconfiguration -- zapconf: - Don't fail zapconf et.al. if no config file was found. - Skip the 'IRQ Missing:' line in /proc/zaptel/nnn for wcte1xp(?). - Add some newer Digium cards to our hardware inventory. - Partially handle cases where the /proc/zaptel strings does not contain info about E1/T1/J1 or NT/TE. * Better SYNC: - Finer tuning of PLL (New firmware). - Change calculation algorithm of sync offset. It now copes better with the variance in USB frame reception timing. - Statistics: . The view of results was moved from /proc/xpp/XBUS-*/summary to a new /sys/bus/astribanks/devices/xbus-*/timing and enhanced. . A new xpp_timing script shows all astribanks. . A new write only /sys/bus/astribanks/devices/xbus-*/cls is used to clear statistics. Eventually, clearing of XBUS related statistics should be done here. One that was migrated is the clearing of 'PCM [TR]X:' numbers currently appearing in /proc/xpp/XBUS-*/summary (they should be moved too later). - Shorten the strings representation sync_mode ("SYNC_MODE_AB" -> "AB") adapted their use in printk and /proc so the text is clear. - Added a command line parameter xpp.disable_pll_sync to stop all adjustments command to AB (calculations still continue as usual). * PRI: - 4 port support - set clocking master span via ztcfg, like other zaptel devices. * FXO: - Fix false hangups in some countries (voltage fluctuations). - Some countries send caller-id before first ring. Added code to handle caller-id PCM pass through according to a new command line parameter (xpd_fxo.caller_id_style). - No longer sends an event on zt_open. See #12160 . * Misc: - Adapt to zaptel-1.4.8 and above ztscan: added fields returend by new ZT_SPANSTAT_V2 ioctl() - Document sysfs and waitfor_xpds. - Miscelaneous optimizations and bugfixes. - Remove deprecated pcm_tasklet parameter. The rx_tasklet parameter has replaced it a long time ago. - Add RX_CMD counter to /proc/xpp/XBUS-*/summary - Unclutter some of the usb disconnect messages. - xpp_usb: minor preformance improvements in receive. Expose the number of pending receive URB's in /proc/xpp/XBUS-*/xpp_usb Merged revisions 3952 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3957 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-05Hopefully a fix for issue #12150 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3939 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-04don't add an unnecessary delayed battery transition on FXS ports when we ↵kpfleming
know the other end is already on-hook (closes issue #9660) Reported by: mmacvicar Patches: zaptel-base-c_patch_1_4_rev3121 uploaded by meneault (license 260) Tested by: jmhunter git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3932 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-03* Pass some extra variables explicitly in the 2.4 build.tzafrir
* Clean up the 2.4 kernel GNUMakefile. Should hopefully fix issue #12056. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3921 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-28Undoing the change in revision 3883 until there can be more thought about the sruffell
best place to configure the battery debounce time. Too short and erroneous alarms are generated. Too long, and asterisk won't detect when the remote side disconnects. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3892 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-27* torisa.c: Report the correct E1/T1 .tzafrir
* tor2.c: fix a typo in the span description string. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3888 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-27Set the default tone zone to to the first loaded zone by default.sruffell
Should prevent the crash reported in issue 0012053. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3885 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-27Increase the battery debounce from 64ms to 1 second.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3883 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-21the tor2 private structure has a field for the corresponding PCI device ↵kpfleming
pointer, but it was never filled in... since it is now being used in the init_spans() function, this caused a NULL pointer dereference. solve that problem by actually filling in the pointer variable that already existed :-) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3863 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-20Make hpec buildable again.qwell
Closes issue #11951, patch by me. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3861 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-19Add two neon MWI event definitionsdbailey
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3854 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-18Closes issue #11471. Replaced instances of strncpy with zap_copy_string ↵jpeeler
(added to zaptel.h) to fix any off by one errors and ensure destination string is NULL terminated. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3846 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-16Make the kerenl parameters of zaptel.ko world-readable.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3835 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-13remove some STANDALONE_ZAPATA stuff that is not neededkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3823 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-05Changes to the wcte12xp driver.sruffell
- replace change to allow driver to recover from descriptor unavailable. - module echo cancellation parameters now valid under 2.6 kernels. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3805 5390a7c7-147a-4af0-8ec9-7488f05a26cb
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