1. 27 1月, 2021 3 次提交
    • S
      net: e1000: Add missing address translations · 14807449
      Stefan Roese 提交于
      Add some missing address translations from virtual address in local DRAM
      to physical address, which is needed for the DMA transactions to work
      correctly.
      
      This issue was detected while testing the e1000 driver on the MIPS
      Octeon III platform, which needs address translation.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Aaron Williams <awilliams@marvell.com>
      Cc: Chandrakala Chavva <cchavva@marvell.com>
      14807449
    • S
      net: e1000: Use virt_to_phys() instead of pci_virt_to_mem() · 919c8ede
      Stefan Roese 提交于
      Using (dm_)pci_virt_to_mem() is incorrect to translate the virtual
      address in local DRAM to a physical address. The correct macro here
      is virt_to_phys() so switch to using this macro.
      
      As virt_to_bus() is now not used any more, this patch also removes
      both definitions (DM and non-DM).
      
      This issue was detected while testing the e1000 driver on the MIPS
      Octeon III platform, which needs address translation.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Aaron Williams <awilliams@marvell.com>
      Cc: Chandrakala Chavva <cchavva@marvell.com>
      919c8ede
    • S
      net: e1000: Remove unused bus_to_phys() macro · 55f01035
      Stefan Roese 提交于
      bus_to_phys() is defined but not referenced at all. This patch removes
      it completely.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Aaron Williams <awilliams@marvell.com>
      Cc: Chandrakala Chavva <cchavva@marvell.com>
      55f01035
  2. 26 1月, 2021 8 次提交
  3. 25 1月, 2021 12 次提交
  4. 23 1月, 2021 8 次提交
  5. 22 1月, 2021 7 次提交
  6. 21 1月, 2021 2 次提交