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]
Other format: [Raw text]

Re: REDBOOT QUERY


> 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


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