net: ethernet: ucc_geth: fix MEM_PART_MURAM mode
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 7 Feb 2017 09:05:09 +0000 (10:05 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 26 Aug 2017 01:14:04 +0000 (02:14 +0100)
commit36c08d834f3d2a3b0b4c897105dd12e7c0c25217
tree6584ecf32d4956fa7c7863b40586d818686cbd7f
parent4d34a500e77add127cdee5b4778079596a9ebabe
net: ethernet: ucc_geth: fix MEM_PART_MURAM mode

commit 8b8642af15ed14b9a7a34d3401afbcc274533e13 upstream.

Since commit 5093bb965a163 ("powerpc/QE: switch to the cpm_muram
implementation"), muram area is not part of immrbar mapping anymore
so immrbar_virt_to_phys() is not usable anymore.

Fixes: 5093bb965a163 ("powerpc/QE: switch to the cpm_muram implementation")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Li Yang <pku.leo@gmail.com>
Signed-off-by: Scott Wood <oss@buserror.net>
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/powerpc/include/asm/qe.h
drivers/net/ethernet/freescale/ucc_geth.c