1. 29 3月, 2012 1 次提交
  2. 19 3月, 2012 1 次提交
    • M
      net/miiphy/serial: drop duplicate "NAMESIZE" define · f6add132
      Mike Frysinger 提交于
      A few subsystems are using the same define "NAMESIZE".  This has been
      working so far because they define it to the same number.  However, I
      want to change the size of eth_device's NAMESIZE, so rather than tweak
      the define names, simply drop references to it.  Almost no one does,
      and the handful that do can easily be changed to a sizeof().
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      f6add132
  3. 03 3月, 2012 1 次提交
  4. 21 12月, 2011 1 次提交
    • M
      net: introduce per device index · fea7dcae
      Michael Walle 提交于
      Instead of counting the device index everytime a functions needs it, store
      it in the eth_device struct. eth_register() keeps track of the indices and
      updates the device's index number. This simplifies some functions in
      net/eth.c.
      
      Additionally, a network driver can now query its index, eg. to get the
      correct environment ethaddr name.
      Signed-off-by: NMichael Walle <michael@walle.cc>
      Cc: Prafulla Wadaskar <prafulla@marvell.com>
      Cc: Mike Frysinger <vapier@gentoo.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Acked-by: NMike Frysinger <vapier@gentoo.org>
      fea7dcae
  5. 07 12月, 2011 1 次提交
  6. 28 10月, 2011 1 次提交
  7. 27 10月, 2011 3 次提交
  8. 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
  9. 09 8月, 2011 1 次提交
  10. 20 5月, 2011 1 次提交
  11. 13 5月, 2011 1 次提交
  12. 29 11月, 2010 3 次提交
  13. 21 9月, 2010 1 次提交
  14. 10 8月, 2010 1 次提交
    • B
      Fix compile warnings for const correctness · d7fb9bcf
      Ben Warren 提交于
      Commit 6e37b1a3a25004d3df5867de49fff6b3fc9c4f04 modifies several net calls
      to take a (const char *) parameter instead of (char *), but in some cases
      the modified functions call other functions taking (char *).  The end result
      is warnings about discarding the const qualifier.
      
      This patch fixes these other function signatures.
      Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
      d7fb9bcf
  15. 04 5月, 2010 1 次提交
  16. 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
  17. 05 10月, 2009 1 次提交
  18. 08 8月, 2009 1 次提交
  19. 23 7月, 2009 2 次提交
  20. 21 3月, 2009 2 次提交
    • M
      net: new utility functions for working with enetaddr's · 3f6e6993
      Mike Frysinger 提交于
      Declare new utility functions for converting between the environment
      variables (eth*addr) and the binary MAC address representation.  This way
      we can unify all the random places that already do this kind of thing.
      
      The functions in question:
      	eth_parse_enetaddr - "..." -> {...}
      	eth_getenv_enetaddr - env -> {...}
      	eth_setenv_enetaddr - {...} -> env
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      3f6e6993
    • M
      convert print_IPaddr() to %pI4 · b6446b67
      Mike Frysinger 提交于
      Now that our printf functions support the %pI4 modifier like the kernel,
      let's drop the inflexible print_IPaddr() function and covert over to the
      %pI4 modifier.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      b6446b67
  21. 17 2月, 2009 1 次提交
  22. 29 1月, 2009 1 次提交
  23. 05 12月, 2008 1 次提交
  24. 19 10月, 2008 1 次提交
  25. 21 5月, 2008 1 次提交
    • W
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk 提交于
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      53677ef1
  26. 01 5月, 2008 1 次提交
  27. 04 1月, 2008 1 次提交
  28. 14 8月, 2007 2 次提交
  29. 10 7月, 2007 2 次提交
  30. 04 7月, 2007 1 次提交
  31. 29 10月, 2005 1 次提交
  32. 13 10月, 2005 1 次提交