* derived from our own IP address)
* We want: - load the boot file
* Next step: none
+ *
+ * NFS:
+ *
+ * Prerequisites: - own ethernet address
+ * - own IP address
+ * - name of bootfile (if unknown, we use a default name
+ * derived from our own IP address)
+ * We want: - load the boot file
+ * Next step: none
*/
#include "bootp.h"
#include "tftp.h"
#include "rarp.h"
+#include "nfs.h"
#ifdef CONFIG_STATUS_LED
#include <status_led.h>
#include <miiphy.h>
*/
switch (protocol) {
+#if (CONFIG_COMMANDS & CFG_CMD_NFS)
+ case NFS:
+#endif
#if (CONFIG_COMMANDS & CFG_CMD_PING)
case PING:
#endif
NetOurSubnetMask= getenv_IPaddr ("netmask");
switch (protocol) {
+#if (CONFIG_COMMANDS & CFG_CMD_NFS)
+ case NFS:
+#endif
case TFTP:
NetServerIP = getenv_IPaddr ("serverip");
break;
case PING:
PingStart();
break;
+#endif
+#if (CONFIG_COMMANDS & CFG_CMD_NFS)
+ case NFS:
+ NfsStart();
+ break;
#endif
default:
break;
return (1);
}
goto common;
+#endif
+#if (CONFIG_COMMANDS & CFG_CMD_NFS)
+ case NFS:
#endif
case TFTP:
if (NetServerIP == 0) {