Subject: Re: ppc -> powerpc porting

From: Benjamin Herrenschmidt <[email-masked]>
Date: Tue, 11 Jul 2006 07:43:37 +1000

On Mon, 2006-07-10 at 21:43 +0200, Guennadi Liakhovetski wrote:
> On Mon, 10 Jul 2006, Vitaly Bordug wrote:
> 
> > On Mon, 10 Jul 2006 12:14:24 -0500
> > "Rune Torgersen" <[email-masked]> wrote:
> > 
> > > To make my life a little easier: Does anybody have a list of stuff to
> > > watch out for/need to do when porting a board from ppc to powerpc?
> > > The board uses a Freescale 8265 and runs under 2.6.17, using platfrom
> > > device support for accessing fs_enet driver.
> 
> Look at Documentation/powerpc/booting-without-of.txt - 

You guys be careful, if you use OpenPIC/MPIC, that there is an error in
that documentation for the interrupt specifier definition. I'll send an
updated documentation soon with some more details about the OF interrupt
tree, but in the meantime, the proper sense encoding for MPIC is:

 0 = rising edge
 1 = negative level
 2 = positive level
 3 = falling edge

Cheers,
Ben.