This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
ethernet driver without link...
- From: "Stefan Sommerfeld" <sommerfeld at mikrom dot de>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 15 Aug 2005 18:33:53 +0200
- Subject: [ECOS] ethernet driver without link...
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