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]

Event driven ethernet status change


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


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