u-boot-brain/drivers/net
Stefan Roese ef76025a99 net: Multiple updates/enhancements to designware.c
This patch adds the following changes to designware ethernet driver
found on the ST SPEAr SoC:

- Don't init MAC & PHY upon startup. This causes a delay, waiting for
  the auto negotiation to complete. And we don't want this delay to
  always happen. Especially not on platforms where ethernet is not
  used at all (e.g. booting via flash).
  Instead postpone the MAC / PHY configuration to the stage, where
  ethernet is first used.
- Add possibility for board specific PHY init code. This is needed
  for example on the X600 board, where the Vitesse PHY needs to be
  configured for GMII mode.
  This board specific PHY init is done via the function
  designware_board_phy_init(). And this driver now adds a weak default
  which can be overridden by board code.
- Use common functions miiphy_speed() & miiphy_duplex() to read
  link status from PHY.
- Print status and progress of auto negotiation.
- Print link status (speed, dupex) upon first usage.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Amit Virdi <amit.virdi@st.com>
Cc: Vipin Kumar <vipin.kumar@st.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@gmail.com>
2012-07-07 14:07:42 +02:00
..
fm drivers/net/fm/eth.c: Fix compile warning 2012-05-22 13:41:47 -05:00
phy net: phy: make board_phy_config responsible for calling drv->config 2012-02-27 21:19:25 +01: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 drivers/net/armada100_fec.c: Fix compile warning 2012-05-22 10:18:15 -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 net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05: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
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: Multiple updates/enhancements to designware.c 2012-07-07 14:07:42 +02: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 drivers/net/fec_mxc.c: Fix compile warning 2012-05-22 10:18:16 -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 net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05: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 drivers/net/macb.c: Fix compile warning 2012-05-22 10:18:16 -05:00
macb.h AT91CAP9 support : MACB changes 2008-02-14 09:37:58 +00:00
Makefile net: ll_temac: Add LL TEMAC driver to u-boot 2012-04-04 09:36:19 -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: Allow filtering on debug traces in the net subsystem 2012-05-23 17:53:08 -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 Gigabit of SH7734 2012-05-23 17:53:09 -05:00
sh_eth.h net: sh-eth: Add support Gigabit of SH7734 2012-05-23 17:53:09 -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 ppc: Fix warning in TSEC Ethernet driver 2012-05-22 10:18:14 -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 drivers/net/xilinx_axi_emac.c: Fix compile warning 2012-05-22 23:17:52 -05:00
xilinx_emaclite.c drivers/net/xilinx_emaclite.c: Fix compile warning 2012-05-22 23:17:52 -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: ll_temac: drop obsolete "NAMESIZE" define 2012-04-21 17:28:03 +02:00
xilinx_ll_temac.h net: ll_temac: Add LL TEMAC driver to u-boot 2012-04-04 09:36:19 -05:00