uboot-mt623x/net
Evan Samanas aabb8cb081 nfs: NfsTimeout() updates
- NfsTimeout() does not correctly update the NFS timeout value which
  results in NfsTimeout() only being called once in certain situations.
  This can result in the 'nfs' command hanging indefinetly.  For
  example, the command:

    nfs 192.168.0.1:/home/user/file

  will not exit until ctrl-c is pressed if 192.168.0.1 does not have an
  NFS server running.

  This issue is resolved by reinitializting the NFS timeout value inside
  NfsTimeout() when a timeout occurs.

- Make the 'nfs' command print the 'T' character when a timeout occurs.
  Previously there was no indication that timeouts were occuring.

- Mimic the 'tftpboot' command and when a download fails print "Retry
  count exceeded; starting again", and restart the download taking the
  'netretry' environment variable into account.

Signed-off-by: Evan Samanas <esamanas@xes-inc.com>
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>

Tested on TQM8xxL.

Tested by: Wolfgang Denk <wd@denx.de>

Tested on MPC8527DS.

Tested by: Ed Swarthout <Ed.Swarthout@freescale.com>
2009-12-07 22:35:47 +01:00
..
Makefile minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
bootp.c net/bootp.c: fix compile warning 2009-09-11 10:10:12 +02:00
bootp.h net: express the first argument to NetSetTimeout() in milliseconds 2008-10-18 21:54:00 +02:00
dns.c Coding Style cleanup; update CHANGELOG. 2009-07-23 22:23:23 +02:00
dns.h Add DNS support 2009-07-22 22:53:44 -07:00
eth.c net: sync env ethaddr to device enetaddr in eth_init() 2009-08-07 17:39:23 -07:00
net.c Repair the 'netretry=once' option. 2009-11-24 14:04:11 -08:00
nfs.c nfs: NfsTimeout() updates 2009-12-07 22:35:47 +01:00
nfs.h nfs: accept CONFIG_NFS_READ_SIZE from config file 2009-08-25 13:35:54 -07:00
rarp.c minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
rarp.h Initial revision 2002-07-20 20:14:13 +00:00
sntp.c minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
sntp.h * Patch by Masami Komiya, 30 Mar 2005: 2005-04-01 00:25:43 +00:00
tftp.c Add Transfer Size Option to tftp 2009-08-25 13:35:54 -07:00
tftp.h Initial revision 2000-12-28 11:02:30 +00:00