[dahdi-commits] sruffell: linux/trunk r5196 - /linux/trunk/drivers/dahdi/wcb4xxp/base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Fri Oct 31 17:23:52 CDT 2008
Author: sruffell
Date: Fri Oct 31 17:23:52 2008
New Revision: 5196
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5196
Log:
Changing the spantype to indicate whether it is a TE or NT BRI port.
Modified:
linux/trunk/drivers/dahdi/wcb4xxp/base.c
Modified: linux/trunk/drivers/dahdi/wcb4xxp/base.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/wcb4xxp/base.c?view=diff&rev=5196&r1=5195&r2=5196
==============================================================================
--- linux/trunk/drivers/dahdi/wcb4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcb4xxp/base.c Fri Oct 31 17:23:52 2008
@@ -2094,7 +2094,7 @@
bspan->span.irq = b4->pdev->irq;
bspan->span.pvt = bspan;
- bspan->span.spantype = "BRI";
+ bspan->span.spantype = (bspan->te_mode) ? "TE" : "NT";
bspan->span.offset = i;
bspan->span.channels = WCB4XXP_CHANNELS_PER_SPAN;
bspan->span.flags = 0;
More information about the dahdi-commits
mailing list