u-boot/drivers/net
Oleksandr Tymoshenko 4c64c4db3b net: rtl8169: Fix return value for rtl_send_common
Return value of rtl_send_common propogates unmodified all the way
up to eth_send and further to API consumer if CONFIG_API is enabled.
Previously rtl_send_common returned number of bytes sent on success
which was erroneouly detected as error condition by API consumers
that checked for operation success by comparing return value with 0.

Switch rtl_send_common to use common convention: return 0 on success
and negative value for failure.

Cc: Stephen Warren <swarren@nvidia.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Oleksandr Tymoshenko <gonzo@bluezbox.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2016-07-06 10:45:11 -05:00
..
fm nand: Embed mtd_info in struct nand_chip 2016-06-03 20:27:48 -05:00
fsl-mc armv8: LS2080A: Consolidate LS2080A and LS2085A 2016-04-06 10:26:46 -07:00
ldpaa_eth drivers: net: ldpaa: Memset pools_params as "0" before use 2016-05-03 17:52:11 -05:00
phy driver: net: phylib: add support for aquantia AQR106/107 PHY 2016-07-06 10:45:04 -05:00
4xx_enet.c Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
8390.h
ag7xxx.c net: Add ag7xxx driver for Atheros MIPS 2016-05-31 09:38:11 +02:00
altera_tse.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
altera_tse.h net: altera_tse: add mSG-DMA support 2015-11-12 08:26:59 +08:00
armada100_fec.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
armada100_fec.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
at91_emac.c drivers: at91: clean up peripheral clock code 2016-02-18 21:34:40 +01:00
ax88180.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
ax88180.h
ax88796.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ax88796.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
bcm-sf2-eth-gmac.c arm: bcm281xx: net: Add Ethernet Driver 2014-08-30 07:46:39 -04:00
bcm-sf2-eth-gmac.h arm: bcm281xx: net: Add Ethernet Driver 2014-08-30 07:46:39 -04:00
bcm-sf2-eth.c net: Update hardware MAC address if it changes in env 2015-05-19 13:33:21 -05:00
bcm-sf2-eth.h arm: bcm281xx: net: Add Ethernet Driver 2014-08-30 07:46:39 -04:00
bfin_mac.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
bfin_mac.h net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
calxedaxgmac.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
cpsw-common.c drivers: net: cpsw: add support for reading mac address from efuse 2016-05-24 11:42:03 -05:00
cpsw.c drivers: net: cpsw: Add reading of DT phy-handle node 2016-05-24 11:42:04 -05:00
cs8900.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
cs8900.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
davinci_emac.c net: davinci_emac: fix NULL check after pointer dereference 2016-02-06 16:39:31 +01:00
davinci_emac.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
dc2114x.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
designware.c net: designware: Make driver independent from DM_GPIO again 2016-07-06 10:45:00 -05:00
designware.h net: designware: Make driver independent from DM_GPIO again 2016-07-06 10:45:00 -05:00
dm9000x.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
dm9000x.h
dnet.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
dnet.h
e1000.c Merge branch 'agust@denx.de' of git://git.denx.de/u-boot-staging 2016-02-08 09:48:04 -05:00
e1000.h net: e1000: Convert to use DM PCI API 2016-02-05 12:47:23 +08:00
e1000_spi.c net: e1000: Mark _disable_wr() and _write_status() as __maybe_unused 2015-12-21 20:01:57 -06:00
eepro100.c net: eepro100: Fix build warnings 2016-01-25 10:40:01 -05:00
enc28j60.c Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
enc28j60.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ep93xx_eth.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
ep93xx_eth.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ethoc.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
fec_mxc.c net: fec_mxc: use simpler runtime cpu dection macros 2016-05-24 14:59:57 +02:00
fec_mxc.h net: fec_mxc: Add support for mx6 solo-lite 2013-09-20 17:55:36 +02:00
fsl_mcdmafec.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
fsl_mdio.c Merge branch 'master' of git://git.denx.de/u-boot-net 2016-01-28 18:42:10 -05:00
ftgmac100.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
ftgmac100.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ftmac100.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
ftmac100.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ftmac110.c net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
ftmac110.h net: ftmac110: Update tx/rx descriptor format 2013-08-19 12:34:21 -05:00
greth.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
greth.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig net: Add ag7xxx driver for Atheros MIPS 2016-05-31 09:38:11 +02:00
keystone_net.c drivers: net: keystone_net: convert driver to adopt device driver model 2016-02-08 10:10:46 -05:00
ks8851_mll.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
ks8851_mll.h net: ks8851_mll: add ethernet support 2013-06-24 19:11:14 -05:00
lan91c96.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
lan91c96.h arm: remove lubbock board support 2014-04-18 10:42:30 -04:00
lpc32xx_eth.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
macb.c net: macb: Convert to driver model 2016-06-12 23:49:38 +02:00
macb.h net: macb: add gmac multi-queue support 2015-08-11 13:27:15 -05:00
Makefile net: Add ag7xxx driver for Atheros MIPS 2016-05-31 09:38:11 +02:00
mcffec.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
mcfmii.c net: Use ARRAY_SIZE at appropriate places 2013-08-19 12:34:18 -05:00
mpc5xxx_fec.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
mpc5xxx_fec.h
mpc512x_fec.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
mpc512x_fec.h
mvgbe.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
mvgbe.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mvneta.c net: mvneta: Convert to driver model 2016-01-14 14:08:59 +01:00
mvpp2.c net: mvpp2.c: Add Marvell mvpp2 network driver for Armada 375 2016-04-04 11:21:40 +02:00
natsemi.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
ne2000.c net: Use ARRAY_SIZE at appropriate places 2013-08-19 12:34:18 -05:00
ne2000.h
ne2000_base.c Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
ne2000_base.h Consolidate bool type 2013-04-01 16:33:52 -04:00
netconsole.c video: Drop DEV_FLAGS_SYSTEM flag 2015-11-05 08:22:21 +01:00
ns8382x.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
pch_gbe.c net: pch_gbe: Convert to use DM PCI API 2016-02-05 12:47:23 +08:00
pch_gbe.h net: pch_gbe: Convert to use DM PCI API 2016-02-05 12:47:23 +08:00
pcnet.c net: pcnet: Fix init on big endian 64 bit 2016-05-31 09:38:11 +02:00
pic32_eth.c drivers: net: Add ethernet driver for Microchip PIC32. 2016-02-01 22:14:02 +01:00
pic32_eth.h drivers: net: Add ethernet driver for Microchip PIC32. 2016-02-01 22:14:02 +01:00
pic32_mdio.c drivers: net: Add ethernet driver for Microchip PIC32. 2016-02-01 22:14:02 +01:00
rtl8139.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
rtl8169.c net: rtl8169: Fix return value for rtl_send_common 2016-07-06 10:45:11 -05:00
sandbox-raw.c dm: eth: Avoid blocking on packet reception 2015-07-21 17:39:40 -06:00
sandbox.c net: Fix delay in net_retry test 2016-01-07 12:18:58 -07:00
sh_eth.c Fix various typos, scattered over the code. 2016-05-05 21:39:26 -04:00
sh_eth.h Fix various typos, scattered over the code. 2016-05-05 21:39:26 -04:00
smc911x.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
smc911x.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
smc91111.c arm: Remove xaeniax board 2015-09-11 17:14:43 -04:00
smc91111.h arm: Remove xaeniax board 2015-09-11 17:14:43 -04:00
sunxi_emac.c dm: eth: Avoid blocking on packet reception 2015-07-21 17:39:40 -06:00
tsec.c Merge branch 'master' of git://git.denx.de/u-boot-net 2016-01-28 18:42:10 -05:00
tsi108_eth.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
uli526x.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
vsc7385.c Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
vsc9953.c drivers: net: vsc9953: Fix bug when PVID is shown for disabled ports only 2016-04-06 08:34:44 -07:00
xilinx_axi_emac.c net: axi_emac: Report phy-node error message permanently 2016-04-04 20:28:38 +02:00
xilinx_emaclite.c net: xilinx: Handle error value from phy_startup() 2016-05-24 13:17:55 +02:00
xilinx_ll_temac.c net: xilinx_ll_temac: Fix string overflow 2016-01-27 15:57:20 +01:00
xilinx_ll_temac.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
xilinx_ll_temac_fifo.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
xilinx_ll_temac_fifo.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
xilinx_ll_temac_mdio.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
xilinx_ll_temac_mdio.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
xilinx_ll_temac_sdma.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
xilinx_ll_temac_sdma.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
zynq_gem.c net: zynq_gem: Add the passing of the phy-handle node 2016-05-24 11:42:04 -05:00