[ECOS] possible bug in if_fcc ethernet driver?

agyhoo agyhoo@yahoo.com
Mon Jun 14 15:15:00 GMT 2004


Hi,

In the if_fcc ethernet driver, the fcc_eth_init routine
returns "false" if there is no LINK detected (ie, network
cable is unplugged). However, there is a compile switch
around the return false statement (CYGPKG_REDBOOT).
Therefore, when I run my eCos application, it hangs when
the network cable is unplugged. I think this is because the
network alarm thread and the background thread think the
device status is available and try to access it.

Am I missing something? Can someone tell me why the compile
switch is present?

Thanks.

- Anunoy


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list