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-14 22:11:34 -05:00
2015-12-17 08:52:18 +08:00
2016-01-14 22:11:34 -05:00
2016-01-13 21:05:18 -05:00
2015-04-18 11:11:33 -06:00
2016-01-14 22:11:34 -05:00
2015-11-12 08:26:59 +08:00
2015-04-18 11:11:33 -06:00
2016-01-14 22:11:34 -05:00
2016-01-14 22:11:34 -05:00
2014-08-30 07:46:39 -04:00
2014-08-30 07:46:39 -04:00
2015-05-19 13:33:21 -05:00
2014-08-30 07:46:39 -04:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2016-01-14 22:11:34 -05:00
2015-04-18 11:11:33 -06:00
2016-01-14 22:11:34 -05:00
2015-04-18 11:11:33 -06:00
2016-01-14 22:11:34 -05:00
2015-04-18 11:11:37 -06:00
2016-01-14 22:11:34 -05:00
2015-04-18 11:11:33 -06:00
2015-12-21 20:01:57 -06:00
2016-01-13 21:05:16 -05:00
2015-12-21 19:59:34 -06:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2016-01-03 15:28:06 +01:00
2015-04-18 11:11:33 -06:00
2016-01-14 22:11:34 -05:00
2016-01-14 22:11:34 -05:00
2016-01-14 22:11:34 -05:00
2015-05-20 11:07:27 -05:00
2016-01-14 22:11:34 -05:00
2015-12-22 04:42:27 +01:00
2016-01-14 22:11:34 -05:00
2015-04-18 11:11:33 -06:00
2015-05-19 13:33:21 -05:00
2014-04-18 10:42:30 -04:00
2016-01-14 22:11:34 -05:00
2015-08-11 13:27:15 -05:00
2015-08-11 13:27:15 -05:00
2015-04-23 08:55:57 -07:00
2015-04-18 11:11:33 -06:00
2016-01-14 22:11:34 -05:00
2016-01-14 22:11:34 -05:00
2016-01-14 22:11:34 -05:00
2016-01-14 14:08:59 +01:00
2015-04-18 11:11:33 -06:00
2016-01-14 22:11:34 -05:00
2015-11-05 08:22:21 +01:00
2015-04-18 11:11:33 -06:00
2016-01-14 22:11:34 -05:00
2015-09-09 07:48:03 -06:00
2016-01-16 21:06:46 +01:00
2015-04-18 11:11:33 -06:00
2016-01-12 10:19:09 -07:00
2015-07-21 17:39:40 -06:00
2016-01-07 12:18:58 -07:00
2016-01-14 22:11:34 -05:00
2014-11-04 09:27:40 +09:00
2015-04-18 11:11:33 -06:00
2015-09-11 17:14:43 -04:00
2015-09-11 17:14:43 -04:00
2015-07-21 17:39:40 -06:00
2016-01-14 22:11:34 -05:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2015-11-19 20:27:50 -07:00
2015-09-21 08:29:48 -07:00
2015-04-18 11:11:33 -06:00
2015-08-18 13:46:05 -04:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2015-01-21 10:30:36 +01:00
2015-12-18 13:15:58 +01:00