diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-07-18 19:35:18 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-07-18 19:35:18 +0000 |
commit | c646d0bb034a2e073860ce81611c021b304a21e8 (patch) | |
tree | 472b539a61e83df57153adb0cef3d00f68f803a2 | |
parent | de1db33b07f1e26aa5f17cf788c8fdd408011e57 (diff) |
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-- | ChangeLog | 5 | ||||
-rw-r--r-- | networkconfig.h | 22 |
2 files changed, 14 insertions, 13 deletions
@@ -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_ */ |