<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.2">
</HEAD>
<BODY>
Hi Kevin,<BR>
<BR>
When the system locks up, does it get stuck in the FifoRecvHandler() routine?<BR>
<BR>
How many bytes are returned from XLlFifo_RxGetLen(&amp;lp-&gt;Fifo) in that routine?<BR>
<BR>
You can try calling XLlFifo_Reset(&amp;lp-&gt;Fifo); to see if that clears the fifo. Though, I suspect that this wont fix the root cause of the problem you're seeing.<BR>
<BR>
- John<BR>
<BR>
<BR>
On Wed, 2008-04-23 at 11:09 -0700, khollan wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi,</FONT>

<FONT COLOR="#000000">I have done some more digging and it seems like whenever the system works</FONT>
<FONT COLOR="#000000">the command XLlFifo_IsRxEmpty(&amp;lp-&gt;Fifo)) returns a 1 meaning that the</FONT>
<FONT COLOR="#000000">RxFifo is empty.  I stuck this test in the xenet_open function right before</FONT>
<FONT COLOR="#000000">the fifo interupt gets enabled.</FONT>

<FONT COLOR="#000000">When ever this test comes back as 0 the ifconfig will get into the soft</FONT>
<FONT COLOR="#000000">lockup I described above.</FONT>

<FONT COLOR="#000000">Is there a function that empties out the fifo, I tried XLlFifo_RxReset but</FONT>
<FONT COLOR="#000000">that doesn't seem to work.</FONT>

<FONT COLOR="#000000">Thanks</FONT>

<FONT COLOR="#000000">Kevin</FONT>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>