From: Florian Fainelli Date: Mon, 8 Dec 2014 23:59:18 +0000 (-0800) Subject: net: systemport: allow changing MAC address X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb3b596d3c4a8b6e3867079794856637db4e5283;p=pandora-kernel.git net: systemport: allow changing MAC address Hook a ndo_set_mac_address callback, update the internal Ethernet MAC in the netdevice structure, and finally write that address down to the UniMAC registers. If the interface is down, and most likely clock gated, we do not update the registers but just the local copy, such that next ndo_open() call will effectively write down the address. Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed