]> err.no Git - linux-2.6/commit
[POWERPC] Fix cpm_uart driver
authorJochen Friedrich <jochen@scram.de>
Mon, 24 Sep 2007 16:54:41 +0000 (18:54 +0200)
committerJochen Friedrich <jochen@scram.de>
Tue, 25 Sep 2007 18:48:15 +0000 (20:48 +0200)
commitb15773a06e5feee192f83c578222b45d81d1edc9
tree9861192e356db8619f476d5b9a1c1814219b4236
parent7a6d44f79f60f2b106e2a820503fa7c1814a13d0
[POWERPC] Fix cpm_uart driver

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@scram.de>
drivers/serial/cpm_uart/cpm_uart_cpm1.h