This is the mail archive of the ecos-discuss@sourceware.org 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]

connect ethernet cable at run-time


Hi all!
I have the following problem:
I want to be able to connect the ethernet cable and it shouldn't be necesary to
restart ecos. As far as I know (please correct me if i'm wrong) incoming ip
and arp requests are handled by the thread cyg_netint. It seems that this thread
is put to sleep if the network cable is not connected.

I can see two possiblilties:
1) Not to let the thread cyg_netint be put to sleep, even if cable is
not connected.
2) When the network cable is connected, cyg_netint wakes up and does its thing.

Or is there a better way? The problem is that i dont know how to do either way.

All ideas are welcome. Thank you in advance.

Best Regards
Lars Dahlin

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


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