This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
possible bug in if_fcc ethernet driver?
- From: agyhoo <agyhoo at yahoo dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 14 Jun 2004 08:15:14 -0700 (PDT)
- Subject: [ECOS] possible bug in if_fcc ethernet driver?
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