This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ecos ethernet startup code for 82559


>>>>> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]