1. 01 8月, 2013 1 次提交
  2. 25 7月, 2013 2 次提交
  3. 11 7月, 2013 1 次提交
    • G
      sh_eth: SH_ETH should depend on HAS_DMA · b41e6a51
      Geert Uytterhoeven 提交于
      If NO_DMA=y:
      
      drivers/built-in.o: In function `sh_eth_free_dma_buffer':
      drivers/net/ethernet/renesas/sh_eth.c:1103: undefined reference to `dma_free_coherent'
      drivers/net/ethernet/renesas/sh_eth.c:1110: undefined reference to `dma_free_coherent'
      drivers/built-in.o: In function `sh_eth_ring_init':
      drivers/net/ethernet/renesas/sh_eth.c:1065: undefined reference to `dma_alloc_coherent'
      drivers/net/ethernet/renesas/sh_eth.c:1086: undefined reference to `dma_free_coherent'
      drivers/built-in.o: In function `sh_eth_ring_format':
      drivers/net/ethernet/renesas/sh_eth.c:988: undefined reference to `dma_map_single'
      drivers/built-in.o: In function `sh_eth_txfree':
      drivers/net/ethernet/renesas/sh_eth.c:1220: undefined reference to `dma_unmap_single'
      drivers/built-in.o: In function `sh_eth_rx':
      drivers/net/ethernet/renesas/sh_eth.c:1323: undefined reference to `dma_map_single'
      drivers/built-in.o: In function `sh_eth_start_xmit':
      drivers/net/ethernet/renesas/sh_eth.c:1954: undefined reference to `dma_map_single'
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b41e6a51
  4. 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
  5. 20 6月, 2013 7 次提交
  6. 13 6月, 2013 3 次提交
  7. 11 6月, 2013 1 次提交
  8. 08 6月, 2013 10 次提交
  9. 07 6月, 2013 8 次提交
  10. 28 5月, 2013 1 次提交
  11. 18 5月, 2013 1 次提交
  12. 17 5月, 2013 1 次提交
  13. 01 5月, 2013 1 次提交
  14. 30 4月, 2013 1 次提交