Return-Path: Received: from mail-qy0-f110.google.com (mail-qy0-f110.google.com [209.85.221.110]) by ozlabs.org (Postfix) with ESMTP id B1505DE0A6 for ; Thu, 16 Apr 2009 01:59:44 +1000 (EST) Received: by qyk8 with SMTP id 8so5866641qyk.17 for ; Wed, 15 Apr 2009 08:59:42 -0700 (PDT) MIME-Version: 1.0 Sender: timur.tabi@gmail.com In-Reply-To: <1239810564-8403-1-git-send-email-galak@kernel.crashing.org> References: <1239810564-8403-1-git-send-email-galak@kernel.crashing.org> Date: Wed, 15 Apr 2009 10:59:42 -0500 Message-ID: Subject: Re: [PATCH] powerpc/85xx: Add P2020DS board support From: Timur Tabi To: Kumar Gala Content-Type: text/plain; charset=ISO-8859-1 Cc: linuxppc-dev@ozlabs.org, Ted Peters List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Apr 15, 2009 at 10:49 AM, Kumar Gala wr= ote: > --- a/arch/powerpc/platforms/fsl_uli1575.c > +++ b/arch/powerpc/platforms/fsl_uli1575.c > @@ -57,7 +57,7 @@ static void __devinit early_uli5249(struct pci_dev *dev= ) > =A0 =A0 =A0 =A0unsigned char temp; > > =A0 =A0 =A0 =A0if (!machine_is(mpc86xx_hpcn) && !machine_is(mpc8544_ds) &= & > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 !machine_is(mpc8572_ds)) > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 !machine_is(mpc8572_ds) && = !machine_is(p2020_ds)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0return; Are we going to need to update this function every time we add a new board that has an ULI 1575 on it? Can't we define some property in the device tree to handle this? --=20 Timur Tabi Linux kernel developer at Freescale