This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
ecos ethernet startup code for 82559
- To: "'ecos-discuss at sourceware dot cygnus dot com'" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] ecos ethernet startup code for 82559
- From: "Daly, Bruce" <Bruce dot Daly at SpirentCom dot COM>
- Date: Mon, 13 Aug 2001 17:30:23 -1000
- Cc: "Daly, Bruce" <Bruce dot Daly at SpirentCom dot COM>
Hi,
We are working with ecos on the xscale and noticed that the startup code for
the ethernet does not read MDI info properly. In function
i82559_start (file if_iq80310.c), there are two calls to readMDI which
timeout after 2 seconds each. The readMDI is writing and reading
using OUTW and INW, which ends up writing/reading the wrong words to the
MDI. If you change the readMDI to use OUTL and INL, the correct
information is returned from the readMDI function (and you save 4 seconds by
avoiding the timeouts). Do you agree with this change? Thanks.
bruce daly