summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-07-18 19:35:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-07-18 19:35:18 +0000
commitc646d0bb034a2e073860ce81611c021b304a21e8 (patch)
tree472b539a61e83df57153adb0cef3d00f68f803a2
parent2007-07-18 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadnetwork-demos-c646d0bb034a2e073860ce81611c021b304a21e8.tar.bz2
2007-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* networkconfig.h: Make the NFS server, remote filesystem, and directory to look at configurable.
-rw-r--r--ChangeLog5
-rw-r--r--networkconfig.h22
2 files changed, 14 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f6e0b3..d064191 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * networkconfig.h: Make the NFS server, remote filesystem, and
+ directory to look at configurable.
+
2007-06-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile: Remove netlink. It appeared to be a hacked copy of http.
diff --git a/networkconfig.h b/networkconfig.h
index 1b0d1e9..945f6a2 100644
--- a/networkconfig.h
+++ b/networkconfig.h
@@ -1,5 +1,5 @@
/*
- * Network configuration
+ * Network configuration EXAMPLE!!!
*
************************************************************
* EDIT THIS FILE TO REFLECT YOUR NETWORK CONFIGURATION *
@@ -115,18 +115,6 @@ struct rtems_bsdnet_config rtems_bsdnet_config = {
{"XXX.YYY.ZZZ.1" }, /* Name server(s) */
{"XXX.YYY.ZZZ.1" }, /* NTP server(s) */
- /*
- * A real example -- DO NOT USE THIS YOURSELF!!!
- */
-
-#if 0
- "dy4", /* Host name */
- "NOT_oarcorp.com", /* Domain name */
- "192.168.1.2", /* Gateway */
- "192.168.1.2", /* Log host */
- {"192.168.1.2" }, /* Name server(s) */
- {"192.168.1.2" }, /* NTP server(s) */
-#endif
#endif /* !RTEMS_USE_BOOTP */
};
@@ -142,4 +130,12 @@ struct rtems_bsdnet_config rtems_bsdnet_config = {
#define RTEMS_TFTP_TEST_FILE_NAME "tftptest"
#endif
+/*
+ * For NFS test application
+ *
+ * NFS server/path to mount and a directory to ls once mounted
+ */
+#define RTEMS_NFS_SERVER "192.168.1.210"
+#define RTEMS_NFS_SERVER_PATH "/home"
+#define RTEMS_NFS_LS_PATH "/mnt/nfstest"
#endif /* _RTEMS_NETWORKCONFIG_H_ */