1. 03 8月, 2014 1 次提交
  2. 03 7月, 2014 1 次提交
  3. 12 6月, 2014 2 次提交
  4. 04 6月, 2014 2 次提交
  5. 14 5月, 2014 2 次提交
  6. 29 3月, 2014 1 次提交
    • B
      sh_eth: ensure pm_runtime cannot suspend the device during init · b5893a08
      Ben Dooks 提交于
      The pm_rumtime work queue is causing the device to be suspended during
      initialisation, thus the initialisation may not be able to access registers
      properly. As the code is called from a work queue, it is possible that this
      is not seen from certain configurations/builds due to the asynchronos
      nature of the code.
      
      Another issue has also been found where the network device registration
      calls back into the driver thus causing further pm_runtime calls that
      also caused issues with the MDIO bus code. This has now been checked
      and is the only place the MDIO can be called without the device open.
      
      Use pm_runtime_get_sync() and pm_runtime_put() to ensure that the
      pm system does not suspend it during the probe() call and remove the
      now unnecessary pm_runtime_resume() call. Also add a call in the error
      path to call pm_runtime_disable().
      
      This fixes the external abort that can cause /sbin/init or other such
      init processed to die.
      Signed-off-by: NBen Dooks <ben.dooks@codethink.co.uk>
      Tested-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b5893a08
  7. 21 3月, 2014 5 次提交
  8. 18 3月, 2014 4 次提交
  9. 14 3月, 2014 1 次提交
    • B
      sh_eth: update OF PHY registeration · 702eca02
      Ben Dooks 提交于
      If the sh_eth device is registered using OF, then the driver
      should call of_mdiobus_register() to register the PHYs described
      in the devicetree and then use of_phy_connect() to connect the
      PHYs to the device.
      
      This ensures that any PHYs registered in the device tree are
      appropriately connected to the parent devices nodes so that
      the PHY drivers can access their OF properties.
      Signed-off-by: NBen Dooks <ben.dooks@codethink.co.uk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      702eca02
  10. 19 2月, 2014 1 次提交
  11. 14 2月, 2014 1 次提交
  12. 18 1月, 2014 2 次提交
  13. 17 1月, 2014 1 次提交
  14. 14 1月, 2014 1 次提交
  15. 04 1月, 2014 1 次提交
    • S
      sh_eth: coding style fixes · 128296fc
      Sergei Shtylyov 提交于
      Running 'scripts/checkpatch.pl' on the driver files gives numerous warnings:
      
      - block comments using empty /* line;
      
      - unneeded \ at end of lines;
      
      - message string split across lines;
      
      - use of __attribute__((aligned(n))) instead of __aligned(n) macro;
      
      - use of __attribute__((packed)) instead of __packed macro.
      
      Additionally, running 'scripts/checkpatch.pl --strict' gives more complaints:
      
      - including the paragraph about writing to FSF into the heading comment;
      
      - alignment not matching open paren;
      
      - multiple assignments on one line;
      
      - use of CamelCase names;
      
      - missing {} on one of the *if* arms where another has them;
      
      - spinlock definition without a comment.
      
      While fixing these, also do some more style cleanups:
      
      - remove useless () around expressions;
      
      - add {} around multi-line *if* operator's arm;
      
      - remove space before comma;
      
      - add spaces after /* and before */;
      
      - properly align continuation lines of broken up expressions;
      
      - realign comments to the structure fields.
      Signed-off-by: NSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      128296fc
  16. 01 1月, 2014 1 次提交
  17. 20 12月, 2013 2 次提交
  18. 11 12月, 2013 1 次提交
    • S
      sh_eth: add R8A7791 support · 94a12b15
      Sergei Shtylyov 提交于
      Add support for yet another ARM member of the R-Car family, R-Car M2, also known
      as R8A7791 -- it will share the code and data with previously added R8A7790.
      Despite the Ether devices in these SoCs are indistinguishable at least from the
      driver's point of view, we do introduce a new platform device ID "r8a7791-ether"
      unlike the wildcard ID used for R8A7778/9 SoCs, due to newly established policy
      for the Renesas SoCs.
      Signed-off-by: NSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      94a12b15
  19. 10 12月, 2013 1 次提交
  20. 05 11月, 2013 1 次提交
  21. 24 10月, 2013 1 次提交
  22. 12 10月, 2013 1 次提交
  23. 09 10月, 2013 1 次提交
    • N
      net: sh_eth: Fix RX packets errors on R8A7740 · 2c6221e4
      Nguyen Hong Ky 提交于
      This patch will fix RX packets errors when receiving big size
      of data by set bit RNC = 1.
      
      RNC - Receive Enable Control
      
      0: Upon completion of reception of one frame, the E-DMAC writes
      the receive status to the descriptor and clears the RR bit in
      EDRRR to 0.
      
      1: Upon completion of reception of one frame, the E-DMAC writes
      (writes back) the receive status to the descriptor. In addition,
      the E-DMAC reads the next descriptor and prepares for reception
      of the next frame.
      
      In addition, for get more stable when receiving packets, I set
      maximum size for the transmit/receive FIFO and inserts padding
      in receive data.
      Signed-off-by: NNguyen Hong Ky <nh-ky@jinso.co.jp>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2c6221e4
  24. 03 10月, 2013 1 次提交
  25. 05 9月, 2013 2 次提交
  26. 04 9月, 2013 2 次提交