Re: [PATCH] net: cpsw: fix obtaining mac address for am3517
From: Tony Lindgren
Date: Fri Oct 21 2016 - 02:39:03 EST
* Jeroen Hofstee <jhofstee@xxxxxxxxxxxxxxxxx> [161020 12:57]:
> Commit b6745f6e4e63 ("drivers: net: cpsw: davinci_emac: move reading mac
> id to common file") did not only move the code for an am3517, it also
> added the slave parameter, resulting in a invalid (all zero) mac address
> being returned. So change it back to always read from slave zero, so it
> works again.
Hmm doesn't this now break it for cpsw with two instances? We may need
am3517 specific quirk flag instead?
Regards,
Tony