summaryrefslogtreecommitdiff
path: root/xpp
AgeCommit message (Collapse)Author
2007-01-23Merged revisions 1920 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1920 | kpfleming | 2007-01-23 09:25:42 -0600 (Tue, 23 Jan 2007) | 2 lines clean up various compiler warnings ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1921 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-27Merged revisions 1766 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1766 | kpfleming | 2006-12-27 16:47:19 -0600 (Wed, 27 Dec 2006) | 2 lines remove pointless duplication of ZAPTEL_VERSION that causes these modules to be rebuilt every time a commit is made to any part of Zaptel ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1767 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-18 r1724@boole: tzafrir | 2006-12-18 15:55:59 +0200tzafrir
Code is 2.6-specific anyway, no need for an explicit test. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1729 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-18 r1723@boole: tzafrir | 2006-12-18 15:54:04 +0200tzafrir
Use the internal version (without locking) of usb_reset_device. Intended for kernel 2.6.9 and earlier. Finally full support of 2.6.8 and 2.6.9. r2937: diego | 2006-12-17 14:20:36 +0200 r2940: tzafrir | 2006-12-17 16:32:51 +0200 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1728 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-18 r1722@boole: tzafrir | 2006-12-18 15:50:36 +0200tzafrir
xpp_zap.c: Better error hanlding during module init. orig r2948: oron | 2006-12-17 18:54:00 +0200 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1727 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-18 r1721@boole: tzafrir | 2006-12-18 15:46:42 +0200tzafrir
Assume every 2.6.9 kernel is a later RHEL4 kernel, which backported the gfp_t typedef. Either way we break some systems). r2938: diego | 2006-12-17 14:22:16 +0200 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1726 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-15Sync to xpp RELEASE-1.2.0 2933.tzafrir
r2847@boole: diego | 2006-12-03 10:33:00 +0200 added documentation which explains which packages are needed to build the drivers on different distributions. r2862@boole: tzafrir | 2006-12-05 08:43:50 +0200 README.Astribank: A typo in the sample config (changeset:2861). r2891@boole: tzafrir | 2006-12-08 01:11:45 +0200 Re-accept changeset:2832 after all. r2892@boole: tzafrir | 2006-12-08 02:46:07 +0200 Merge genzaptelconf changeset:2866 from trunk: * Zapata comment on unidentified channel goes to $zapata_file * Correct pattern for Sangoma A200 card's channels. r2893@boole: tzafrir | 2006-12-08 03:11:37 +0200 genzaptelconf: * Add options xpp_fxo_rxgain: add a custom rxgain for every XPP FXO channel. * Do print the original line for every channel. r2909@boole: tzafrir | 2006-12-10 20:03:59 +0200 Add some sleeps in older kernels in the firmware loading script. r2932@boole: tzafrir | 2006-12-14 17:30:12 +0200 Make the warning about a call to off-hook FXO debug. At least if we cannot suppress it at module load time. r2933@boole: tzafrir | 2006-12-14 17:32:00 +0200 Don't redefine 'bool' on newer kerenls to fix building with kernel 2.6.19. Taken from Digium tree. (from changeset:2930) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1719 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-15 r1715@boole: tzafrir | 2006-12-15 14:35:26 +0200tzafrir
Firmwares to fix caller ID detection timing issue. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1716 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-11Merged revisions 1700 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1700 | kpfleming | 2006-12-11 13:05:43 -0600 (Mon, 11 Dec 2006) | 2 lines kernel 2.6.19 now has a type called 'bool', although it's not completely implemented so there will still be some warnings when building xpp against 2.6.19 kernel headers ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1701 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-01 r1671@boole: tzafrir | 2006-12-01 01:30:24 +0200tzafrir
r2806@boole: oron | 2006-11-27 16:54:06 +0200 Fixed panic in ticket:147 merged code from changeset:2802 changeset:2804 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1678 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-01 r1670@boole: tzafrir | 2006-12-01 01:29:57 +0200tzafrir
r2794@boole: oron | 2006-11-26 14:24:15 +0200 Remove all SOFT_RING code (unused for a long time). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1677 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-01 r1668@boole: tzafrir | 2006-11-30 23:48:25 +0200tzafrir
r2832@boole: tzafrir | 2006-11-29 11:06:06 +0200 Add parameter xpp_ec to the module xpp (xpp_zap.c). Defaults to 1. If 0, module will use Zaptel echo canceller even with XPP_EC_CHUNK. Parameter is read-only for now: cannot be set through /sys/modules. (Merge of changeset:2830) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1676 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-01 r1667@boole: tzafrir | 2006-11-30 23:46:46 +0200tzafrir
r2831@boole: tzafrir | 2006-11-29 11:05:08 +0200 genzaptelconf: A list of countries for which to use busydetect. (backport of changeset:2829) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1675 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-01 r1666@boole: tzafrir | 2006-11-30 23:46:11 +0200tzafrir
r2817@boole: oron | 2006-11-28 13:39:47 +0200 Maintenance branch for asterisk-1.2.x git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1674 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-21Typo: SBINDIR -> BINDIR .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1623 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-11init_card[34]_23: merge from 2654,2655.tzafrir
* Redirect stderr to /dev/null. Without any redirection, it may fail with exitval=4 . Probably, fd 2 is closed and the shell (or sed which is used in the scripts) tries to write to it (or do some other I/O related syscall) which fails. * make XPP_BASE handling identical in the two scripts. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1590 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-08Fixed a typo in the "wctdm reimplementation".tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1571 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-06Fixes for card init scripts from rev 2633:tzafrir
* Don't log card init scripts to /tmp/results . * Document how to trace, though. * init_card_4_23: don't re-open the slics file. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1558 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-06Merging xpp driver release 1.2 (rev. 2569), originally team/tzafrir/xpp_1.2tzafrir
* Should build well. Almost final. * genzaptelconf: Also work when zap_autoreg=0 * README.Astribank updated for rev. 1.2. * xpp/utils/Makefile: Use $< with cc -c * Get xpp/utils configuration from autoconf (without changesin top dir) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1557 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-01instead of setting HOSTCC and CC directly in the Makefile, use the informationrussell
provided by the configure script (issue #8055, tzafrir) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1547 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-09Moving firmwares back where they were.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1455 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-09Bugfix: Shorten max lines < MAX_PROC_WRITEtzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1453 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Move firmwares to a separate subdirectory.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1424 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Fix problems reported by sparsetzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1423 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06A hacked udev support for xpp_fxloader.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1420 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06FPGA firmware rev. 2008tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1419 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06* fpga_load.c: fix a size error. Now works on amd64 .tzafrir
* fpga_load -vvv now dumps the transmitted packet. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1418 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Remove unused data member.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1417 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Fixes for 2.6.8 compilation:tzafrir
* Replace the completion variable with two atomic counters and a wait queue the xbus_poll() code is revamped to use this. * genzaptelconf: Adapt to different module parameter location in sysfs . git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1416 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Fix a possible return from xbus_core without releasing xbus->in_use .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1414 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06genzaptelconf: allow passing the names of the produced files from the tzafrir
environment. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1412 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Cleanup the unused non-RBS code:tzafrir
* remove all non WITH_RBS code. No need for the define. * unused recv_errors and seq_errors. * CID_START_TICKS, CID_STOP_TICKS cid_timer from trunk/ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1411 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06More cleanup:tzafrir
xpp_zap.c: * Remove old and long unused character device interface. * Show some extra fields in XPD summary proc file. * Move atomic_dec() to correct position card_fxs.c: Remove unused label. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1409 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Begin merging a small set of clean-ups:tzafrir
* __do_sethook() was gone and merged into do_sethook(). * Use DAA_RING_REGISTER constant instead of a number. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1408 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Better USB error handling: move "pending_writes" check earlier.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1407 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06* genzaptelconf: remove duplicate test for location of ztcfgtzafrir
* genzaptelconf: really add the option -R (suppress restarting Asterisk in the end) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1405 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-05Don't throw a SLIC_REPLY packet just because we're not registered yet.tzafrir
Test for ring control and such will be done in update_line_status(). git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1399 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-05SPAN_REGISTERED() should not rely on zaptel ZT_FLAG_REGISTERED sincetzafrir
zaptel set it before registration is finished. (right: xpp needs to replicate zaptel's bookkeeping here). git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1397 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-05Rate limit error messages for USB URBs.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1396 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-05Raw xbus command proc interface (Compile-time option. Desabled by default).tzafrir
(most of this fix got accidentally into in xbus-core.c in prev. commit) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1395 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04* Re-add calibrate_slics to the FXS initialization processtzafrir
* xpp/utils: Build and install init_fxo_modes . Data is based on data from wctdm.c . TODO: a separate daa.h? * Fail the script if automatic calibration has failed. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1394 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04FXO caller-id now works.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1393 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Workaround spurious rings described in ticket:102 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1392 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Rename the bitmask xpd->hookstate into xpd->offhook (for readability).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1391 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Move all zt_hooksig(...{OFF,ON}HOOK) calls into update_line_status() tzafrir
in xpp_zap.c git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1390 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Finally not using SOFT_RING.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1389 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Send ring signalling to zaptel directly from card_fxo.c:tzafrir
no need to xpp_ring_generate() git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1388 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Fix FXO polling (separate poll_counter for each unit)tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1387 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Remove obsolete rapid configuration code.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1386 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04* Deleted the internal changelog of genzaptelconf.tzafrir
* bumped up internal version to 0.5.5 . git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1385 5390a7c7-147a-4af0-8ec9-7488f05a26cb