[svn-commits] sruffell: linux/trunk r5034 - /linux/trunk/drivers/dahdi/wctc4xxp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Oct 3 10:39:22 CDT 2008


Author: sruffell
Date: Fri Oct  3 10:39:21 2008
New Revision: 5034

URL: http://svn.digium.com/view/dahdi?view=rev&rev=5034
Log:
There are two possible valid statues when booting the TC400M.

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

Modified: linux/trunk/drivers/dahdi/wctc4xxp/base.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/wctc4xxp/base.c?view=diff&rev=5034&r1=5033&r2=5034
==============================================================================
--- linux/trunk/drivers/dahdi/wctc4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctc4xxp/base.c Fri Oct  3 10:39:21 2008
@@ -1888,7 +1888,9 @@
 				DTE_PRINTK(WARNING, 
 				   "DTE Failed self test (%04x).\n", 
 				   le16_to_cpu(hdr->params[0]));
-			} else if (hdr->params[1] != le16_to_cpu(0x000c)) {
+			} else if ((hdr->params[1] != le16_to_cpu(0x000c)) && 
+			           (hdr->params[1] != le16_to_cpu(0x010c))) 
+			{
 				DTE_PRINTK(WARNING, 
 				   "Unexpected ERAM status (%04x).\n", 
 				   le16_to_cpu(hdr->params[1]));




More information about the svn-commits mailing list