[ECOS] Event driven ethernet status change

Matt Jerdonek maj1224@yahoo.com
Wed Mar 3 17:27:00 GMT 2004


Hi Folks,

I need a way for an ethernet driver (but specifically
the powerpc/fec driver) to inform an application of a
loss and restoral of ethernet carrier.

If possible, I want avoid having the application poll
the driver for its status.  Instead, I'd like driver
to inform the application of status changes.

It looks like I can call if_down(...) or if_up(...)
from the ethernet driver, then, in the application,
listen on the routing socket for status changes.  Is
this a reasonable approach?  Is there a better way?

Thanks,
-- Matt

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what youÂ’re looking for faster
http://search.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