u-boot-brain/drivers/net
Marek Vasut 67449098a8 FEC: Rework the TX wait mechanism
The mechanism waiting for transmission to finish in fec_send() now
relies on the E-bit being cleared in the TX buffer descriptor. In
case of data cache being on, this means invalidation of data cache
above this TX buffer descriptor on each test for the E-bit being
cleared.

Apparently, there is another way to check if the transmission did
complete. This is by checking the TDAR bit in the X_DES_ACTIVE
register. Reading a register does not need any data cache invalidation,
which is beneficial.

Rework the sequence that wait for completion of the transmission so that
the TDAR bit is tested first and afterwards check the E-bit being clear.
This cuts down the number of cache invalidation calls to one.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
2012-09-27 12:22:10 -05:00
..
fm net: abort network initialization if the PHY driver fails 2012-07-11 13:15:30 -05:00
npe dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
phy net: Add Vitesse VSC8662 PHY support 2012-09-27 12:21:59 -05:00
4xx_enet.c drivers/net/4xx_enet.c: Fix build warning 2012-05-22 10:18:14 -05:00
8390.h drivers/net : move net drivers to drivers/net 2007-11-25 18:35:17 +01:00
altera_tse.c net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
altera_tse.h miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
armada100_fec.c dm: net: Fixup the armada100 FEC driver 2012-09-24 13:55:20 -05:00
armada100_fec.h net: Adds Fast Ethernet Controller driver for Armada100 2011-09-30 22:00:53 +02:00
at91_emac.c drivers/net/at91_emac.c: Fix compile warning 2012-05-22 10:18:15 -05:00
ax88180.c net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
ax88180.h AX88180: use standard I/O accessors 2010-07-12 00:14:29 -07:00
ax88796.c net: ne2000: Divided a function of NE2000 driver 2008-10-13 22:28:32 -07:00
ax88796.h NE2000: Fix regresssion introduced by e710185aae on non AX88796 2008-04-28 22:26:36 -07:00
bfin_mac.c Blackfin: bfin_mac: drop volatile markings on packet buffers 2012-07-19 00:09:32 -04:00
bfin_mac.h net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
calxedaxgmac.c drivers/net/calxedaxgmac.c: Fix compile warning 2012-05-22 10:18:15 -05:00
cpsw.c cpsw: add driver for cpsw ethernet device 2012-09-01 14:58:10 +02:00
cs8900.c drivers/net/cs8900.c: Fix compile warning 2012-05-22 10:18:15 -05:00
cs8900.h Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API 2009-08-25 13:35:54 -07:00
davinci_emac.c da850/omap-l138: Enable auto negotiation in RMII mode 2012-07-07 14:07:35 +02:00
davinci_emac.h davinci_emac: fix for running with dcache enabled 2011-12-06 23:59:35 +01:00
dc2114x.c drivers/net/dc2114x.c: Fix compile warning 2012-05-22 10:18:15 -05:00
designware.c net/designware: Consecutive writes to the same register to be avoided 2012-07-11 13:15:31 -05:00
designware.h net: Multiple updates/enhancements to designware.c 2012-07-07 14:07:42 +02:00
dm9000x.c drivers/net/dm9000x.c: Fix compile warning 2012-05-22 10:18:15 -05:00
dm9000x.h dm9000 remove dead external phy support, gpio fix 2008-08-26 23:08:19 -07:00
dnet.c drivers/net/dnet.c: Fix compile warning 2012-05-22 10:18:15 -05:00
dnet.h dnet: driver for Dave DNET ethernet controller 2009-02-10 00:16:27 +01:00
e1000_spi.c drivers/net/e1000_spi.c: Fix build warnings 2011-12-20 23:13:49 +01:00
e1000.c drivers/net/e1000.c: Fix compile warning 2012-05-22 13:41:47 -05:00
e1000.h e1000: remove duplicate macros in e1000.h 2011-11-17 10:00:10 +01:00
eepro100.c drivers/net/eepro100.c: Fix compile warning 2012-05-22 10:18:16 -05:00
enc28j60.c drivers/net/enc28j60.c: Fix compile warning 2012-05-22 10:18:16 -05:00
enc28j60.h NET: add ENC28J60 driver using SPI framework 2010-10-11 22:47:48 -07:00
ep93xx_eth.c net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
ep93xx_eth.h Add EP93xx ethernet driver 2010-01-31 22:37:12 -08:00
ethoc.c net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
fec_mxc.c FEC: Rework the TX wait mechanism 2012-09-27 12:22:10 -05:00
fec_mxc.h net: fec_mxc: allow use with cache enabled 2012-03-29 07:57:20 +02:00
fsl_mcdmafec.c net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
fsl_mdio.c tsec: Convert tsec to use PHY Lib 2011-04-20 15:09:34 -05:00
ftgmac100.c net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
ftgmac100.h ftgmac100: support of gigabit eth ftgmac100 2011-01-09 22:16:51 +01:00
ftmac100.c drivers/net/ftmac100.c: Fix compile warning 2012-05-22 10:18:16 -05:00
ftmac100.h arm: A320: driver for FTMAC100 ethernet controller 2009-08-10 14:53:52 -07:00
greth.c dm: sparc: net: Fixup greth compile warnings 2012-09-18 12:01:50 -07:00
greth.h SPARC/LEON3: Added GRETH Ethernet 10/100/1000 driver. 2008-03-30 00:33:28 -04:00
inca-ip_sw.c net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
ks8695eth.c drivers/net/ks8695eth.c: Fix compile warning 2012-05-22 10:18:16 -05:00
lan91c96.c drivers/net/lan91c96.c: Fix compile warning 2012-05-22 10:18:16 -05:00
lan91c96.h PXA: Rename CONFIG_PXA2[57]X to CONFIG_CPU_PXA2[57]X 2011-12-06 23:59:32 +01:00
macb.c Merge branch 'master' of git://git.denx.de/u-boot-avr32 2012-09-04 09:17:27 +02:00
macb.h AT91CAP9 support : MACB changes 2008-02-14 09:37:58 +00:00
Makefile net: Add driver for Zynq Gem IP 2012-09-26 12:36:32 -05:00
mcffec.c net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
mcfmii.c net: drop !NET_MULTI code 2011-10-05 22:22:16 +02:00
mpc5xxx_fec.c drivers/net/mpc5xxx_fec.c: Fix build warning 2012-05-22 10:18:13 -05:00
mpc5xxx_fec.h Move MPC5xxx_FEC driver to drivers/net 2008-08-29 13:58:07 -06:00
mpc512x_fec.c drivers/net/mpc512x_fec.c: Fix build warning 2012-05-22 10:18:14 -05:00
mpc512x_fec.h MPC512x: remove include/mpc512x.h 2009-06-12 20:47:16 +02:00
mvgbe.c net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
mvgbe.h mvgbe: enable configurability of PORT_SERIAL_CONTROL_VALUE 2011-05-31 19:46:14 +02:00
natsemi.c drivers/net/natsemi.c: Fix compile warning 2012-05-22 13:41:47 -05:00
ne2000_base.c net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
ne2000_base.h net: ne2000: Divided a function of NE2000 driver 2008-10-13 22:28:32 -07:00
ne2000.c consolidate mdelay by providing a common function for all users 2011-10-22 01:16:08 +02:00
ne2000.h NE2000: Fix regresssion introduced by e710185aae on non AX88796 2008-04-28 22:26:36 -07:00
netarm_eth.c net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
netarm_eth.h drivers/net : move net drivers to drivers/net 2007-11-25 18:35:17 +01:00
netconsole.c net: Filter incoming netconsole packets by IP 2012-09-24 13:55:44 -05:00
nicext.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ns8382x.c drivers/net/ns8382x.c: Fix compile warning 2012-05-22 13:41:47 -05:00
pcnet.c drivers/net/pcnet.c: Fix compile warning 2012-05-22 23:17:52 -05:00
plb2800_eth.c net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
rtl8139.c drivers/net/rtl8139.c: Fix compile warning 2012-05-22 13:41:47 -05:00
rtl8169.c drivers/net/rtl8169.c: Fix compile warning 2012-05-22 23:17:52 -05:00
sh_eth.c net: sh_eth: Add support R8A7740 of rmobile (arm core) 2012-09-24 13:55:42 -05:00
sh_eth.h net: sh_eth: Add support R8A7740 of rmobile (arm core) 2012-09-24 13:55:42 -05:00
smc911x.c drivers/net/smc911x.c: Fix GCC 4.6 warning 2012-05-22 10:18:13 -05:00
smc911x.h Improve Power Management in SMC911X driver. 2011-11-22 08:39:27 +01:00
smc91111.c drivers/net/smc91111.c: Fix compile warning 2012-05-22 10:18:16 -05:00
smc91111.h PXA: Rename CONFIG_PXA2[57]X to CONFIG_CPU_PXA2[57]X 2011-12-06 23:59:32 +01:00
tsec.c net: abort network initialization if the PHY driver fails 2012-07-11 13:15:30 -05:00
tsi108_eth.c drivers/net/tsi108_eth.c: Fix compile warning 2012-05-22 13:41:47 -05:00
uli526x.c drivers/net/uli526x.c: Fix compile warning 2012-05-22 13:41:47 -05:00
vsc7385.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
xilinx_axi_emac.c net: abort network initialization if the PHY driver fails 2012-07-11 13:15:30 -05:00
xilinx_emaclite.c net: emaclite: Support OF initialization 2012-09-24 13:17:25 -05:00
xilinx_ll_temac_fifo.c drivers/net/xilinx_ll_temac.c: Fix compile warning 2012-05-22 23:17:52 -05:00
xilinx_ll_temac_fifo.h drivers/net/xilinx_ll_temac.c: Fix compile warning 2012-05-22 23:17:52 -05:00
xilinx_ll_temac_mdio.c net: ll_temac: Add LL TEMAC driver to u-boot 2012-04-04 09:36:19 -05:00
xilinx_ll_temac_mdio.h net: ll_temac: Add LL TEMAC driver to u-boot 2012-04-04 09:36:19 -05:00
xilinx_ll_temac_sdma.c drivers/net/xilinx_ll_temac.c: Fix compile warning 2012-05-22 23:17:52 -05:00
xilinx_ll_temac_sdma.h drivers/net/xilinx_ll_temac.c: Fix compile warning 2012-05-22 23:17:52 -05:00
xilinx_ll_temac.c net: abort network initialization if the PHY driver fails 2012-07-11 13:15:30 -05:00
xilinx_ll_temac.h net: ll_temac: Add LL TEMAC driver to u-boot 2012-04-04 09:36:19 -05:00
zynq_gem.c net: Add driver for Zynq Gem IP 2012-09-26 12:36:32 -05:00