diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2012-06-27 21:14:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-01 03:34:50 -0700 |
commit | d765955d2ae0b88781a0db3a5bacfe4241925e09 (patch) | |
tree | e1906652617da85d0168b5cfe84219f69403e3d0 /include/linux | |
parent | 0ec2ccd0804ebb57a860c59d056a3f420c4f8028 (diff) |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions