From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Iles Subject: Re: [PATCH 1/8] macb: unify at91 and avr32 platform data Date: Fri, 11 Mar 2011 08:56:05 +0000 Message-ID: <20110311085605.GK6198@pulham.picochip.com> References: <1299751843-9743-1-git-send-email-jamie@jamieiles.com> <1299751843-9743-2-git-send-email-jamie@jamieiles.com> <4D78CCBC.2010807@atmel.com> <20110310131724.GG6198@pulham.picochip.com> <20110311014140.GI9351@game.jcrosoft.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jamie Iles , Nicolas Ferre , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org To: Jean-Christophe PLAGNIOL-VILLARD Return-path: Received: from mail-bw0-f46.google.com ([209.85.214.46]:36631 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751298Ab1CKI4J (ORCPT ); Fri, 11 Mar 2011 03:56:09 -0500 Received: by bwz15 with SMTP id 15so2512514bwz.19 for ; Fri, 11 Mar 2011 00:56:08 -0800 (PST) Content-Disposition: inline In-Reply-To: <20110311014140.GI9351@game.jcrosoft.org> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Mar 11, 2011 at 02:41:40AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 13:17 Thu 10 Mar , Jamie Iles wrote: > > On Thu, Mar 10, 2011 at 02:06:04PM +0100, Nicolas Ferre wrote: > > > On 3/10/2011 11:10 AM, Jamie Iles : > > > > --- a/drivers/net/macb.c > > > > +++ b/drivers/net/macb.c > > > > @@ -18,12 +18,10 @@ > > > > #include > > > > #include > > > > #include > > > > +#include > > > > #include > > > > #include > > > > > > > > -#include > > > > -#include > > > > > > I did not bouble check but do we need no more cpu_is_ macros? > > > > No, I couldn't see any in there and it builds for all of the AT91 > > targets and all of the AVR32 ones that I tried. I can't see any macros > > in there that are likely to use cpu_is_* internally either. > > keep as we need to remove the #ifdef AT91 to cpu_is > > I've patch for this Is this for the user IO register where the value written is conditional on both RMII/MII and arch type? Jamie