public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS]Strange behavior of rltk8139 chip
@ 2004-08-27 14:45 jerzy dyrda
  2004-08-27 15:08 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: jerzy dyrda @ 2004-08-27 14:45 UTC (permalink / raw)
  To: ecos-discuss

Hi all,
I find abnormal behavior of chip  which corrupts eth driver. In receive, 
driver poll flag buffer empty and when buffer is not empty read receive 
packet header form  receive buffer. But after is last frame red, flag buffer 
empty was false and driver try read next packet ( but that was no data ) and 
lost synchronization. I add one more condition - I compare read and write 
pointer of receive buffer from chip registers.
Any similar  experience?

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS]Strange behavior of rltk8139 chip
  2004-08-27 14:45 [ECOS]Strange behavior of rltk8139 chip jerzy dyrda
@ 2004-08-27 15:08 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2004-08-27 15:08 UTC (permalink / raw)
  To: jerzy dyrda; +Cc: ecos-discuss

On Fri, 2004-08-27 at 08:41, jerzy dyrda wrote:
> Hi all,
> I find abnormal behavior of chip  which corrupts eth driver. In receive, 
> driver poll flag buffer empty and when buffer is not empty read receive 
> packet header form  receive buffer. But after is last frame red, flag buffer 
> empty was false and driver try read next packet ( but that was no data ) and 
> lost synchronization. I add one more condition - I compare read and write 
> pointer of receive buffer from chip registers.
> Any similar  experience?

Sounds like a cache issue.  Make sure that your PCI space and the memory
used by the board are not cached.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-27 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-27 14:45 [ECOS]Strange behavior of rltk8139 chip jerzy dyrda
2004-08-27 15:08 ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).