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]

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


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