This is the mail archive of the ecos-patches@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]

Re: Possible bug with CYGSEM_REDBOOT_NETWORK_INIT_ONE_DEVICE


David Fernandez wrote:
On Mon, 2006-11-27 at 07:34 -0700, Gary Thomas wrote:

David Fernandez wrote:

On Mon, 2006-11-27 at 05:15 -0700, Gary Thomas wrote:

David Fernandez wrote:

I'was about to use the feature CYGSEM_REDBOOT_NETWORK_INIT_ONE_DEVICE,
and I've noticed that may be it doesn't work as per the description in
the cdl option:
[snip]
There you are the patch.

Have fun.

Thanks for the patch! I've applied it.


Jifl

------------------------------------------------------------------------

Index: redboot/current/ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/dfernandez/Projects/ecos/packages/redboot/current/ChangeLog,v
retrieving revision 1.3
diff -u -5 -B -b -w -p -r1.3 ChangeLog
--- redboot/current/ChangeLog	2006/11/28 09:49:05	1.3
+++ redboot/current/ChangeLog	2006/11/28 10:11:29
@@ -1,5 +1,19 @@
+2006-11-28  David Fernandez  <dfernandez@cct.co.uk>
+
+	* cdl/redboot.cdl: Modified to change the option
+	  CYGDAT_REDBOOT_DEFAULT_NETWORK_DEVICE to make it independent of
+	  CYGSEM_REDBOOT_FLASH_CONFIG, changes in net_io.c will allow to
+	  specify a default interface in terms of the name and its position
+	  in the table of interfaces for the driver.
+
+	* src/net/net_io.c: Modified to allow CYGDAT_REDBOOT_DEFAULT_NETWORK_DEVICE
+	  to be used even with no flash available.
+	  Bug regarding CYGSEM_REDBOOT_NETWORK_INIT_ONE_DEVICE fixed, so that
+	  when working with several network interfaces, and the default one
+	  fails to initialize, only the first successfully initialized one is used.


--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
------["The best things in life aren't things."]------      Opinions==mine


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