From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imap.sh.mvista.com (unknown [63.81.120.155]) by ozlabs.org (Postfix) with ESMTP id 59FE367C00 for ; Sun, 13 Aug 2006 04:35:11 +1000 (EST) Message-ID: <44DE1FA1.2040604@ru.mvista.com> Date: Sat, 12 Aug 2006 22:36:17 +0400 From: Sergei Shtylyov MIME-Version: 1.0 To: Vitaly Bordug Subject: Re: [PATCH 3/6] POWERPC: move the generic cpm2 stuff to the powerpc References: <20060812000655.6186.42738.stgit@localhost.localdomain> <20060812001013.6186.41337.stgit@localhost.localdomain> In-Reply-To: <20060812001013.6186.41337.stgit@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Cc: linuxppc-dev , Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 [...] > 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