[U-Boot] [PATCH] mvgbe: fix network device indices

Prafulla Wadaskar
2011-10-21T08:09:15Z

> -----Original Message-----
> From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de]
> On Behalf Of Michael Walle
> Sent: Friday, October 07, 2011 3:53 AM
> To: u-boot at 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 a egiga1 device, u-boot will enumerate it as
> device 0 and therefore the MAC address is set with the environment
> varibale
> ethaddr.

Hi

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".

This patch will make environment variable "egiga1" available in such case. Right?

If so, then this is not the case with only mvgbe, it is applicable for all network drivers.

I think this is okay, are there any issues following this standard structure at your end?

Regards..
Prafulla . . .