From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 31E38679FB for ; Tue, 11 Jul 2006 07:43:45 +1000 (EST) Subject: Re: ppc -> powerpc porting From: Benjamin Herrenschmidt To: Guennadi Liakhovetski In-Reply-To: References: <20060710214158.1d8dcf2c@vitb.ru.mvista.com> Content-Type: text/plain Date: Tue, 11 Jul 2006 07:43:37 +1000 Message-Id: <1152567817.1576.114.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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" 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.