Don't assume that the MAC address of egiga0 rsp. egiga1 is ethaddr rsp.
eth1addr. If there is only a egiga1 device, u-boot will enumerate it as
device 0 and therefore the MAC address is set with the environmen varibale
ethaddr.
Signed-off-by: Michael Walle
---
drivers/net/mvgbe.c | 13 +++-
> -Original Message-
> From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de]
> On Behalf Of Michael Walle
> Sent: Friday, October 07, 2011 3:53 AM
> To: u-boot@lists.denx.de
> Subject: [U-Boot] [PATCH] mvgbe: fix network device indices
>
> D
Am Fr, 7.10.2011, 10:26 schrieb Prafulla Wadaskar:
>> -Original Message-
>> From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de]
>> On Behalf Of Michael Walle
>> Sent: Friday, October 07, 2011 3:53 AM
>> To: u-boot@lists.denx.de
>>
On Thursday 06 October 2011 18:23:22 Michael Walle wrote:
> --- a/net/eth.c
> +++ b/net/eth.c
>
> +int eth_setenv_enetaddr_by_index(const char *base_name, int index,
> + const uchar *enetaddr)
> +{
> + char enetvar[32];
> + sprintf(enetvar, index ? "%s%daddr" :
Sent: Friday, October 07, 2011 3:53 AM
> >> To: u-boot@lists.denx.de
> >> Subject: [U-Boot] [PATCH] mvgbe: fix network device indices
> >>
> >> Don't assume that the MAC address of egiga0 rsp. egiga1 is ethaddr rsp.
> >> eth1addr. If there is only
> -Original Message-
> From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de]
> On Behalf Of Michael Walle
> Sent: Friday, October 07, 2011 3:53 AM
> To: u-boot@lists.denx.de
> Subject: [U-Boot] [PATCH] mvgbe: fix network device indices
>
> D
Am Freitag 21 Oktober 2011, 10:09:15 schrieben Sie:
> > -Original Message-
> > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de]
> > On Behalf Of Michael Walle
> > Sent: Friday, October 07, 2011 3:53 AM
> > To: u-boot@lists.denx.de
>
> -Original Message-
> From: Michael Walle [mailto:mich...@walle.cc]
> Sent: Wednesday, October 26, 2011 2:41 AM
> To: Prafulla Wadaskar
> Cc: u-boot@lists.denx.de; Mike Frysinger
> Subject: Re: [U-Boot] [PATCH] mvgbe: fix network device indices
>
> Am Freitag 2
Am Do, 27.10.2011, 11:12 schrieb Prafulla Wadaskar:
>> > If I understood it correctly,
>> > In current implementation, if only egiga1 device is enabled
>> on the board,
>> > then it will assign MAC address associated with environment
>> variable
>> > "ethaddr".
>> yes but the current mvgbe driver w
9 matches
Mail list logo