[svn-commits] kmoore: linux/trunk r9053 - /linux/trunk/drivers/dahdi/wctdm24xxp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jul 29 16:52:03 CDT 2010


Author: kmoore
Date: Thu Jul 29 16:51:53 2010
New Revision: 9053

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9053
Log:
wctdm24xxp: correct references to "wildcard" and display the number of BRI spans and analog channels after detection

Modified:
    linux/trunk/drivers/dahdi/wctdm24xxp/base.c

Modified: linux/trunk/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=9053&r1=9052&r2=9053
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctdm24xxp/base.c Thu Jul 29 16:51:53 2010
@@ -4899,10 +4899,10 @@
 	wc->initialized = 1;
 
 	dev_info(&wc->vb.pdev->dev,
-		 "Found a Wildcard TDM: %s (%d digital %s, %d analog %s)\n",
-		 wc->desc->name, digimods,
-		 (digimods == 1) ? "module" : "modules", anamods,
-		 (anamods == 1) ? "module" : "modules");
+		 "Found a %s: %s (%d BRI spans, %d analog %s)\n",
+		 (is_hx8(wc)) ? "Hybrid card" : "Wildcard TDM",
+		 wc->desc->name, digimods*4, anamods,
+		 (anamods == 1) ? "channel" : "channels");
 	ret = 0;
 
 	voicebus_unlock_latency(&wc->vb);
@@ -4995,7 +4995,8 @@
 			wc->vpmadt032 = NULL;
 		}
 
-		dev_info(&wc->vb.pdev->dev, "Freed a Wildcard\n");
+		dev_info(&wc->vb.pdev->dev, "Freed a %s\n",
+				(is_hx8(wc)) ? "Hybrid card" : "Wildcard");
 		/* Release span */
 		wctdm_release(wc);
 	}




More information about the svn-commits mailing list