Files
u-boot/drivers/net
Stefan Roese 919c8ede86 net: e1000: Use virt_to_phys() instead of pci_virt_to_mem()
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: Stefan Roese <sr@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Aaron Williams <awilliams@marvell.com>
Cc: Chandrakala Chavva <cchavva@marvell.com>
2021-01-27 08:25:31 -05:00
..
2021-01-05 16:20:26 -05:00
2021-01-19 10:11:14 +02:00
2020-12-18 20:32:21 -07:00
2020-12-18 20:32:21 -07:00
2018-07-26 14:08:21 -05:00
2019-08-09 23:15:01 +02:00
2020-12-18 20:32:21 -07:00