[PATCH#2 4/4] [POWERPC] Fix cpm_uart driver

Jochen Friedrich jochen at scram.de
Tue Sep 25 03:15:43 EST 2007


in cpm_uart_cpm1.h, DPRAM_BASE is assigned an address derived from cpmp.
On ARC=ppc, this is a physical address with 1:1 DMA mapping which can't
be used for arithmetric compare operations with virtual addresses
returned by cpm_dpram_addr. This patch changes the assignment to use
cpm_dpram_addr as well, like in cpm_uart_cpm2.h.

Signed-off-by: Jochen Friedrich <jochen at scram.de>
---
 drivers/serial/cpm_uart/cpm_uart_cpm1.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e99364db4224fcfaf74389d1b59ec0637d899c17.diff
Type: text/x-patch
Size: 452 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070924/c2d0cabe/attachment.bin 


More information about the Linuxppc-embedded mailing list