[PATCH 4/6] [POWERPC] 8xx: powerpc port of core CPM, CPM PIC, etc.

Vitaly Bordug vbordug at ru.mvista.com
Tue Dec 12 05:33:26 EST 2006


On Mon, 11 Dec 2006 12:20:41 -0600
Olof Johansson <olof at lixom.net> wrote:

> Hi,
> 
> On Mon, 11 Dec 2006 19:28:48 +0300 Vitaly Bordug <vbordug at ru.mvista.com> wrote:
> 
> > This covers common CPM access functions, CPM interrupt controller code,
> > micropatch and a few compatibility things to kee the same driver base
> > working with arch/ppc. This version is refined with all the comments
> > (mostly PIC-related) addressed.
> > 
> > Signed-off-by: Vitaly Bordug <vbordug at ru.mvista.com>
> > ---
> > 
> >  arch/powerpc/sysdev/Makefile     |    2 
> >  arch/powerpc/sysdev/commproc.c   |  398 ++++++++++++++++++++
> >  arch/powerpc/sysdev/micropatch.c |  743 ++++++++++++++++++++++++++++++++++++++
> >  arch/powerpc/sysdev/mpc8xx_pic.c |  197 ++++++++++
> >  arch/powerpc/sysdev/mpc8xx_pic.h |   12 +
> >  include/asm-powerpc/fs_pd.h      |   44 ++
> >  include/asm-powerpc/mpc8xx.h     |   24 +
> >  include/asm-powerpc/time.h       |    2 
> >  8 files changed, 1412 insertions(+), 10 deletions(-)
> 
> Are these devices common for more platforms than 8xx? The 8xx in the
> filenames seems to indicate that they're not.
> 
More or less, this is a port from arch/ppc, and cpm2 stuff which is pretty much 
alike residing in sysdev. Maybe pic stuff should be renamed to cpm_pic, but IMO
the upper name is less confusing at the current point.

> If so, shouldn't the drivers go under platforms/8xx instead?
> 
Maybe, but not at the moment: for this code I'd like to keep coherency with arch/ppc
in case of something missed/ etc.

-- 
Sincerely, 
Vitaly



More information about the Linuxppc-dev mailing list