Files
u-boot/drivers/net
Daniel Schwierzeck df50b3b414 net: pcnet: refactor mapping of virtual addresses to physical ones
pci_virt_to_mem() uses virt_to_phys() to get the physical address.
But pci_virt_to_mem() is also called with uncached addresses which
is wrong according to the documentation of virt_to_phys().

Refactor the PCI_TO_MEM() macro to optionally map an uncached address
back to a cached one before calling pci_virt_to_mem().

Currently pcnet works because virt_to_phys() is incorrectly implemented
on MIPS. With the upcoming asm header file update for MIPS, the
virt_to_phys() implementation will be fixed. Thus this patch is needed
to keep pcnet working on MIPS Malta board.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
2016-01-16 21:06:46 +01:00
..
2016-01-13 21:05:16 -05:00
2014-04-18 10:42:30 -04:00
2015-08-11 13:27:15 -05:00
2015-08-11 13:27:15 -05:00
2016-01-14 14:08:59 +01:00
2015-11-05 08:22:21 +01:00
2016-01-07 12:18:58 -07:00
2015-09-11 17:14:43 -04:00
2015-09-11 17:14:43 -04:00