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]

82559's self test fail...


Hi,
Redboot code for XScale fails while doing self-test for 82559 based
NIC. It fails after executing below code, this could be because the card
is not working or something else, however i want to learn more.
Pls note that my board is not iq80310.

if_iq80310.c/iq80310_i82559_init()
..snippet...
OUTL( (VIRT_TO_BUS(p_selftest)) | I82559_SELFTEST, ioaddr + SCBPort);
    count = 0x1FFFFF;                // Timeout for self-test.
    do {
        udelay(10);
    } while ( (p_selftest[1] == -1)  &&  (--count >= 0) );

Is this p_selftest location is updated by the ethernet card, after a
self-test?
I have gone thru 82559's datasheet, it does say that using PORT Interface,
we can reset/self-test, but it doesn't tell us more. Could you send some
urls/programmer;s docs etc. I have searched intel's site, but of no avail.

Thanks and Regards
Venkat N


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