linux/drivers/net/stmmac
Giuseppe CAVALLARO 36bcfe7d74 stmmac: unify MAC and PHY configuration parameters (V2)
Prior to this change, most PHY configuration parameters were passed
into the STMMAC device as a separate PHY device. As well as being
unusual, this made it difficult to make changes to the MAC/PHY
relationship.

This patch moves all the PHY parameters into the MAC configuration
structure, mainly as a separate structure. This allows us to completely
ignore the MDIO bus attached to a stmmac if desired, and not create
the PHY bus. It also allows the stmmac driver to use a different PHY
from the one it is connected to, for example a fixed PHY or bit banging
PHY.

Also derive the stmmac/PHY connection type (MII/RMII etc) from the
mode can be passed into <platf>_configure_ethernet.
STLinux kernel at git://git.stlinux.com/stm/linux-sh4-2.6.32.y.git
provides several examples how to use this new infrastructure (that
actually is easier to maintain and clearer).

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-07-21 15:29:16 -07:00
..
common.h
descs.h
dwmac100.h
dwmac100_core.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
dwmac100_dma.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
dwmac1000.h
dwmac1000_core.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
dwmac1000_dma.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
dwmac_dma.h
dwmac_lib.c stmmac: fixed dma lib build when turn-on the debug option 2011-04-11 12:55:47 -07:00
enh_desc.c
Kconfig
Makefile
norm_desc.c Fix common misspellings 2011-03-31 11:26:23 -03:00
stmmac.h stmmac: unify MAC and PHY configuration parameters (V2) 2011-07-21 15:29:16 -07:00
stmmac_ethtool.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
stmmac_main.c stmmac: unify MAC and PHY configuration parameters (V2) 2011-07-21 15:29:16 -07:00
stmmac_mdio.c stmmac: unify MAC and PHY configuration parameters (V2) 2011-07-21 15:29:16 -07:00
stmmac_timer.c
stmmac_timer.h