OpenCloudOS-Kernel/drivers/net/ethernet/stmicro/stmmac
Giuseppe CAVALLARO d765955d2a stmmac: add the Energy Efficient Ethernet support
This patch adds the Energy Efficient Ethernet support to the stmmac.

Please see the driver's documentation for further details about this support
in the driver.

Thanks also goes to Rayagond Kokatanur for his first implementation.

Note:
 to clearly manage and expose the lpi interrupt status and eee ethtool
 stats I've had to do some modifications to the driver's design and I
 found really useful to move other parts of the code (e.g. mmc irq stat)
 in the main directly. So this means that some core has been reworked
 to introduce the EEE.

v1: initial patch
v2: fixed some sparse issues (typos)
v3: erroneously sent the v2 renamed as v3
v4:
	o Fixed the return value of the stmmac_eee_init as suggested by D.Miller
	o Totally reviewed the ethtool support for EEE
	o Added a new internal parameter to tune the SW timer for TX LPI.
v5: do not change any eee setting in case of the stmmac_ethtool_op_set_eee fails
    (it has to return -EOPNOTSUPP in that case).

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-07-01 03:34:50 -07:00
..
Kconfig stmmac: fix driver built w/ w/o both pci and platf modules 2012-06-07 22:46:48 -07:00
Makefile stmmac: add the experimental PCI support 2011-12-21 15:44:34 -05:00
chain_mode.c
common.h stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
descs.h
descs_com.h
dwmac100.h
dwmac100_core.c stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
dwmac100_dma.c stmmac: add mixed burst for DMA 2012-05-14 18:53:19 -04:00
dwmac1000.h stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
dwmac1000_core.c stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
dwmac1000_dma.c stmmac: add mixed burst for DMA 2012-05-14 18:53:19 -04:00
dwmac_dma.h stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
dwmac_lib.c stmmac: extend mac addr reg and fix perfect filering 2012-05-14 18:53:19 -04:00
enh_desc.c stmmac: sanitize the rx coe and add the type-1 csum (v2) 2012-04-04 18:39:23 -04:00
mmc.h
mmc_core.c stmmac: Fix compilation error in mmc_core.c 2012-01-10 14:57:20 -08:00
norm_desc.c stmmac: sanitize the rx coe and add the type-1 csum (v2) 2012-04-04 18:39:23 -04:00
ring_mode.c
stmmac.h stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
stmmac_ethtool.c stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
stmmac_main.c stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
stmmac_mdio.c stmmac: MDC clock dynamically based on the csr clock input 2012-04-04 18:39:24 -04:00
stmmac_pci.c stmmac: fix driver Kconfig when built as module 2012-06-06 09:34:56 -07:00
stmmac_platform.c stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
stmmac_timer.c
stmmac_timer.h