From c646d0bb034a2e073860ce81611c021b304a21e8 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 18 Jul 2007 19:35:18 +0000 Subject: 2007-07-18 Joel Sherrill * networkconfig.h: Make the NFS server, remote filesystem, and directory to look at configurable. --- ChangeLog | 5 +++++ networkconfig.h | 22 +++++++++------------- 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 + + * networkconfig.h: Make the NFS server, remote filesystem, and + directory to look at configurable. + 2007-06-22 Joel Sherrill * 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_ */ -- cgit v1.2.3