1. 19 2月, 2014 1 次提交
  2. 14 2月, 2014 1 次提交
  3. 18 1月, 2014 2 次提交
  4. 17 1月, 2014 1 次提交
  5. 14 1月, 2014 1 次提交
  6. 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
  7. 01 1月, 2014 1 次提交
  8. 20 12月, 2013 2 次提交
  9. 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
  10. 10 12月, 2013 1 次提交
  11. 05 11月, 2013 1 次提交
  12. 24 10月, 2013 1 次提交
  13. 12 10月, 2013 1 次提交
  14. 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
  15. 03 10月, 2013 1 次提交
  16. 05 9月, 2013 2 次提交
  17. 04 9月, 2013 2 次提交
  18. 31 8月, 2013 1 次提交
  19. 30 8月, 2013 1 次提交
  20. 21 8月, 2013 1 次提交
  21. 01 8月, 2013 1 次提交
  22. 25 7月, 2013 2 次提交
  23. 24 6月, 2013 2 次提交
    • S
      sh_eth: fix misreporting of transmit abort · 4eb313a7
      Sergei Shtylyov 提交于
      Due to obviously missing braces, EESR.TABT (transmit abort) interrupt may be
      reported even if it hasn't happened, just when EESR.TWB (transmit descriptor
      write-back) interrupt happens. Luckily (?), EESR.TWB is disabled by the driver
      via the TRIMD register and all the interrupt masks, so that transmit abort is
      never actually logged...
      
      Put the braces where they should be and fix the incoherent comment, while at it.
      Signed-off-by: NSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4eb313a7
    • S
      sh_eth: fix unhandled RFE interrupt · ca8c3585
      Sergei Shtylyov 提交于
      EESR.RFE (receive FIFO overflow) interrupt is enabled by the driver on all SoCs
      and sh_eth_error() handles it but it's not present in any initializer/assignment
      of the 'eesr_err_check' field of 'struct sh_eth_cpu_data'. This leads to that
      interrupt not being handled and cleared, and finally to disabling IRQ and the
      driver being non-functional.
      
      Modify DEFAULT_EESR_ERR_CHECK macro and all explicit initializers of the above
      mentioned field to contain the EESR.RFE bit. Remove useless backslashes from the
      initializers, while at it.
      Signed-off-by: NSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ca8c3585
  24. 20 6月, 2013 5 次提交
  25. 13 6月, 2013 3 次提交
  26. 11 6月, 2013 1 次提交
  27. 08 6月, 2013 2 次提交
    • D
      sh_eth: Fix warnings on 64-bit. · e403d295
      David S. Miller 提交于
      Don't cast a plain integer to a pointer.
      
      drivers/net/ethernet/renesas/sh_eth.c: In function ‘sh_eth_chip_reset_giga’:
      drivers/net/ethernet/renesas/sh_eth.c:482:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      drivers/net/ethernet/renesas/sh_eth.c:483:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      drivers/net/ethernet/renesas/sh_eth.c:492:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      drivers/net/ethernet/renesas/sh_eth.c:493:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e403d295
    • S
      sh_eth: get R8A777x support out of #ifdef · 589ebdef
      Sergei Shtylyov 提交于
      Get the R-Car code/data in the driver out of #ifdef by adding "r8a777x-ether" to
      the platfrom driver's  ID table; since it's the last #ifdef, we remove CARDNAME
      from the  ID table and no longer check  the driver data before  assigning it to
      'mdp->cd'...
      Change the Ether platform device's name in the ARM platform code accordingly.
      Signed-off-by: NSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      589ebdef