<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY><FONT face=ËÎÌå>
<DIV>Junita</DIV>
<DIV>&nbsp;</DIV>
<DIV>Sorry to disturbed you. I find your question in the <A 
href="http://ozlabs.org">http://ozlabs.org</A>&nbsp;mail list.</DIV>
<DIV><FONT size=2><FONT 
size=3>Have&nbsp;you&nbsp;fixed&nbsp;the&nbsp;bug&nbsp;in&nbsp;gianfar_phy.c?</FONT>&nbsp;</FONT></DIV>
<DIV><FONT color=#000080 size=2>tempval&nbsp;=&nbsp;gfar_read(&amp;priv-&gt; 
regs-&gt; dmactrl);</FONT></DIV>
<DIV><FONT color=#000080 
size=2>tempval&nbsp;|=&nbsp;(DMACTRL_GRS&nbsp;|&nbsp;DMACTRL_GTS);</FONT></DIV>
<DIV><FONT color=#000080 size=2>gfar_write(&amp;priv-&gt; regs-&gt; 
dmactrl,&nbsp;tempval);</FONT></DIV>
<DIV><FONT color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#800000 size=2>while&nbsp;(!(gfar_read(&amp;priv-&gt; regs-&gt; 
ievent)&nbsp;&amp;&nbsp;(IEVENT_GRSC&nbsp;|&nbsp;IEVENT_GTSC)))</FONT></DIV>
<DIV><FONT color=#800000 size=2>cpu_relax();</FONT></DIV>
<DIV><FONT color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080 
size=2>/*&nbsp;Reset&nbsp;MAC&nbsp;layer&nbsp;*/</FONT></DIV>
<DIV><FONT color=#000080 size=2>gfar_write(&amp;priv-&gt; regs-&gt; 
maccfg1,&nbsp;MACCFG1_SOFT_RESET);</FONT></DIV>
<DIV><FONT color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2><FONT size=3>I buy a RMC-G8500 card from GDAtech, I try to 
build linux-2.6.13.4 from kernel.org and meet the same problems as you had. I 
test the same code on freescale 8540_ADS board, it is good.Can you share some 
infomation of your progress?</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you!</DIV>
<DIV>Jian</DIV></FONT></BODY></HTML>