1. 10 12月, 2019 1 次提交
  2. 07 12月, 2019 1 次提交
    • J
      net: stmmac: reset Tx desc base address before restarting Tx · f421031e
      Jongsung Kim 提交于
      Refer to the databook of DesignWare Cores Ethernet MAC Universal:
      
      6.2.1.5 Register 4 (Transmit Descriptor List Address Register
      
      If this register is not changed when the ST bit is set to 0, then
      the DMA takes the descriptor address where it was stopped earlier.
      
      The stmmac_tx_err() does zero indices to Tx descriptors, but does
      not reset HW current Tx descriptor address. To fix inconsistency,
      the base address of the Tx descriptors should be rewritten before
      restarting Tx.
      Signed-off-by: NJongsung Kim <neidhard.kim@lge.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f421031e
  3. 24 11月, 2019 1 次提交
  4. 17 11月, 2019 2 次提交
  5. 16 11月, 2019 8 次提交
  6. 14 11月, 2019 1 次提交
  7. 12 11月, 2019 7 次提交
  8. 09 11月, 2019 1 次提交
  9. 07 11月, 2019 11 次提交
  10. 05 11月, 2019 2 次提交
  11. 23 10月, 2019 1 次提交
  12. 20 10月, 2019 1 次提交
  13. 18 10月, 2019 1 次提交
    • B
      net: stmmac: fix argument to stmmac_pcs_ctrl_ane() · c9ad4c10
      Ben Dooks (Codethink) 提交于
      The stmmac_pcs_ctrl_ane() expects a register address as
      argument 1, but for some reason the mac_device_info is
      being passed.
      
      Fix the warning (and possible bug) from sparse:
      
      drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2613:17: warning: incorrect type in argument 1 (different address spaces)
      drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2613:17:    expected void [noderef] <asn:2> *ioaddr
      drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2613:17:    got struct mac_device_info *hw
      Signed-off-by: NBen Dooks <ben.dooks@codethink.co.uk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c9ad4c10
  14. 17 10月, 2019 1 次提交
  15. 16 10月, 2019 1 次提交