Re: [PATCH] davinci_emac: fixed setting MAC at init time

From: David Miller
Date: Thu Mar 01 2012 - 16:32:16 EST


From: Bas van den Berg <b.van.den.berg.nl@xxxxxxxxx>
Date: Thu, 1 Mar 2012 09:42:42 +0100

> Without this patch, the MAC number will show up as zero's until the interface
> is brought up for the first time. (eg. with ifconfig -a)
>
> Signed-off-by: Bas van den Berg <b.van.den.berg.nl@xxxxxxxxx>

Well then the copy (which is also unnecessarily by hand using a loop
instead of a memcpy call) in emac_dev_open() is redundant and should
be removed when you make this change.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/