change lan91cxx to fail _init on no device
Andrew Dyer
adyer@righthandtech.com
Sun May 23 01:15:00 GMT 2004
This patch changes the lan91cxx driver to return a
false from it's _init() function if the device
signature byte is not found. Previous code called
CYG_ASSERT, but if assertions were disabled, it would
continue to initialize the non-existent device.
--
Andrew Dyer | adyer@righthandtech.com
Sr. Engineer | (630) 238-0789
RightHand Technologies | (630) 238-0469 (fax)
735 N. Edgewood Ave. |
Suite D |
Wood Dale, IL 60191-1261 |
USA |
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lan91cxx_patch.txt
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20040523/dfe15336/attachment.txt>
More information about the Ecos-patches
mailing list