[zaptel-commits] kpfleming: branch mogorman/zaptel-1.2-transcoder
r2032 - /team/mogorman/zapte...
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Tue Jan 30 17:50:25 MST 2007
Author: kpfleming
Date: Tue Jan 30 18:50:25 2007
New Revision: 2032
URL: http://svn.digium.com/view/zaptel?view=rev&rev=2032
Log:
missed a re-read of the register
Modified:
team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c
Modified: team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c
URL: http://svn.digium.com/view/zaptel/team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c?view=diff&rev=2032&r1=2031&r2=2032
==============================================================================
--- team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c (original)
+++ team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c Tue Jan 30 18:50:25 2007
@@ -1195,8 +1195,9 @@
setctl(wc, 0x00A0, 0x04080000);
/* Wait for Ethernet link */
- for (delay_count = 0, reg = getctl(wc, 0x00fc);
- ((reg & 0xE0000000) != 0xE0000000) && delay_count < 100; mdelay(100), delay_count++);
+ for (delay_count = 0;
+ ((getctl(wc, 0x00fc) & 0xE0000000) != 0xE0000000) && delay_count < 100;
+ mdelay(100), delay_count++);
if (delay_count == 100) {
module_printk("Failed to link to DTE processor!\n");
More information about the zaptel-commits
mailing list