[PATCH 3/6] POWERPC: move the generic cpm2 stuff to the powerpc
Sergei Shtylyov
sshtylyov at ru.mvista.com
Sun Aug 13 04:36:17 EST 2006
Hello.
Vitaly Bordug wrote:
> This moves the cpm2 common code and PIC stuff to the powerpc. Most of the files
> were just copied from ppc/, with minor tuning to make it compile, and, subsequently, work.
>
> Signed-off-by: Vitaly Bordug <vbordug at ru.mvista.com>
[...]
> diff --git a/include/asm-ppc/cpm2.h b/include/asm-ppc/cpm2.h
> index f6a7ff0..876974e 100644
> --- a/include/asm-ppc/cpm2.h
> +++ b/include/asm-ppc/cpm2.h
[...]
> @@ -1186,7 +1190,7 @@ #define PC3_DIRC1 (PC3_TXDAT)
> #define FCC_MEM_OFFSET(x) (CPM_FCC_SPECIAL_BASE + (x*128))
> #define FCC1_MEM_OFFSET FCC_MEM_OFFSET(0)
> #define FCC2_MEM_OFFSET FCC_MEM_OFFSET(1)
> -#define FCC2_MEM_OFFSET FCC_MEM_OFFSET(2)
> +#define FCC3_MEM_OFFSET FCC_MEM_OFFSET(2)
>
> #endif /* __CPM2__ */
> #endif /* __KERNEL__ */
Alas, this last hunk doesn't apply to powerpc.git. Shouldn't it be in some
other patch instead?
WBR, Sergei
More information about the Linuxppc-dev
mailing list