This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
RedBoot flash config tweak
- From: Mark Salter <msalter at redhat dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Wed, 14 May 2003 16:13:57 -0400 (EDT)
- Subject: RedBoot flash config tweak
I apparently missed this when I checked in the CONFIG_NETPORT
support a while back.
--Mark
Index: current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/redboot/current/ChangeLog,v
retrieving revision 1.109
diff -u -p -5 -r1.109 ChangeLog
--- current/ChangeLog 13 May 2003 18:42:02 -0000 1.109
+++ current/ChangeLog 14 May 2003 20:11:24 -0000
@@ -1,5 +1,9 @@
+2003-05-14 Mark Salter <msalter@redhat.com>
+
+ * src/flash.c (flash_get_config): Add CONFIG_NETPORT case.
+
2003-05-13 Nick Garnett <nickg@balti.calivar.com>
* doc/redboot_installing.sgml: Added installation instructions for
Atmel EB40A, EB42 and EB55 boards.
Index: current/src/flash.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/redboot/current/src/flash.c,v
retrieving revision 1.45
diff -u -p -5 -r1.45 flash.c
--- current/src/flash.c 24 Apr 2003 03:33:04 -0000 1.45
+++ current/src/flash.c 14 May 2003 20:11:25 -0000
@@ -1926,10 +1926,13 @@ flash_get_config(char *key, void *val, i
break;
case CONFIG_ESA:
memcpy(val, val_ptr, sizeof(enet_addr_t));
break;
#endif
+#if defined(CYGHWR_NET_DRIVERS) && (CYGHWR_NET_DRIVERS > 1)
+ case CONFIG_NETPORT:
+#endif
case CONFIG_STRING:
case CONFIG_SCRIPT:
// Just return a pointer to the script/line
*(unsigned char **)val = (unsigned char *)val_ptr;
break;