change log for network-demos (2010-07-03)

rtems-vc at rtems.org rtems-vc at rtems.org
Sat Jul 3 17:10:09 UTC 2010


 *joel* (on branch network-demos-4-10-branch):
2010-06-29	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* init.c: Update for mount API changes.

M 1.9.2.1  tftpTest/ChangeLog
M 1.15.2.1  tftpTest/init.c

diff -u network-demos/tftpTest/ChangeLog:1.9 network-demos/tftpTest/ChangeLog:1.9.2.1
--- network-demos/tftpTest/ChangeLog:1.9	Wed May 13 13:55:10 2009
+++ network-demos/tftpTest/ChangeLog	Sat Jul  3 11:34:35 2010
@@ -1,3 +1,7 @@
+2010-06-29	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* init.c: Update for mount API changes.
+
 2009-05-13	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* Makefile: Allow overrides from invoking environment.

diff -u network-demos/tftpTest/init.c:1.15 network-demos/tftpTest/init.c:1.15.2.1
--- network-demos/tftpTest/init.c:1.15	Tue May 12 14:59:53 2009
+++ network-demos/tftpTest/init.c	Sat Jul  3 11:34:35 2010
@@ -16,11 +16,11 @@
  */
 
 #include <bsp.h>
-#include <rtems/tftp.h>
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <rtems/rtems_bsdnet.h>
+#include <rtems/libio.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include "../networkconfig.h"
@@ -36,7 +36,13 @@
 	const char *hostname, *filename;
 
 	rtems_bsdnet_initialize_network ();
-	rtems_bsdnet_initialize_tftp_filesystem ();
+	mount_and_make_target_path(
+		NULL,
+		"/TFTP",
+		RTEMS_FILESYSTEM_TYPE_TFTPFS,
+		RTEMS_FILESYSTEM_READ_WRITE,
+		NULL
+	);
 
 	hostname = RTEMS_TFTP_TEST_HOST_NAME;
 	filename = RTEMS_TFTP_TEST_FILE_NAME;
@@ -50,6 +56,8 @@
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
 #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
+#define CONFIGURE_FILESYSTEM_IMFS
+#define CONFIGURE_FILESYSTEM_TFTPFS
 
 #define CONFIGURE_EXECUTIVE_RAM_SIZE	(512*1024)
 #define CONFIGURE_MAXIMUM_SEMAPHORES	20



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100703/aa5ada0c/attachment.html>


More information about the vc mailing list