summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-07-19update to 2.6.22 request_irq() flagskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2756 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-19convert a few drivers over to current PCI module registration functionkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2754 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-19don't try to timeslot-interchange channels that are being bridged (DACS) if ↵kpfleming
either channel has a txgain or rxgain specified, since that gain won't be applied any longer if the DACS is put into effect git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2752 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-18A distribution may have multiple directories for firmware and without ↵file
knowing the proper one we have to copy the firmware into each. We can't just copy it into the first one found. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2750 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-17Fix spelling of variable names...tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2749 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-17* Separate programs, modules install-programs and install-modulestzafrir
targets. * Finish DESTDIR / INSTALL_PREFIX separation. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2748 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-16Allow overriding the output of uname -m and uname -r with the variables tzafrir
MACHINE and KVERS, respectively. KVERS existed before, but ther ewere still direct uses of uname -r left. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2747 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-16Cleaning up Makefile:tzafrir
INSTALL_PREFIX: /usr . A place under which standard stuff is installed. DESTDIR: A complete subtree under which the system is installed. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2746 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-16Remove automatic call to ztcfg -s from init.d script. Do dynamic spanstzafrir
need it? git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2739 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-13* Update documentation on perl utilities.tzafrir
* But we do need to ignore their man pages. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2735 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-12xpp driver r4371:tzafrir
* Update to zaptel-1.2.18 and zaptel-1.4.3 (r4308 onward) * Fix a critical race with zaptel synchronization (r4362) * Added a /proc/xpp/cmds for statistics about command timing (r4360) * Fix a digit mapping bug with hardware dtmf detection (r4357) * In xpp/utils/Makefile add perl syntax checks to our scripts (r4337) * Better USB data error checking (r4336) * udev rules (xpp.rules) avoid false calls from wrong nodes (r4331) * Improve hardware detection and reporting in lszaptel, zaptel_hardware. zapconf is basically functional. * Leds are blinked synchronously on all Astribanks now (r4262) * Fix a BRI bug if OPTIMIZE_CHANMUTE was compiled into zaptel (r4258) (This feature was not yet accepted into official zaptel) * Removed compile warning about HZ != 1000 (r4218) * Firmware updates. * fpga_load now supports USB pathes without zeros (r4211) * XPD numbers have changed to '<Unit><Subunit>' (r4196) * Proper support for ZT_VMWI ioctl, if used in zaptel (r4092) * Fix FXO power denial detection (r4054) * FXO could accidentally go off-hook with some compilers (r4048) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2732 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-12Document the usage of install_prereq .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2730 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-12* config target: Replace shell scriptary with makefile logic.tzafrir
* config target: Add a helpful text for the Zaptel installer. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2729 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-12Add a script to install build requirements.tzafrir
This was after the instructions on which kernel to install on CentOS became a manual script with if-s and case-s. Should work on Debian and CentOS. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2728 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-11Remove obsolete and misleading Linux26.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2725 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-11* Use shell, rather than shell-in-makefile syntax.tzafrir
* Supress ugly text when /lib/modules/`uname -r` doesn't exist (but we build for a different kernel) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2724 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-11tzafrir pointed out that this was put in the wrong place.qwell
Move it so that asciidoc can properly parse it. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2721 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-11On some systems, sudo does not automatically add the PATH for root, so ↵qwell
things like /sbin may not be in there, which means chkconfig may not be found. Add a note stating this. Issue 10181. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2717 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-11Get ourselves the nice README from 1.4 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2713 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-11* Enable zaptel-perl by default.tzafrir
* Clunky shell xpp init functions replaced with better perl utilities. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2710 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-05Do not report channels in ZT_STATE_KEWL or ZT_STATE_AFTERKEWL (ie; battery ↵qwell
drop) states as available. This becomes more likely if ZT_KEWLTIME or ZT_AFTERKEWLTIME are set to higher values. Issue 7612, patch by rbraun. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2696 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-04Bourne shell scripts should not use >& . dash doesn't support it.tzafrir
And all of them simply supressed errors, so they were replaced with 2> /dev/null . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2689 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-04Set the default value for XPP_SYNC.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2687 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-03Fix a potential issue with the reversepolarity module option in wctdm.qwell
Issue 7191, patch by Thomas Andrews. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2683 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-03Fix for span shutdown issuemattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2680 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-02Add support for the 2.6.22 kernel. (issue #10095 reported by Matti)file
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2675 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-02When running the optional xpp_startup, run it only when there aretzafrir
Astribank devices connected. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2673 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-26 * Fix unloading of xpp modules.tzafrir
* Add optional support for using the zaptel perl functions git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2670 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-26we need to export variables to sub-level make processes, otherwise the HPEC ↵kpfleming
binary won't always get included in the build git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2668 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-21readability fixes: Remove complex nesting. Move hpec init to a function.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2656 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-12Corrected test codejsloan
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2644 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-12Added new PCI device IDjsloan
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2642 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-11Add a couple of PCI idsmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2638 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-11Make the version check optionalmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2633 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-11Revert earlier erred commitjsloan
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2625 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-11Added new PCI device IDjsloan
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2624 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-11Fixed SMP bugs on quad processor machines. Reduced memory usagejsloan
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2621 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-10* Add fxstest man page (from rev. 2611).tzafrir
* Fix charset warning in zttol.8, ztcfg.8 and ztmonitor.8 . (from rev. 2612) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2613 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-08Make sure the name is rightrussell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2599 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-08Make the checkstack target basically work for kernel 2.6.tzafrir
(It was totally broken) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2595 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-07Some XPP bugfixes:tzafrir
* Fix FXO power denial detection (changeset:4054) * Incorrect data type could cause FXO module to go off-hook (changeset:4048) * xpp_fxloader: fix the error message when you want to disable automatic firmware loading... (changeset:4060) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2589 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-07Remove useless backticks.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2587 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-07The -quit option to find is not supported on the version of find installed onrussell
Centos 4. Lame! Just remove it, as it isn't really necessary. (issue #9800, noahisaac) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2583 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-06Add 220/420 supportmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2573 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-01Fix for stack overflow on FC6 and VPM450M.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2550 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-18Remove silly got signal messagemattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2539 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17The makefile change needed for parport debugging (only used if parport tzafrir
debugging is enabled). Accedintally left out of previous commit. Has no effect by default. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2534 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17Reduce stack usage of VPM450M. Fix for FC6 load problems.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2531 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17* Tested with zaptel-1.2.17.1tzafrir
* Add D-Channel TX, RX and BAD frames count in /proc/xpp/XBUS-*/XPD-*/bri_info * Adjust output of xpp_sync script. Pad for 8 port BRI. * Added a debugging module parport_debug (not compiled by default). * Added an optional patch to zaptel: - compiles only if ZAPTEL_SYNC_TICK is defined - Allow interested driver to register for "sync" notification. - Does not affect drivers that do not use this feature. * Added external synchronization feature: - Only if ZAPTEL_SYNC_TICK feature is compiled in - Than XPP may be synchronized by another card (e.g: an Astribank with FXS can be synchronized by a Digium PRI card). - May be enabled/disabled in runtime via the 'sync_tick_active' module parameter to the xpp.ko module. * Fixed a potential bug in D-Channel hexdump printing. * New visual indications in BRI leds: - Constant ON RED/GREEN: Shows the port type -- NT/TE. - Very fast "double blink": Layer1 work, no D-Channel yet. - Steady blinking (1/2 sec): D-Channel trafic detected. * xpp_fxloader moved to /usr/share/zaptel . * adj_clock removed: never really used. * Debugfs code now disabled by default. * Now we have Zaptel::Hardware and a sample zaptel_hardware script (not (installed by default). * We also have a sample perl zapconf (not installed by default) which aims at replacing genzaptelconf (sans the modules detection). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2529 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17The debugfs code seems to have some bad sideeffects when badly used.tzafrir
So don't enable it by default. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2520 5390a7c7-147a-4af0-8ec9-7488f05a26cb