[dahdi-commits] dahdi/linux.git branch "master" updated.

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Sun Nov 24 08:53:02 CST 2013


branch "master" has been updated
       via  d8fe2af23de69ddc90bdbc676a5b7cb38a6301c3 (commit)
       via  35e9924b3cb05e0596fefb1a30f23ff2114280a1 (commit)
      from  a9c85de7000d304674a07d65b6ab771ecf87966c (commit)

Summary of changes:
 drivers/dahdi/xpp/xbus-core.c  |    2 +-
 drivers/dahdi/xpp/xbus-sysfs.c |    2 +-
 include/dahdi/kernel.h         |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit d8fe2af23de69ddc90bdbc676a5b7cb38a6301c3
Author: Oron Peled <oron.peled at xorcom.com>
Date:   Mon Nov 18 05:32:30 2013 -0500

    xpp: automatic dahdi_registration by default
    
    * Now with pinned-spans, we can assure reliable ordering

diff --git a/drivers/dahdi/xpp/xbus-core.c b/drivers/dahdi/xpp/xbus-core.c
index 7a7c368..7f4bf71 100644
--- a/drivers/dahdi/xpp/xbus-core.c
+++ b/drivers/dahdi/xpp/xbus-core.c
@@ -60,7 +60,7 @@ static DEF_PARM(uint, command_queue_length, 1500, 0444,
 static DEF_PARM(uint, poll_timeout, 1000, 0644,
 		"Timeout (in jiffies) waiting for units to reply");
 static DEF_PARM_BOOL(rx_tasklet, 0, 0644, "Use receive tasklets");
-static DEF_PARM_BOOL(dahdi_autoreg, 0, 0644,
+static DEF_PARM_BOOL(dahdi_autoreg, 1, 0644,
 		     "Register devices automatically (1) or not (0)");
 
 #ifdef	CONFIG_PROC_FS

commit 35e9924b3cb05e0596fefb1a30f23ff2114280a1
Author: Oron Peled <oron.peled at xorcom.com>
Date:   Mon Nov 18 18:36:23 2013 +0200

    Rename "pinned spans" to "assigned spans"
    
    Rename as terminology has changed. No change in kernel interface.
    
    Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
    Acked-by: Russ Meyerriecks <rmeyerriecks at digium.com>

diff --git a/drivers/dahdi/xpp/xbus-sysfs.c b/drivers/dahdi/xpp/xbus-sysfs.c
index 956e765..a394eeb 100644
--- a/drivers/dahdi/xpp/xbus-sysfs.c
+++ b/drivers/dahdi/xpp/xbus-sysfs.c
@@ -604,7 +604,7 @@ static DEVICE_ATTR_WRITER(span_store, dev, buf, count)
 		return -EINVAL;
 	if (!XBUS_IS(xpd->xbus, READY))
 		return -ENODEV;
-	XPD_DBG(DEVICES, xpd, "%s -- deprecated (should use pinned-spans)\n",
+	XPD_DBG(DEVICES, xpd, "%s -- deprecated (should use assigned-spans)\n",
 		(dahdi_reg) ? "register" : "unregister");
 	ret = mutex_lock_interruptible(&span_store_mutex);
 	if (ret < 0) {
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index c615800..ac70e1a 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -909,7 +909,7 @@ struct dahdi_span_ops {
 	/*! Opt: Provide the name of the echo canceller on a channel */
 	const char *(*echocan_name)(const struct dahdi_chan *chan);
 
-	/*! When using "pinned_spans", this function is called back when this
+	/*! When using "assigned spans", this function is called back when this
 	 * span has been assigned with the system. */
 	void (*assigned)(struct dahdi_span *span);
 

-----------------------------------------------------------------------


-- 
dahdi/linux.git



More information about the dahdi-commits mailing list