Age | Commit message (Collapse) | Author |
|
spans can have dynamically set device types instead of constant strings
also fix up some string creation and copying to be safe against buffer overflows
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3281 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
called 'ztscan'. this tool outputs an Asterisk-style
configuration file containing one context for each Zaptel span with all the details that can be learned about that span. to
enable this tool, the ZT_SPANSTAT ioctl gained a number of new elements to report information about the spans:
- linecompat (available signaling modes for digital spans)
- spantype (T1, E1 or J1 for digital spans)
- location (PCI/PCI-Express location)
- manufacturer
- devicetype
Along the way I also found that the digital span drivers always set T1-style signaling bits in 'linecompat' even for E1 spans,
and that the ZT_SPANCONFIG ioctl did not properly check these bits when configuring E1 spans. The result of this is that it was
possible to configure T1-only coding/framing (AMI/B8Zs, D4/ESF) on E1 spans (but not the reverse); this has been corrected and
any attempt to use T1-only coding/framing on E1 spans will now result in an error from ztcfg.
Also did some minor simplification of the Makefile rules that build the userspace tools.
(the basics of ztscan were written by Brandon Kruse then reworked and fleshed out by me)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3278 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
build with the local zaptel.h . Otherwise you may mix two versions of
Zaptel .
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3190 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
* Proper priority to every message.
* Remove a useless global.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3073 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
* It's a (ztdummy) clock source, not ztdummy type.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3044 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
Changes from the patch:
* Only support kernels >= 2.6.22, as hrtimer_forward is only exported as
of that version.
* Adapted to my recent changes in ztdummy.c .
* Use ZAPTEL_TIME_NS instead of ZAPTEL_RATE
* Simplified ticks debug statement. Will only be used if debug=2 or
debug=3 .
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3038 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
filed.
To check what type of module you built, use:
strings ztdummy.ko | grep type
tr '%' '\n' <ztdummy.ko | grep -a type:
Or look at the span title line in /proc/zaptel .
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3035 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3032 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r2756 | kpfleming | 2007-07-18 21:05:03 -0500 (Wed, 18 Jul 2007) | 2 lines
update to 2.6.22 request_irq() flags
........
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2757 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
now installed into /usr/include/zaptel, not /usr/include
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1200 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
sinc e they are used much more by userspace apps than by kernel modules
remove any old copies of those headers
remove README.udev, since it no longer applies
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1172 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
jitter (pcadach and softins)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1158 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r909 | russell | 2006-01-18 23:33:13 -0500 (Wed, 18 Jan 2006) | 2 lines
fix symbol conflict with the kernel's rtc_interrupt function (issue #6287)
........
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@910 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
in 2.6 kernel.
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@883 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@837 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
not be intending to use ztdummy anyway
if ztdummy is compiled with HZ != 1000, make the module load fail with an appropriate error message
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@808 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@796 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
syntax in mainline kernel, probably) (issue #5080)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@751 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
configure-time selectable HZ setting that does _not_ default to 1000Hz
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@690 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@656 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@655 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@568 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@560 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@558 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@555 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@546 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@424 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@259 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@123 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@93 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|