[PATCH4/4] [POWERPC] Fix cpm_uart driver
Jochen Friedrich
jochen at scram.de
Mon Sep 24 06:17:32 EST 2007
In cpm_uart_core, functions cpm_uart_init_bd and cpm_uart_init_scc
an offset into DP RAM is calculated by substracting a physical
memory constant from an virtual address. This patch fixes the
problem by converting the virtual address into a physical
first.
Signed-off-by: Jochen Friedrich <jochen at scram.de>
---
drivers/serial/cpm_uart/cpm_uart_core.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2c5cf6868e9aa6eadea285e524d88859cc5e54fb.diff
Type: text/x-patch
Size: 1298 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070923/a40c19a9/attachment.bin
More information about the Linuxppc-embedded
mailing list