[PATCH] Add MPC8641 HPCN Device Tree Source file.

Sergei Shtylyov sshtylyov at ru.mvista.com
Fri Aug 4 01:49:14 EST 2006


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



More information about the Linuxppc-dev mailing list