This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: REDBOOT QUERY
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Kaustubh Purandare <kaustubh_purandare at rediffmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com, michael at magrittesystems dot com, jlarmour at redhat dot com
- Date: Wed, 3 Apr 2002 13:09:21 +0200
- Subject: [ECOS] Re: REDBOOT QUERY
- References: <20020403105603.1921.qmail@mailweb23.rediffmail.com>
> The bring_half_up() functions hangs during the function call
> indicated below
>
> if (ioctl(s, SIOCSIFADDR, ifrp)) /* set ifnet address */
>
> Where is the problem in the code or the NIC? As per my knowledge
> 82558 is similar to 82559.
You need to track this call. My guess is that it calls into the 82559
driver, maybe i82559_start or i82559_init. You need to see what its
trying to do when it hangs and then work out what the 82558 does
differently than the 82559. At a guess its interrupt handling. Redboot
does polled IO, where as the 'real' driver is interrupt driver.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss