1. 07 12月, 2011 1 次提交
  2. 08 11月, 2011 1 次提交
  3. 28 10月, 2011 3 次提交
  4. 27 10月, 2011 4 次提交
  5. 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
  6. 02 6月, 2011 1 次提交
    • E
      net/net.c: Update ipaddr if the environment has changed · 23a70bf9
      Enric Balletbo i Serra 提交于
      At least on ARM the ipaddr is only set in board_init_r function. The
      problem is if ipaddr is not defined in environment importing another
      environment defined don't update the ipaddr value.
      
      For example, suppose we've a default environment without net variables
      defined and we want to import an uEnv.txt environment from SD-card like
      this:
      
        ipaddr=192.168.2.240
        netmask=255.255.255.0
        gatewayip=192.168.2.1
        serverip=192.168.2.114
      
      Then if you try boot from NFS results in:
      
        Importing environment from mmc ...
        Running uenvcmd ...
        smc911x: detected LAN9221 controller
        smc911x: phy initialized
        smc911x: MAC ac:de:48:00:00:00
        *** ERROR: `ipaddr' not set
      
      The ipaddr at this point is NULL beacause is only set at board_init_r
      function. This patch updates the ipaddr value if the environment has
      changed.
      Signed-off-by: NEnric Balletbo i Serra <eballetbo@iseebcn.com>
      Acked-by: NMike Frysinger <vapier@gentoo.org>
      23a70bf9
  7. 20 5月, 2011 1 次提交
  8. 13 5月, 2011 10 次提交
  9. 28 4月, 2011 1 次提交
  10. 29 11月, 2010 2 次提交
  11. 12 10月, 2010 1 次提交
  12. 21 6月, 2010 1 次提交
  13. 04 5月, 2010 1 次提交
  14. 18 1月, 2010 1 次提交
    • D
      Make getenv_IPaddr() global · 6a45e384
      Dirk Behme 提交于
      There are boards out there that do not have network support in
      U-Boot (CONFIG_CMD_NET not set), but they do so in Linux. This
      makes it desirable to be able to port network configuration (like
      the IP address) to the Linux kernel.
      
      We should not make the passing of the IP configuration to Linux
      dependent on U-Boot features / settings.
      
      For this, make getenv_IPaddr() global. This fixes build error
      
      u-boot/lib_xxx/board.c:360: undefined reference to `getenv_IPaddr'
      
      on various architectures.
      Signed-off-by: NDirk Behme <dirk.behme@googlemail.com>
      Acked-by: NBen Warren <biggerbadderben@gmail.com>
      6a45e384
  15. 14 12月, 2009 1 次提交
  16. 25 11月, 2009 1 次提交
  17. 26 8月, 2009 1 次提交
    • A
      net: defragment IP packets · 5cfaa4e5
      Alessandro Rubini 提交于
      The defragmenting code is enabled by CONFIG_IP_DEFRAG; the code is
      useful for TFTP and NFS transfers.  The user can specify the maximum
      defragmented payload as CONFIG_NET_MAXDEFRAG (default 16k).
      Since NFS has a bigger per-packet overhead than TFTP, the static
      reassembly buffer can hold CONFIG_NET_MAXDEFRAG + the NFS overhead.
      
      The packet buffer is used as an array of "hole" structures, acting as
      a double-linked list. Each new fragment can split a hole in two,
      reduce a hole or fill a hole. No support is there for a fragment
      overlapping two diffrent holes (i.e., thre new fragment is across an
      already-received fragment).
      Signed-off-by: NAlessandro Rubini <rubini@gnudd.com>
      Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
      5cfaa4e5
  18. 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
  19. 23 7月, 2009 4 次提交
  20. 16 5月, 2009 1 次提交
  21. 20 4月, 2009 1 次提交
    • M
      NetLoop initialization bug · 3c172c4f
      Michael Zaidman 提交于
      The patch fixes the bug of partial initialization of global network
      parameters.
      
      Upon u-boot's start up the first ping command causes a failure of the
      consequent TFTP command. It happens in the recently added mechanism of
      the NetLoop initialization where initialization of global network
      parameters is separated in the NetInitLoop routine which is called per
      env_id change. Thus, ping request will initialize the network parameters
      necessary for ping operation only, afterwards the env_changed_id will be
      set to the env_id that will prevent all following initialization requests
      from other protocols.
      The problem is that the initialized by ping subset of network parameters
      is not sufficient for other protocols and particularly for TFTP which
      requires the NetServerIp also.
      Signed-off-by: NMichael Zaidman <michael.zaidman@gmail.com>
      Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
      3c172c4f
  22. 21 3月, 2009 1 次提交