1. 01 Jul, 2012 2 commits
    • Giuseppe CAVALLARO's avatar
      stmmac: add the Energy Efficient Ethernet support · d765955d
      Giuseppe CAVALLARO authored
      
      
      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: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d765955d
    • Giuseppe CAVALLARO's avatar
      stmmac: do not use strict_strtoul but kstrtoint · ea2ab871
      Giuseppe CAVALLARO authored
      
      
      This patch replaces the obsolete strict_strtoul with kstrtoint.
      
      v2: also removed casting on kstrtoul.
      v3: use kstrtoint instead of kstrtoul due to all vars are integer.
          thanks to E. Dumazet.
      Signed-off-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ea2ab871
  2. 11 Jun, 2012 1 commit
    • Stefan Roese's avatar
      net: stmmac: Fix clock en-/disable calls · 883ffd6e
      Stefan Roese authored
      
      
      clk_{un}prepare is mandatory for platforms using common clock framework.
      Since these drivers are used by SPEAr platform, which supports common
      clock framework, add clk_{un}prepare() support for them. Otherwise
      the clocks are not correctly en-/disabled and ethernet support doesn't
      work.
      Signed-off-by: Stefan Roese's avatarStefan Roese <sr@denx.de>
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      883ffd6e
  3. 08 Jun, 2012 1 commit
    • Giuseppe CAVALLARO's avatar
      stmmac: fix driver built w/ w/o both pci and platf modules · 33d5e332
      Giuseppe CAVALLARO authored
      The commit ba27ec66
      
       fixes the Kconfig of the
      driver when built as module allowing to select/unselect
      the PCI and Platform modules that are not anymore mutually
      exclusive. This patch fixes and guarantees that the driver
      builds on all the platforms w/ w/o PCI and when select/unselect
      the two stmmac supports. In case of there are some problems
      on both the configuration and the pci/pltf registration the
      module_init will fail.
      
      v2: set the CONFIG_STMMAC_PLATFORM enabled by default.
      I've just noticed that this can actually help on
      some configurations that don't enable any STMMAC
      options by default (e.g. SPEAr).
      
      v3: change printk level when do not register the driver.
      Reported-by: default avatarFengguang Wu <wfg@linux.intel.com>
      Signed-off-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      33d5e332
  4. 06 Jun, 2012 3 commits
  5. 04 Jun, 2012 1 commit
  6. 21 May, 2012 1 commit
  7. 14 May, 2012 3 commits
  8. 20 Apr, 2012 4 commits
  9. 06 Apr, 2012 1 commit
  10. 04 Apr, 2012 10 commits
  11. 17 Mar, 2012 1 commit
  12. 15 Feb, 2012 5 commits
  13. 13 Feb, 2012 1 commit
  14. 08 Feb, 2012 1 commit
  15. 31 Jan, 2012 2 commits
  16. 24 Jan, 2012 2 commits
  17. 13 Jan, 2012 1 commit