[U-Boot] Pull request: u-boot-net.git master

Joe Hershberger
2012-05-23T19:36:42Z

Hi Wolfgang,

This should include fixes for all the warnings from
db288a96027fa1cb3f8a53f330724f864224a56c "net: Remove volatile from
net API"

The following changes since commit b86a475c1a602c6ee44f4469d933df8792418a7a:
Joe Hershberger (1):
MAKEALL: Report boards with errors vs warnings

are available in the git repository at:

git://git.denx.de/u-boot-net.git master

Anatolij Gustschin (7):
drivers/net/smc911x.c: Fix GCC 4.6 warning
drivers/usb/eth/smsc95xx.c: Fix GCC 4.6 warning
drivers/net/mpc5xxx_fec.c: Fix build warning
arch/arm/cpu/ixp/npe/npe.c: Fix build warning
drivers/usb/eth/asix.c: Fix build warning
drivers/net/mpc512x_fec.c: Fix build warning
drivers/net/4xx_enet.c: Fix build warning

Joe Hershberger (77):
ppc: Fix warning in TSEC Ethernet driver
davinci: Fix Ethernet driver interface warning
drivers/net/armada100_fec.c: Fix compile warning
drivers/net/at91_emac.c: Fix compile warning
drivers/net/calxedaxgmac.c: Fix compile warning
drivers/net/cs8900.c: Fix compile warning
drivers/net/dc2114x.c: Fix compile warning
drivers/net/dm9000x.c: Fix compile warning
drivers/net/dnet.c: Fix compile warning
drivers/net/eepro100.c: Fix compile warning
drivers/net/enc28j60.c: Fix compile warning
drivers/net/fec_mxc.c: Fix compile warning
drivers/net/ftmac100.c: Fix compile warning
drivers/net/ks8695eth.c: Fix compile warning
drivers/net/lan91c96.c: Fix compile warning
drivers/net/macb.c: Fix compile warning
drivers/net/smc91111.c: Fix compile warning
arch/powerpc/cpu/mpc8220/fec.c: Fix compile warning
arch/powerpc/cpu/mpc8260/ether_fcc.c: Fix compile warning
arch/powerpc/cpu/mpc85xx/ether_fcc.c: Fix compile warning
board/esd/cpci405/cpci405.c: Fix compile warning
drivers/net/e1000.c: Fix compile warning
drivers/net/fm/eth.c: Fix compile warning
drivers/net/natsemi.c: Fix compile warning
drivers/net/ns8382x.c: Fix compile warning
drivers/net/rtl8139.c: Fix compile warning
drivers/net/tsi108_eth.c: Fix compile warning
drivers/net/uli526x.c: Fix compile warning
drivers/qe/uec.c: Fix compile warning
net: Remove redefinitions of net.h functions
arch/powerpc/cpu/mpc8260/ether_scc.c: Fix compile warning
drivers/net/pcnet.c: Fix compile warning
drivers/net/rtl8169.c: Fix compile warning
net: Fix remaining API interface breakage
net: Remove CMD_PING where there's no CMD_NET
net: Move MAC-seeded rand out of bootp.c
net: Move CDP out of net.c
net: Encapsulate CDP packet identification
net: Move ARP out of net.c
net: Move PING out of net.c
net: Move RARP receive logic out of net.c
net: cosmetic: Un-typedef IP_t
net: cosmetic: Split struct ip_udp_hdr into ip_hdr
net: cosmetic: Un-typedef Ethernet_t
net: cosmetic: Un-typedef VLAN_Ethernet_t
net: cosmetic: Un-typedef ARP_t
net: cosmetic: Un-typedef ICMP_t
net: cosmetic: Rename parameter len to payload_len
net: cosmetic: Add a more explicit comment about 802.2
net: cosmetic: Rename "x" to "eth_proto"
net: cosmetic: Rename CDPHandler to cdp_receive
net: cosmetic: Rename OPT_SIZE to OPT_FIELD_SIZE
net: cosmetic: Alphabetize includes in net.c
net: cosmetic: Rename tmp to reply_ip_addr in arp.c
net: cosmetic: Replace magic numbers in arp.c with constants
net: Refactor IP, UPD, and ICMP header writing functions
net: Refactor NetSendUDPPacket to share more code
net: Refactor packet length computations
net: Refactor bootp packet length computations
net: Move debug trace to point of action
net: Refactor ping receive handler
net: Refactor to use NetSendPacket instead of eth_send directly
net: Refactor to protect access to the NetState variable
net: Refactor to separate the UDP handler from the ARP handler
net: Add net_update_ether() to handle ARP and Ping replies
net: Don't write the "serverip" env var if configured not to
net: Fix unused variable compile warning
net: Add option CONFIG_BOOTP_MAY_FAIL
net: Remove static allocation for MAC address in PingSend()
net: Remove unused parameter from NetInitLoop()
net: Fix net buffer initialization
net: Make sure NetLoop is initialized when using NetConsole
net: Don't copy every packet that waits for an ARP
net: Separate ArpRequest() into lower-level func
net: Add link-local addressing support
net: Work-around for brain-damaged Cisco equipment with arp-proxy
net: Allow filtering on debug traces in the net subsystem

Nobuhiro Iwamatsu (2):
net: sh_eth: Add support SH7734 Ethernet device
net: sh-eth: Add support Gigabit of SH7734

Stephan Linz (3):
drivers/net/xilinx_ll_temac.c: Fix compile warning
drivers/net/xilinx_emaclite.c: Fix compile warning
drivers/net/xilinx_axi_emac.c: Fix compile warning

Wolfgang Denk (1):
MPC8xx: fix "Remove volatile from net API" aftermath

README | 17 +
arch/arm/cpu/ixp/npe/npe.c | 2 +-
arch/mips/cpu/mips32/au1x00/au1x00_eth.c | 3 +-
arch/powerpc/cpu/mpc8220/fec.c | 5 +-
arch/powerpc/cpu/mpc8260/ether_fcc.c | 19 +-
arch/powerpc/cpu/mpc8260/ether_scc.c | 2 +-
arch/powerpc/cpu/mpc85xx/ether_fcc.c | 2 +-
arch/powerpc/cpu/mpc8xx/fec.c | 8 +-
arch/powerpc/cpu/mpc8xx/scc.c | 4 +-
board/Marvell/db64360/mv_eth.c | 5 +-
board/Marvell/db64360/mv_eth.h | 4 +-
board/Marvell/db64460/mv_eth.c | 5 +-
board/Marvell/db64460/mv_eth.h | 4 +-
board/esd/cpci405/cpci405.c | 7 +-
board/esd/cpci750/mv_eth.c | 5 +-
board/esd/cpci750/mv_eth.h | 4 +-
board/evb64260/eth.c | 3 +-
board/evb64260/eth.h | 2 +-
board/prodrive/p3mx/mv_eth.c | 5 +-
board/prodrive/p3mx/mv_eth.h | 4 +-
common/cmd_net.c | 39 +-
doc/README.link-local | 76 ++
drivers/net/4xx_enet.c | 3 +-
drivers/net/altera_tse.c | 3 +-
drivers/net/armada100_fec.c | 3 +-
drivers/net/at91_emac.c | 3 +-
drivers/net/ax88180.c | 3 +-
drivers/net/bfin_mac.c | 5 +-
drivers/net/bfin_mac.h | 2 +-
drivers/net/calxedaxgmac.c | 6 +-
drivers/net/cs8900.c | 3 +-
drivers/net/davinci_emac.c | 2 +-
drivers/net/dc2114x.c | 4 +-
drivers/net/designware.c | 5 +-
drivers/net/dm9000x.c | 3 +-
drivers/net/dnet.c | 3 +-
drivers/net/e1000.c | 5 +-
drivers/net/eepro100.c | 7 +-
drivers/net/enc28j60.c | 2 +-
drivers/net/ep93xx_eth.c | 2 +-
drivers/net/ethoc.c | 2 +-
drivers/net/fec_mxc.c | 2 +-
drivers/net/fm/eth.c | 2 +-
drivers/net/fsl_mcdmafec.c | 7 +-
drivers/net/ftgmac100.c | 3 +-
drivers/net/ftmac100.c | 3 +-
drivers/net/greth.c | 2 +-
drivers/net/inca-ip_sw.c | 4 +-
drivers/net/ks8695eth.c | 3 +-
drivers/net/lan91c96.c | 4 +-
drivers/net/macb.c | 3 +-
drivers/net/mcffec.c | 3 +-
drivers/net/mpc512x_fec.c | 4 +-
drivers/net/mpc5xxx_fec.c | 2 +-
drivers/net/mvgbe.c | 3 +-
drivers/net/natsemi.c | 6 +-
drivers/net/ne2000_base.c | 2 +-
drivers/net/netarm_eth.c | 2 +-
drivers/net/netconsole.c | 24 +-
drivers/net/ns8382x.c | 6 +-
drivers/net/pcnet.c | 6 +-
drivers/net/plb2800_eth.c | 6 +-
drivers/net/rtl8139.c | 4 +-
drivers/net/rtl8169.c | 2 +-
drivers/net/sh_eth.c | 36 +-
drivers/net/sh_eth.h | 86 ++-
drivers/net/smc91111.c | 3 +-
drivers/net/smc911x.c | 3 +-
drivers/net/tsec.c | 5 +-
drivers/net/tsi108_eth.c | 14 +-
drivers/net/uli526x.c | 6 +-
drivers/net/xilinx_axi_emac.c | 2 +-
drivers/net/xilinx_emaclite.c | 6 +-
drivers/net/xilinx_ll_temac_fifo.c | 3 +-
drivers/net/xilinx_ll_temac_fifo.h | 3 +-
drivers/net/xilinx_ll_temac_sdma.c | 3 +-
drivers/net/xilinx_ll_temac_sdma.h | 3 +-
drivers/qe/uec.c | 2 +-
drivers/usb/eth/asix.c | 2 +-
drivers/usb/eth/smsc95xx.c | 3 +-
drivers/usb/gadget/ether.c | 7 +-
include/common.h | 14 +-
include/configs/am3517_crane.h | 2 +-
include/configs/am3517_evm.h | 2 +-
include/configs/origen.h | 2 +-
include/net.h | 157 +++--
net/Makefile | 8 +-
net/arp.c | 236 ++++++
net/arp.h | 30 +
net/bootp.c | 133 ++---
net/bootp.h | 10 +-
net/cdp.c | 366 ++++++++++
net/cdp.h | 21 +
net/dns.c | 12 +-
net/link_local.c | 334 +++++++++
net/link_local.h | 24 +
net/net.c | 1149 ++++++++----------------------
net/net_rand.c | 68 ++
net/net_rand.h | 26 +
net/nfs.c | 16 +-
net/ping.c | 115 +++
net/ping.h | 34 +
net/rarp.c | 61 +-
net/rarp.h | 7 +-
net/sntp.c | 8 +-
net/tftp.c | 14 +-
106 files changed, 2136 insertions(+), 1294 deletions(-)
create mode 100644 doc/README.link-local
create mode 100644 net/arp.c
create mode 100644 net/arp.h
create mode 100644 net/cdp.c
create mode 100644 net/cdp.h
create mode 100644 net/link_local.c
create mode 100644 net/link_local.h
create mode 100644 net/net_rand.c
create mode 100644 net/net_rand.h
create mode 100644 net/ping.c
create mode 100644 net/ping.h