[PATCH] Add MPC8641 HPCN Device Tree Source file.

Kumar Gala galak at kernel.crashing.org
Fri Aug 4 02:46:33 EST 2006


On Aug 3, 2006, at 10:49 AM, Sergei Shtylyov wrote:

> 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?

We can't do that until all consumers from arch/ppc are gone.

- k




More information about the Linuxppc-dev mailing list