Skip to content
Snippets Groups Projects
  1. May 12, 2011
  2. Mar 21, 2010
  3. Dec 14, 2009
  4. Aug 25, 2009
  5. Aug 10, 2009
  6. Aug 08, 2009
    • Robin Getz's avatar
      minor debug cleanups in ./net · 0ebf04c6
      Robin Getz authored
      
       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: default avatarRobin Getz <rgetz@blackfin.uclinux.org>
      
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      0ebf04c6
  7. Mar 20, 2009
  8. Dec 05, 2008
    • Peter Tyser's avatar
      net: Fix TftpStart() ip:filename bug · 6a86bb6c
      Peter Tyser authored
      
      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: default avatarPeter Tyser <ptyser@xes-inc.com>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      6a86bb6c
  9. Oct 18, 2008
  10. Sep 03, 2008
  11. Jul 09, 2008
    • Andrew Klossner's avatar
      Fix printf errors. · dc4b0b38
      Andrew Klossner authored
      
      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: default avatarAndrew Klossner <andrew@cesa.opbu.xerox.com>
      dc4b0b38
  12. Feb 14, 2008
  13. Feb 04, 2008
  14. Nov 18, 2007
  15. Aug 31, 2007
    • Wolfgang Denk's avatar
      Fix TFTP OACK code for short packets. · 60174746
      Wolfgang Denk authored
      
      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: default avatarWolfgang Denk <wd@denx.de>
      60174746
  16. Aug 30, 2007
  17. Aug 29, 2007
  18. Aug 15, 2007
  19. Aug 14, 2007
  20. Jul 10, 2007
  21. Jul 09, 2007
  22. Jul 03, 2007
  23. Aug 14, 2006
  24. Oct 13, 2005
  25. Oct 11, 2005
  26. Sep 24, 2005
  27. Aug 25, 2005
  28. Aug 03, 2005
  29. Apr 15, 2004
  30. Mar 23, 2004
    • Wolfgang Denk's avatar
      * Patches by Thomas Viehweger, 16 Mar 2004: · 4b9206ed
      Wolfgang Denk authored
        - show PCI clock frequency on MPC8260 systems
        - add FCC_PSMR_RMII flag for HiP7 processors
        - in do_jffs2_fsload(), take load address from load_addr if not set
          explicit, update load_addr otherwise
        - replaced printf by putc/puts when no formatting is needed
          (smaller code size, faster execution)
      4b9206ed
  31. Feb 23, 2004
    • Wolfgang Denk's avatar
      * Patch by Laurent Mohin, 10 Feb 2004: · cd0a9de6
      Wolfgang Denk authored
        Fix buffer overflow in common/usb.c
      
      * Patch by Tolunay Orkun, 10 Feb 2004:
        Add support for Cogent CSB272 board
      
      * Code cleanup
      cd0a9de6
    • Wolfgang Denk's avatar
      * CVS add missing files · 3f85ce27
      Wolfgang Denk authored
      * Cleanup compiler warnings
      
      * Fix problem with side effects in macros in include/usb.h
      
      * Patch by David Benson, 13 Nov 2003:
        bug 841358 - fix TFTP download size limit
      
      * Fixing bug 850768:
        improper flush_cache() in load_serial()
      
      * Fixing bug 834943:
        MPC8540 - missing volatile declarations
      
      * Patch by Stephen Williams, 09 Feb 2004:
        Add support for Xilinx SystemACE chip:
        - New files common/cmd_ace.c and include/systemace.h
        - Hook systemace support into cmd_fat and the partition manager
      
      * Patch by Travis Sawyer, 09 Feb 2004:
        Add bi_opbfreq & bi_iic_fast to 440GX bd_info as needed for Linux
      3f85ce27
Loading