[PATCH] powerpc/boot: cuboot: Fix up ethernet3 MAC address on MPC85xx
Nathaniel Case
ncase at xes-inc.com
Thu Jun 11 13:40:33 EST 2009
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.
--
Nate Case <ncase at xes-inc.com>
More information about the Linuxppc-dev
mailing list