[PATCH4/4] [POWERPC] Fix cpm_uart driver
Dan Malek
dan at embeddedalley.com
Tue Sep 25 05:16:05 EST 2007
On Sep 24, 2007, at 11:22 AM, Scott Wood wrote:
> cpmp is a physical address on arch/ppc?
No, it's a well known ioremaped() address
into the IMMR space. The only physical
addresses in any of the CPM/CPM2 are
those required to by the buffer descriptors.
There are DPRAM offsets, but they should
be just that, offsets from either a virtual
or physical base address as required.
Too many people screw around in this
CPM support code without fully understanding
the original implementation or its intended
use with the peripheral drivers. A "better
idea" often breaks all drivers except the one
that is being changed.
-- Dan
More information about the Linuxppc-embedded
mailing list