summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-10-02add support for tc400p drivermogorman
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1488 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-20setup merge trackingkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1472 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-16Merged revisions 1468 via svnmerge from tilghman
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1468 | tilghman | 2006-09-16 02:45:04 -0500 (Sat, 16 Sep 2006) | 4 lines Round two of the fix for "hard-safe -> hard-unsafe lock order detected" (Issue 7620) Only difference is that the fix is only defined for kernel versions 2.6.11 and above; older kernels keep the current (possible deadlocking) code. ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1469 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-09Merged revisions 1458 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1458 | file | 2006-09-09 15:29:31 -0400 (Sat, 09 Sep 2006) | 2 lines Update firmware header generation tool to support paths being supplied with the filename (reported internally by Spiceland) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1459 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-09unrevert file's reversionkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1451 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-09Change reference to Asterisk needing make to build to Zaptel needing make to ↵file
build. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1450 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-08Merged revisions 1444 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1444 | file | 2006-09-08 19:49:43 -0400 (Fri, 08 Sep 2006) | 2 lines Move CONFIG_FW_LOADER check to Makefile (reported internally by Spiceland) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1445 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-08Add support for 56kbps ANSI links in hardhdlc mode.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1440 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-08Merged revisions 1436-1438 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1436 | kpfleming | 2006-09-08 11:02:43 -0500 (Fri, 08 Sep 2006) | 3 lines fix problem with VPM450M/VPMOCT when T1 and E1 are both used on the card make hardware DTMF detection default based on whether the module is a VPM400M or a VPM450M/VPMOCT ........ r1437 | kpfleming | 2006-09-08 11:06:21 -0500 (Fri, 08 Sep 2006) | 2 lines fix spacing in log message ........ r1438 | kpfleming | 2006-09-08 11:11:38 -0500 (Fri, 08 Sep 2006) | 2 lines gotta pay closer attention before i commit this stuff... ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1439 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-08Merged revisions 1431 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1431 | file | 2006-09-07 23:17:16 -0400 (Thu, 07 Sep 2006) | 2 lines Include moduleparam.h like every other module for certain 2.6 kernels (issue #7884 reported by iceberg13de) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1432 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-05Ignore vim swap files.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1398 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
2006-09-04genzaptelconf: handle the case of zap_autoreg=0 tzafrir
(FIXME: code copied from zaptel.init) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1384 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Minor code cleanup: No more SETHOOK method. It's only used in FXO, sotzafrir
now it's an internal function: __do_sethook() git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1383 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Experimenting with SOFT_RING again:tzafrir
* Poll R5 every 2 milliseconds; thresholds adjusted accordingly. * experimenting a reduced noring_threshhold (20ms) * Unset ring_sig[] for the FXO channel that is no longer being ringed. * Added ring_sig[] to the fxo struct: set when we need to check for reg 5 (instead of abusing the value of ring_thresh[]) * Don't increment ring_thresh/noring_thresh once they reached their threshold. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1382 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Fix problems with battery voltage fluctuations:tzafrir
- Use a higher voltage. - Add a software debounce counter. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1381 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Only display XORCOM_INTERNAL options if they can be used.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1380 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Show in /proc/xpp/XBUS-?/XPD-?/fxo_info also the noring_thresh[]tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1379 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Disable -DSOFT_RING: done in the FPGA now.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1378 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Fix a race condition when quickly reconnecting during a disconnect.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1377 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-01Add string conversion for hardware assisted D-channel to ztcfg (issue #7843 ↵file
reported by Matti, patch mysteriously appeared in my email from someone named angler... crazy that) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1376 5390a7c7-147a-4af0-8ec9-7488f05a26cb