1. 07 12月, 2011 1 次提交
  2. 28 10月, 2011 3 次提交
  3. 27 10月, 2011 4 次提交
  4. 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
  5. 20 5月, 2011 12 次提交
  6. 13 5月, 2011 1 次提交
  7. 22 3月, 2010 1 次提交
  8. 14 12月, 2009 2 次提交
  9. 26 8月, 2009 2 次提交
  10. 10 8月, 2009 1 次提交
  11. 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
  12. 21 3月, 2009 1 次提交
  13. 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
  14. 19 10月, 2008 3 次提交
  15. 03 9月, 2008 1 次提交
  16. 10 7月, 2008 1 次提交
    • A
      Fix printf errors. · dc4b0b38
      Andrew Klossner 提交于
      The compiler will help find mismatches between printf formats and
      arguments if you let it.  This patch adds the necessary attributes to
      declarations in include/common.h, then begins to correct the resulting
      compiler warnings.  Some of these were bugs, e.g., "$d" instead of
      "%d" and incorrect arguments.  Others were just annoying, like
      int-long mismatches on a system where both are 32 bits.  It's worth
      fixing the annoying errors to catch the real ones.
      Signed-off-by: NAndrew Klossner <andrew@cesa.opbu.xerox.com>
      dc4b0b38
  17. 15 2月, 2008 1 次提交
  18. 05 2月, 2008 1 次提交
  19. 18 11月, 2007 1 次提交
  20. 31 8月, 2007 1 次提交
    • W
      Fix TFTP OACK code for short packets. · 60174746
      Wolfgang Denk 提交于
      The old code had a loop limit overflow bug which caused a semi-
      infinite loop for small packets, because in "i<len-8", "i" was signed,
      but "len" was unsigned, and "len-8" became a huge number for small
      values of "len".
      
      This is a workaround which replaces broken commit 8f1bc284.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      60174746