diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-11-29 23:38:30 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-11-29 23:38:30 +0000 |
commit | 42aa1a87b5c1f122557d2cf57bb3774515f151ff (patch) | |
tree | 7a449af61bd3e0f2cc29fce618a58e6480723234 /include/dahdi | |
parent | 4b9f62a79ff751696fa55b661f2cbf219d60d606 (diff) |
xpp: PRI: restore pri_protocol to R/W:
Restores the pri_protocol attribute of the XPD node in SysFS to be
writable. Fixes a minor regression from the pinned-spans fix, similar to
r10334.
* This attribute was made R/O in digium r10280 as part of the
pinned-spans changes:
- The E1/T1 settings were changed via new set_spantype() method
which was called from dahdi when the 'spantype' dahdi attribute
was written to.
- This fails our init_card_4_* trying to write E1/T1 into our private
attribute.
* Restored our old code (with minor modifications) so we
can set E1/T1 the old way (writing to our 'pri_protocol' attribute)
as well as the new way (when it will be used eventually).
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10347 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include/dahdi')
0 files changed, 0 insertions, 0 deletions