1. 27 1月, 2021 2 次提交
    • 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 25 次提交
  3. 25 1月, 2021 13 次提交