This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ecos ethernet startup code for 82559
- To: Bruce dot Daly at SpirentCom dot COM
- Subject: Re: [ECOS] ecos ethernet startup code for 82559
- From: Mark Salter <msalter at redhat dot com>
- Date: Tue, 14 Aug 2001 08:00:58 -0400
- CC: ecos-discuss at sourceware dot cygnus dot com, Bruce dot Daly at SpirentCom dot COM
- References: <8AC36D3167EED41184C800508BD954050120AD96@apollo.adtech-inc.com>
>>>>> Daly, Bruce writes:
> 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.
Yes. Thanks.
--Mark