From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imap.sh.mvista.com (unknown [63.81.120.155]) by ozlabs.org (Postfix) with ESMTP id D255167A2E for ; Fri, 4 Aug 2006 01:48:01 +1000 (EST) Message-ID: <44D21AFA.2010900@ru.mvista.com> Date: Thu, 03 Aug 2006 19:49:14 +0400 From: Sergei Shtylyov MIME-Version: 1.0 To: Kumar Gala Subject: Re: [PATCH] Add MPC8641 HPCN Device Tree Source file. References: <1154544503.19994.42.camel@cashmere.sps.mot.com> <9C1B15CC-6984-433D-8A1E-F856567B1AD2@kernel.crashing.org> <1154549483.19994.46.camel@cashmere.sps.mot.com> <1154550970.19994.57.camel@cashmere.sps.mot.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Cc: "linuxppc-dev@ozlabs.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello. Kumar Gala wrote: > Here is the code modification to fsl_soc.c, I'm sure we can get this > fixed push into 2.6.18 if desired. > if(mac_addr = get_property(np, "address", NULL)) > memcpy(gfar_data.mac_addr, mac_addr, 6); > > if(mac_addr = get_property(np, "local-mac-address", NULL); > memcpy(gfar_data.mac_addr, mac_addr, 6); BTW, doesn't it also have sense to convert gianfar.c to using of_device instead of platform_device? WBR, Sergei