[ECOS] ecos ethernet startup code for 82559
Mark Salter
msalter@redhat.com
Tue Aug 14 05:01:00 GMT 2001
>>>>> 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
More information about the Ecos-discuss
mailing list