From 12336c61e43d7cff62ca9547c418875f8c876fdb Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Wed, 22 Feb 2012 12:10:59 +0000 Subject: sysfs: add 'lineconfig' attribute to span This patch exposes the span 'lineconfig' via sysfs: textual representation of the framing and coding of the span. This is needed in order for the Dahdi perl classes (in tools) to get the inforamtion for e.g. dahdi_genconf to work without the guesswork of parsing /proc/dahdi . Signed-off-by: Oron Peled Acked-by: Tzafrir Cohen Acked-by: Shaun Ruffell git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10461 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- README | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README') diff --git a/README b/README index c94c2be..f1d3e6c 100644 --- a/README +++ b/README @@ -802,6 +802,12 @@ A free-form description of the span. ===== /sys/bus/dahdi_spans/devices/span-N/lbo LBO setting for the channel. +===== /sys/bus/dahdi_spans/devices/span-N/lineconfig +The framing and coding of the span, for a digital span. Textual +represenation: + +/[/CRC4] + ===== /sys/bus/dahdi_spans/devices/span-N/local_spanno The number of the span within the DAHDI device. -- cgit v1.2.3