summaryrefslogtreecommitdiff
path: root/networkconfig.h
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 /networkconfig.h
parentde1db33b07f1e26aa5f17cf788c8fdd408011e57 (diff)
2007-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* networkconfig.h: Make the NFS server, remote filesystem, and directory to look at configurable.
Diffstat (limited to 'networkconfig.h')
-rw-r--r--networkconfig.h22
1 files changed, 9 insertions, 13 deletions
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_ */