1. 25 6月, 2013 1 次提交
  2. 05 6月, 2013 1 次提交
  3. 05 11月, 2012 1 次提交
    • K
      net/: sparse fixes · 06370590
      Kim Phillips 提交于
      bootp.c:44:14: warning: symbol 'dhcp_state' was not declared. Should it be static?
      bootp.c:45:15: warning: symbol 'dhcp_leasetime' was not declared. Should it be static?
      bootp.c:46:10: warning: symbol 'NetDHCPServerIP' was not declared. Should it be static?
      arp.c:30:17: warning: symbol 'NetArpWaitReplyIP' was not declared. Should it be static?
      arp.c:37:16: warning: symbol 'NetArpTxPacket' was not declared. Should it be static?
      arp.c:38:17: warning: symbol 'NetArpPacketBuf' was not declared. Should it be static?
      atheros.c:33:19: warning: symbol 'AR8021_driver' was not declared. Should it be static?
      net.c:183:7: warning: symbol 'PktBuf' was not declared. Should it be static?
      net.c:159:21: warning: symbol 'net_state' was not declared. Should it be static?
      ping.c:73:6: warning: symbol 'ping_start' was not declared. Should it be static?
      ping.c:82:13: warning: symbol 'ping_receive' was not declared. Should it be static?
      tftp.c:53:7: warning: symbol 'TftpRRQTimeoutMSecs' was not declared. Should it be static?
      tftp.c:54:5: warning: symbol 'TftpRRQTimeoutCountMax' was not declared. Should it be static?
      eth.c:125:19: warning: symbol 'eth_current' was not declared. Should it be static?
      
      Note: in the ping.c fix, commit a36b12f9
      "net: Move PING out of net.c" mistakenly carried the ifdef CMD_PING
      clause from when it was necessary to avoid warnings when it was embedded
      in net.c.
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      06370590
  4. 25 9月, 2012 2 次提交
    • J
      net: Filter incoming netconsole packets by IP · 8a0eccb1
      Joe Hershberger 提交于
      Check the incoming packets' source IP address... if ncip isn't set to a
      broadcast address, only listen to the client at ncip.
      Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
      8a0eccb1
    • J
      net: Improve the speed of netconsole · f8be7d65
      Joe Hershberger 提交于
      Previously u-boot would initialize the network interface for every
      network operation and then shut it down again.  This makes sense for
      most operations where the network in not known to be needed soon after
      the operation is complete.  In the case of netconsole, it will use the
      network for every interaction with the shell or every printf.  This
      means that the network is being reinitialized very often.  On many
      devices, this intialization is very slow.
      
      This patch checks for consecutive netconsole actions and leaves the
      ethernet hardware initialized between them.  It will still behave the
      same old way for all other network operations and any time another
      network operation happens between netconsole operations.
      Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Acked-by: NStefano Babic <sbabic@denx.de>
      f8be7d65
  5. 07 7月, 2012 1 次提交
  6. 24 5月, 2012 21 次提交
  7. 16 5月, 2012 4 次提交
  8. 29 3月, 2012 1 次提交
  9. 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
  10. 03 3月, 2012 1 次提交
  11. 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
  12. 07 12月, 2011 1 次提交
  13. 28 10月, 2011 1 次提交
  14. 27 10月, 2011 3 次提交