changeset 1024:7071bcbe4d30

flash_get_config fix
author msalter
date Wed, 14 May 2003 20:12:54 +0000
parents a2407f7e4f66
children 1ac1a62ca493
files packages/redboot/current/ChangeLog packages/redboot/current/src/flash.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/redboot/current/ChangeLog
+++ b/packages/redboot/current/ChangeLog
@@ -1,3 +1,7 @@
+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
--- a/packages/redboot/current/src/flash.c
+++ b/packages/redboot/current/src/flash.c
@@ -1928,6 +1928,9 @@ flash_get_config(char *key, void *val, i
                 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