1. 04 5月, 2018 1 次提交
  2. 02 4月, 2018 2 次提交
  3. 27 3月, 2018 5 次提交
  4. 28 2月, 2018 1 次提交
  5. 27 2月, 2018 2 次提交
  6. 20 2月, 2018 1 次提交
  7. 13 2月, 2018 1 次提交
  8. 16 1月, 2018 3 次提交
  9. 09 1月, 2018 1 次提交
  10. 06 1月, 2018 1 次提交
    • S
      sh_eth: fix SH7757 GEther initialization · 51335502
      Sergei Shtylyov 提交于
      Renesas  SH7757 has 2 Fast and 2 Gigabit Ether controllers, while the
      'sh_eth' driver can only reset and initialize TSU of the first controller
      pair. Shimoda-san tried to solve that adding the 'needs_init' member to the
      'struct sh_eth_plat_data', however the platform code still never sets this
      flag. I think  that we can infer this information from the 'devno' variable
      (set  to 'platform_device::id') and reset/init the Ether controller pair
      only for an even 'devno'; therefore 'sh_eth_plat_data::needs_init' can be
      removed...
      
      Fixes: 150647fb ("net: sh_eth: change the condition of initialization")
      Signed-off-by: NSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      51335502
  11. 05 1月, 2018 1 次提交
  12. 03 1月, 2018 1 次提交
  13. 12 12月, 2017 1 次提交
  14. 06 12月, 2017 2 次提交
  15. 20 10月, 2017 2 次提交
  16. 14 8月, 2017 1 次提交
  17. 14 6月, 2017 1 次提交
  18. 12 6月, 2017 1 次提交
  19. 18 5月, 2017 2 次提交
  20. 19 4月, 2017 1 次提交
    • S
      sh_eth: unmap DMA buffers when freeing rings · 1debdc8f
      Sergei Shtylyov 提交于
      The DMA API debugging (when enabled) causes:
      
      WARNING: CPU: 0 PID: 1445 at lib/dma-debug.c:519 add_dma_entry+0xe0/0x12c
      DMA-API: exceeded 7 overlapping mappings of cacheline 0x01b2974d
      
      to be  printed after repeated initialization of the Ether device, e.g.
      suspend/resume or 'ifconfig' up/down. This is because DMA buffers mapped
      using dma_map_single() in sh_eth_ring_format() and sh_eth_start_xmit() are
      never unmapped. Resolve this problem by unmapping the buffers when freeing
      the descriptor  rings;  in order  to do it right, we'd have to add an extra
      parameter to sh_eth_txfree() (we rename this function to sh_eth_tx_free(),
      while at it).
      
      Based on the commit a47b70ea ("ravb: unmap descriptors when freeing
      rings").
      Signed-off-by: NSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1debdc8f
  21. 02 2月, 2017 2 次提交
  22. 31 1月, 2017 2 次提交
  23. 10 1月, 2017 5 次提交