Age | Commit message (Collapse) | Author |
|
* PRI devices always get SYNC-AB (never PLL, not even for NT)
* Fix Timing priority calculation accordingly.
* On PRI layer1 changes, elect_syncer() is called, so we have
re-election.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8909 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Don't let AB which are unplugged/replugged create duplicate XBUS's (if
asterisk don't close the original channels).
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8905 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* Astribank devices now reside under their own top-level device.
* The USB device is still used as the 'transport'.
* This means the astribanks parents are NOT the USB devices.
* As a result, even after a USB disconnect, we have valid sysfs representation.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8904 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
When the USB device disconnects, we keep references to them to make sure
they don't disappear.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8900 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Don't attempt to reset the span flag DAHDI_FLAG_RBS.
At pre-registration we don't yet know if we're CAS or not.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8896 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Make sure we only consider T1-s to be potentially D4 (which requires
sending the bits twice). This fixes occasional command-queue floods in
E1 CAS.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8892 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8888 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* Supports only our current NEON notification.
* No more global 'vmwineon' parameter:
- We expect asterisk to tell us by channel.
- If 'vmwi_ioctl' is not set (it is by default), that we revert
to FSK searching (expensive) and call directly our NEON code
(as before).
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8887 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Fixes a crash resulting from a race between disconnecting and connecting
Astribanks (on multi-core systems)
* Use get_xbus()/put_xbus() arround xbus_populate(), so a disconnect
in the middle won't release the xbus too early.
* Aquire all XPDs before starting initialization and release them
after it finishes (so we don't have up/down races among XPDs)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8886 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* The worker member of 'struct xbus' is now an embedded struct xbus_workqueue.
* Replace wake_up() to wake_up_interruptible_all().
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8882 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* Change refcount_xpd(): instead of returning a pointer to the atomic
counter, return directly its value (just like refcount_xbus())
* Add a refcount_xbus and refcount_xpd attributes to sysfs (for debugging)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8878 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
This changeset should have no functional changes.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8877 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
When initializing registers for the "PRI" (E1/T1) module, in the case the
user has not explicitly asked for E1/T1 settings in xpp.conf (pri_protocol)
fall back to the current value, which is the build-time fall-back.
The value is read from sysfs.
Previously we implicitly assumed this value is E1.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8873 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8872 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
usb_buffer_alloc has been replaced with usb_alloc_coherent , and likewise
usb_buffer_free has been replaced with usb_free_coherent. in kernels 2.6.34
the older names are proxies for the new ones, and in 2.6.35 the older names are gone.
This patch defines the new names for the old ones, for older kernel versions.
(closes issue #17383)
Reported by: Chainsaw
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8762 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8539 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
include/dahdi/kernel.h"
Reverts r8117. The wctdm24xxp driver can include <stdbool.h> directly.
Reported by: seanbright
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8134 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
I intend to use the bool definition in the wctdm24xxp driver and don't want to
duplicate the definition.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8117 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
(not intended to be installed)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7964 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Make module parameters out of two constants to allow further tweaking in
the detection of battery.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7883 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7843 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Fixes various minor twinstar-related bugs.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7815 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Should help for the case of multiple quad-PRI Astribanks on a single
system.
xpp rev: 7666.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7807 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Note that this change will not work on most older systems (e.g.:
Centos5, with its udev 0.95) if the matching change of xpp_fxloader in
tools (r7752) is not applied.
* Replace deprecated 'BUS' with 'SUBSYSTEM'
* Sysfs{} should be replaced with ATTR{}. Sadly the former is not
supported in recent udev, and the latter is not supported in udev
0.95. Workaround: use PRODUCT from the environment.
* Use a single rule.
* While we're at it, add the missing comma to the astribank_hook line
(which surprisingly worked without it).
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7753 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
xpp rev: 7595
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7731 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Adds a new compile-time option DAHDI_AUDIO_NOTIFY. With it there's a new
span hook, audio_notify, that gets called (if not NULL) whenever the
ioctl DAHDI_AUDIOMODE is called for a channel.
This can be useful to tell (in most cases) if an ISDN channel is active
or not and thus allow the low-level driver to optimize traffic when
channels are not active.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7691 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Fix a place where an inner declaration of a local 'i' shadows the
declaration of an outer one. Just rename the inner one to 'j'.
Reported by sparse.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7690 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7625 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* checkpatch.pl nudged about line lengthes.
* sparse nudged about non-static functions.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7622 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
xpp rev: 7419
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7615 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
xpp rev: 7498
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7614 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7595 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Send different values on alarm to make the remote party re-read state.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7591 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Provide some functions to access the CAS registers for E1, T1/ESF and
T1/D4. Mostly, relatively few changes.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7590 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7587 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
xpp revs: mostly 7458, 7466
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7457 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7456 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Commit d43c36 made it necessary to add sched.h to more of the board drivers.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d43c36
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7392 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7293 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7276 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7266 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7245 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Done in preperation for T1 CAS support, as the PRI module will use RBS
instead.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7244 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7237 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* '/usr/share/dahdi/init_card_2_30 -L' will now list valid
opermodes
* Proper usage message while we're at it.
* Make input opermode case-insensitive.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7236 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
2.6.32-rc1 broke direct access to the member 'driver_data' of 'struct
device'. However direct access to wasn't proper in the first place.
This commit replaces direct access to dev->driver_data with
dev_get_drvdata() and dev_set_drvdata().
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7226 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Prevents a crash on 2.6.22 when CONFIG_SLAB is set and CONFIG_SLAB_DEBUG is
not.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6995 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
The owner field should only tested after the low-level driver
pre-registration method is called.
xpp rev: 7287
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6967 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6966 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Fixes PCM issue with an Astribank2 (116x) FXO module that is installed
alongside a PRI/BRI module.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6938 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|