[PATCH] powerpc/boot: cuboot: Fix up ethernet3 MAC address on MPC85xx
Kumar Gala
galak at kernel.crashing.org
Thu Jun 11 13:44:01 EST 2009
On Jun 10, 2009, at 10:40 PM, Nathaniel Case wrote:
> On Wed, 10 Jun 2009 21:54:01 -0500, Kumar Gala <galak at kernel.crashing.org
> >
> wrote:
>>> #define TARGET_85xx
>>> +#define TARGET_HAS_ETH3
>>
>> This is problematic in that we'd be changing the memory layout of the
>> bd_t and not ALL 85xx's have HAS_ETH3 set.
>
> It shouldn't be problematic. The bi_enet3addr field is at the end
> of the
> structure on MPC85xx. The only fields after it in ppcboot.h are
> 4xx-specific
> fields. I believe the MAC addresses were placed at the end of the
> struct
> for
> this very reason.
ahh, good point... I'll add this detail to the commit message when I
commit this.
- k
More information about the Linuxppc-dev
mailing list