aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc/8xx_io/enet.c
diff options
context:
space:
mode:
authorJochen Friedrich <jochen@scram.de>2007-09-21 13:15:07 +0200
committerJochen Friedrich <jochen@scram.de>2007-09-25 20:48:00 +0200
commit1d7a8ee0ebcc26c98f21889fd900546ef2a02fa1 (patch)
tree8b62300f4799d199cce7cc83c568113f8c67d4db /arch/ppc/8xx_io/enet.c
parentc5552ca48b312880ba9111411c98abfe72d88ea9 (diff)
[PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem
cpm_dpram_addr returns physical memory of the DP RAM instead of iomapped virtual memory. As there usually is a 1:1 MMU map of the IMMR area, this is often not noticed. However, cpm_dpram_phys assumes this iomapped virtual memory and returns garbage on the 1:1 mapped memory causing CPM1 uart console to fail. This patch fixes the problem (copied from the powerpc tree). Signed-off-by: Jochen Friedrich <jochen@scram.de>
Diffstat (limited to 'arch/ppc/8xx_io/enet.c')
0 files changed, 0 insertions, 0 deletions