* Patch by Masami Komiy, 22 Feb 2004:

Add support for NFS for file download

* Minor code cleanup
This commit is contained in:
wdenk
2004-02-24 02:00:03 +00:00
parent 074cff0d28
commit cbd8a35c6d
24 changed files with 921 additions and 29 deletions

View File

@@ -21,13 +21,13 @@
# endif
#endif /* CONFIG_8xx */
#if defined(CONFIG_MPC5XXX)
#if defined(CONFIG_MPC5xxx)
# if !defined(CONFIG_NET_MULTI)
# if defined(CONFIG_MPC5XXX_FEC)
# if defined(CONFIG_MPC5xxx_FEC)
# define CONFIG_NET_MULTI
# endif
# endif
#endif /* CONFIG_MPC5XXX */
#endif /* CONFIG_MPC5xxx */
#if !defined(CONFIG_NET_MULTI) && (defined(CONFIG_8260) || defined(CONFIG_MPC8560))
#include <config.h>
@@ -306,7 +306,7 @@ extern int NetState; /* Network loop state */
extern int NetRestartWrap; /* Tried all network devices */
#endif
typedef enum { BOOTP, RARP, ARP, TFTP, DHCP, PING, DNS } proto_t;
typedef enum { BOOTP, RARP, ARP, TFTP, DHCP, PING, DNS, NFS } proto_t;
/* from net/net.c */
extern char BootFile[128]; /* Boot File name */