[zaptel-commits] sruffell: branch 1.4 r4556 - /branches/1.4/kernel/wctc4xxp/base.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Fri Oct 3 10:39:15 CDT 2008


Author: sruffell
Date: Fri Oct  3 10:39:14 2008
New Revision: 4556

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

Modified:
    branches/1.4/kernel/wctc4xxp/base.c

Modified: branches/1.4/kernel/wctc4xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/wctc4xxp/base.c?view=diff&rev=4556&r1=4555&r2=4556
==============================================================================
--- branches/1.4/kernel/wctc4xxp/base.c (original)
+++ branches/1.4/kernel/wctc4xxp/base.c Fri Oct  3 10:39:14 2008
@@ -1889,7 +1889,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 zaptel-commits mailing list