[ECOS] ethernet driver without link...
Stefan Sommerfeld
sommerfeld@mikrom.de
Mon Aug 15 16:35:00 GMT 2005
Hi,
I currently working on a correct 'link' detection for the lan91cxx driver,
but how is the best way to implement this feature? Currently the only good
solution is to check for the link in init() and return false if there's no
valid link, but this means there's no network at all. I think the best way
would be to simply report an error and all accesses return quick until a
valid link is detected. The RedBoot tries to get it's network address
(dhcp) over and over again with multiple timeout even if i always return
false in the can_send() function.
Bye....
--
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