This is the mail archive of the ecos-patches@sources.redhat.com 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: go command enhancements


Mark Salter wrote:
Can you make this part (the option to stop the network) fully configurable, please? i.e. don't scan for it, etc, unless there is network support in place.


Yup, done.

Just added the following trivial patch too:


Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/redboot/current/ChangeLog,v
retrieving revision 1.103
diff -u -5 -p -r1.103 ChangeLog
--- ChangeLog	4 Apr 2003 16:03:43 -0000	1.103
+++ ChangeLog	8 Apr 2003 05:08:04 -0000
@@ -1,5 +1,9 @@
+2003-04-08  Jonathan Larmour  <jifl at eCosCentric dot com>
+
+	* src/main.c (do_go): Silence unused variable warning when no net.
+
 2003-04-04  Mark Salter  <msalter at redhat dot com>

 	* src/main.c (do_go): Add -n switch to optionally stop network
 	device. Mask interrupts on all comm channels.
 	Don't scan for -n unless ethernet configured in.
Index: src/main.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/redboot/current/src/main.c,v
retrieving revision 1.43
diff -u -5 -p -r1.43 main.c
--- src/main.c	4 Apr 2003 16:03:43 -0000	1.43
+++ src/main.c	8 Apr 2003 05:08:07 -0000
@@ -428,11 +428,13 @@ do_go(int argc, char *argv[])
     unsigned long entry;
     unsigned long oldints;
     bool wait_time_set;
     int  wait_time, res;
     bool cache_enabled = false;
+#ifdef CYGPKG_IO_ETH_DRIVERS
     bool stop_net = false;
+#endif
     struct option_info opts[3];
     char line[8];
     hal_virtual_comm_table_t *__chan;

entry = entry_address; // Default from last 'load' operation


Jifl -- eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts --[ "You can complain because roses have thorns, or you ]-- --[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine


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