1. 01 1月, 2015 1 次提交
    • R
      GMAC: add driver for Rockchip RK3288 SoCs integrated GMAC · 7ad269ea
      Roger Chen 提交于
      This driver is based on stmmac driver.
      
      changes since v2:
      - use tab instead of space for macros
      - use HIWORD_UPDATE macro for GMAC_CLK_RX_DL_CFG and GMAC_CLK_TX_DL_CFG
      - remove drive-strength setting in the driver and set it in the pinctrl settings
      - use dev_err instead of pr_err
      - remove clock names's macros, just use the real name of the clock
      - use devm_clk_get() instead of clk_get()
      - remove clk_set_parent(bsp_priv->clk_mac, bsp_priv->clk_mac_pll)
      - remove gpio setting for LDO, just use regulator API
      - remove phy reset using gpio in the glue layer, it has been handled in the stmmac driver
      - remove handling phy interrupt (mii interrupt)
      
      changes since v1:
      - use BIT() to set register
      - combine two remap_write() operations into one for the same register
      - use macros for register value setting
      - remove grf fail check in rk_gmac_setup() and save all the check in set_rgmii_speed()
      - remove .tx_coe=1 in rk_gmac_data
      Signed-off-by: NRoger Chen <roger.chen@rock-chips.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7ad269ea
  2. 23 12月, 2014 2 次提交
  3. 16 12月, 2014 1 次提交
  4. 10 12月, 2014 1 次提交
  5. 06 12月, 2014 1 次提交
  6. 30 11月, 2014 1 次提交
  7. 27 11月, 2014 1 次提交
  8. 20 11月, 2014 2 次提交
  9. 12 11月, 2014 1 次提交
  10. 08 11月, 2014 2 次提交
    • A
      stmmac: platform: fix sparse warnings · f10f9fb2
      Andy Shevchenko 提交于
      This patch fixes the following sparse warnings. One is fixed by casting return
      value to a return type of the function. The others by creating a specific
      stmmac_platform.h which provides the bits related to the platform driver.
      
      drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c:59:29: warning: incorrect type in return expression (different address spaces)
      drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c:59:29:    expected void *
      drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c:59:29:    got void [noderef] <asn:2>*reg
      
      drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c:64:29: warning: symbol 'meson6_dwmac_data' was not declared. Should it be static?
      drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c:354:29: warning: symbol 'stih4xx_dwmac_data' was not declared. Should it be static?
      drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c:361:29: warning: symbol 'stid127_dwmac_data' was not declared. Should it be static?
      drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c:133:29: warning: symbol 'sun7i_gmac_data' was not declared. Should it be static?
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f10f9fb2
    • A
      stmmac: remove custom implementation of print_hex_dump() · 424c4f78
      Andy Shevchenko 提交于
      There is a kernel helper to dump buffers in a hexdecimal format. This patch
      substitutes the open coded function by calling that helper.
      
      The output is slightly changed:
       - no lead space
       - ASCII part will be printed along with the dump
       - offset is longer than 3 characters (now 8)
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      424c4f78
  11. 07 11月, 2014 5 次提交
  12. 06 11月, 2014 8 次提交
  13. 01 11月, 2014 1 次提交
  14. 15 10月, 2014 4 次提交
  15. 11 10月, 2014 1 次提交
  16. 04 10月, 2014 1 次提交
  17. 30 9月, 2014 1 次提交
  18. 26 9月, 2014 1 次提交
  19. 14 9月, 2014 1 次提交
  20. 10 9月, 2014 1 次提交
  21. 02 9月, 2014 2 次提交
  22. 01 9月, 2014 1 次提交