summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2007-05-04Init script clean-up; enable module-specific parameters tzafrir
(though modprobe.conf is the recomended method to pass arguments) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2494 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-02Uh, this wasn't installing: I put a colon in the MAN_PAGES set, and removed ↵murf
an 'exit 1' that prematurely stopped an installation. I'm weirded out. I hope this is a good mod git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2487 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-01Add zonedata information for the Philippines.russell
(issue #9525, reported and patched by loloski) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2482 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-29xpp rev. 3814:tzafrir
* Protocol no. 2.6: syncing improvements. * Support for 8-port Astribank BRI. * Firmware unloading now works: rmmod xpp_usb; /etc/hotplug/usb/xpp_fxloader reset * Defaults of kernel parameters are now part of parameter description. * World-readable kernel parameters. * No need for extra patch beyond bristuff for Astribank BRI. * Default poll intervals changed: 500 in BRI and FXO. * Allow changing FXS polls interval at run time. * BRI initalization fixed on SUSE (path to logger). * When using the SUSE zaptel rpm package, set modules_var=ZAPTEL_MODULES in /etc/sysconfig/zaptel . * zt_registration not verbose by default. * xpp_sync warns if FXO is sync slave. * Fixed genzaptelconf -z (zapscan output emulation). * PCM fixes. * Solves "multiple ticks" bug. No need for pcm_tasklets workaround. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2475 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-29Beginning commit of rev. 3814:tzafrir
renaming xpd init scripts, as the protocol version has changed. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2473 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-28Fix for potential deadlock in wct4xxp drivermattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2469 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-28Fix for potential deadlock in driversmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2464 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-27Correct and remove (one of each) broken syntax examples.qwell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2459 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-25Start fixing potential deadlock between device driver and zaptelmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2451 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-25Don't try to reference a variable on a channel that may not exist.qwell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2443 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-24Backport pre-echocan debugging for ztmonitorqwell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2434 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-13Fix several places where we treat confmode as a bitmask.qwell
It is a bitmask...sort of.. I'll explain.. confmode is used for 2 different things. It defines both the "mode" and the "flags" of the conference. The "mode" part is in 0x00FF and is NOT bitwise. The "flag" part is in 0xFF00 and *IS* bitwise. Confused yet? Good. So, when we want to check the "mode" of the conference, we need to check only within 0xFF. There were several places where this was not happening - but due to luck, it worked (...sort of). That's what this patch fixes. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2422 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-11Fix buglet in memory corruption fix.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2405 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-07Fix for #9208. Thanks adomo and Tzafrir!mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2398 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-30Fix an issue where an echo can was freed incorrectly in certain circumstances.qwell
Issue 9292, fix suggested by ddv2005. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2353 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-29Trim the HPEC readme that is included in zaptel to only include basic ↵russell
information as the one on the FTP site will always be the one that contains the full up to date information. Also, tweak some grammar in the additions to the init script. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2350 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-29Add a README for HPEC, and add support for HPEC in the init script.russell
(issue #9413, chozian) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2347 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-27When debug is enabled, ensure that "debug=1" gets passed to the zaptel module,russell
and not just the hardware modules. Also, run "ztcfg -s" at the beginning of the "stop" action of the script. (issue #7409, PCadach and tzafrir) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2342 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-19Update documentation to match current Makefile. linux26 is no longer a valid ↵file
target. (issue #9296 reported by valley) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2322 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-16Update the README:tzafrir
* Update modules list * Add a basic list of utilities. * Clarify the location of the kernel source tree. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2311 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-16Ignoring Module.symverstzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2310 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-14Fix bug in J1 mode configuration.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2307 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-09Make sure we don't allocate as GFP_KERNEL in atomic contextmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2301 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-08vprintk is only available on 2.6.9+ (issue #9232 reported by baconbuttie)file
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2296 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-07Don't die when there is no udev rules dir (on an installtion with tzafrir
INSTALL_PREFIX explicitly set). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2290 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-05Found a proper "marker" for the gfp_t typedef. Now every 2.6.9 is supported.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2286 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-05this driver does not use workqueues, so does not need this header (issue #9196)kpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2282 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-05remove stray character that my editor decided to addkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2281 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-05ensure that we run objdump in the most generic language possible to avoid ↵kpfleming
complications on non-English systems (issue #9196) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2280 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-02Revert the bogus changeset 2274.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2276 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-02Proper initialization of the Astribank (xpp) at zaptel startup.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2275 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-02Proper initialization of the Astribank (xpp).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2274 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-02Clarify a cyptic build message.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2266 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-01SLAB_KERNEL is an obsolete alias of GFP_KERNEL. Fix build on Vanilla 2.6.20 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2257 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-28Make the xpp/utils/Makefile in 1.2 closer to the one in 1.4 tzafrir
(and actually work, this tine). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2252 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-28allow the HPEC to work even if echotraining has been requested (the HPEC ↵kpfleming
doesn't do echotraining, but it shouldn't fail just because the user asked for it) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2251 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-28correct comment, and set module installation directory before it is neededkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2250 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-28* xpp rev. 3495: fix a race in the FXO driver of recent weeks.tzafrir
* Add the Astribank BRI driver (though still needs bristuffed zaptel to build and thus will not build by default) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2243 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-27Xorcom rev. 3491:tzafrir
* Version of xpp modules is set from xpp/.version, rather than "unknown". * Astribank devices are now initialized in parallel: faster startup when there are multiple Astribanks. * Re-added support for the old format of /proc/xpp/sync write: (echo N 0 > /proc/xpp/sync ) . The new format (SYNC=NN) is preffered. * Firmware update to fix a PCM issue. * Fixed a build issue with kernel 2.6.8 . * Fixed missing initialization in Zaptel::Xpp::Xbus . * genzaptelconf will now set FXS ports as LS by default. To set them as KS, use fxs_default_start=ks in /etc/default/zaptel / /etc/sysconfig/zaptel (Also a workaround for #7755 ). * Groundwork for sync from zaptel master span: if zaptel is built with ZAPTEL_SYNC_TIC (see zaptel/team/tzafrir/sync ), xpp will report its drift from the zaptel sync master. * USB firmware update: had bad lines checksums (and fxload did not report). * fpga_load can now better report bad hex file checksum ;-) . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2239 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-26Just in case... set hotplug firmware loading option to no if on a 2.4 ↵file
kernel. (issue #9140 reported by velter) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2232 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-24Add the Zaptel and Zaptel::Xpp perl modules, and some simple tzafrir
utilities that use them. disabled by default for now. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2223 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-24Make the xpp/utils/Makefile in 1.2 closer to the one in 1.4 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2222 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-24xpp_usb should not ever get modprobe ztcfg auto install rules.tzafrir
For ztdynamic it is just pointless. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2221 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-22merge driver for Digium TE120Pmspiceland
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2213 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-21Make sure we do the IRQ fix in the gen1 interrupt handler as well.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2208 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-21Make sure we do the check for memory allocation failure.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2199 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-21Reduce our stack usage when using the vpm450mmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2198 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-21use new tag version numbering scriptkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2194 5390a7c7-147a-4af0-8ec9-7488f05a26cb