1. 25 6月, 2013 1 次提交
    • K
      net/tftp: sparse fixes · 61fdd4f7
      Kim Phillips 提交于
      tftp.c:464:17: warning: cast to restricted __be16
      tftp.c:552:29: warning: cast to restricted __be16
      tftp.c:640:33: warning: cast to restricted __be16
      tftp.c:642:25: warning: cast to restricted __be16
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      61fdd4f7
  2. 16 12月, 2012 1 次提交
    • S
      net: Add tftp speed indication · 85b19802
      Simon Glass 提交于
      This prints a tftp speed indication after the download completes. This
      is the 3.6 MiB/s indicator below.
      
      Tegra2 (SeaBoard) # tftp ...
      Using asx0 device
      TFTP from server 172.22.72.144; our IP address is 172.22.73.81
      Filename '/tftpboot/uImage-user-seaboard-1'.
      Load address: 0x408000
      Loading: #################################################
               3.6 MiB/s
      done
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Acked-by: NIgor Grinberg <grinberg@compulab.co.il>
      85b19802
  3. 12 7月, 2012 1 次提交
  4. 24 5月, 2012 3 次提交
  5. 16 5月, 2012 2 次提交
  6. 07 12月, 2011 1 次提交
  7. 28 10月, 2011 3 次提交
  8. 27 10月, 2011 4 次提交
  9. 06 10月, 2011 1 次提交
    • M
      net: drop !NET_MULTI code · e2a53458
      Mike Frysinger 提交于
      This is long over due.  All but two net drivers have been converted, but
      those have now been dropped.
      
      The only thing left to do is actually delete all references to NET_MULTI
      and code that is compiled when that is not defined.  So here we scrub the
      core code.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      e2a53458
  10. 20 5月, 2011 12 次提交
  11. 13 5月, 2011 1 次提交
  12. 22 3月, 2010 1 次提交
  13. 14 12月, 2009 2 次提交
  14. 26 8月, 2009 2 次提交
  15. 10 8月, 2009 1 次提交
  16. 08 8月, 2009 1 次提交
    • R
      minor debug cleanups in ./net · 0ebf04c6
      Robin Getz 提交于
       Minor ./net cleanups - no functional changes
        - change #ifdef DEBUG printf(); #endif to just debug()
        - changed __FUNCTION__ to __func__
        - got rid of extra whitespace between function and opening brace
        - removed unnecessary braces on if statements
      
       gcc dead code elimination should make this functionally/size equivalent
       when DEBUG is not defined. (confirmed on Blackfin, with gcc 4.3.3).
      Signed-off-by: NRobin Getz <rgetz@blackfin.uclinux.org>
      Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
      0ebf04c6
  17. 21 3月, 2009 1 次提交
  18. 05 12月, 2008 1 次提交
    • P
      net: Fix TftpStart() ip:filename bug · 6a86bb6c
      Peter Tyser 提交于
      The TftpStart() function modifies the 'BootFile'
      string when 'BootFile' contains both an IP address
      and filename (eg 1.2.3.4:/path/file). This causes
      subsequent calls to TftpStart to incorrectly parse
      the TFTP filename and server IP address to use.
      For example:
      
      => tftp 0x100000 10.52.0.62:/home/ptyser/non_existant
      Speed: 100, half duplex
      Using eTSEC1 device
      TFTP from server 10.52.0.62; our IP address is 10.52.253.79
                       ^^^^^^^^^^ CORRECT
      Filename '/home/ptyser/non_existant'.
                ^^^^^^^^^^^^^^^^^^^^^^^^^ CORRECT
      Load address: 0x100000
      Loading: *
      TFTP error: 'File not found' (1)
      Starting again
      
      eTSEC2: No link.
      Speed: 100, half duplex
      Using eTSEC1 device
      TFTP from server 10.52.0.33; our IP address is 10.52.253.79
                       ^^^^^^^^^^ WRONG
      Filename '10.52.0.62'.
                ^^^^^^^^^^ WRONG
      Load address: 0x100000
      Loading: *
      TFTP error: 'File not found' (1)
      Starting again
      
      TftpStart() was modified to not modify the 'BootFile' string.
      Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
      Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
      6a86bb6c
  19. 19 10月, 2008 1 次提交