From: Steve Glendinning Date: Mon, 10 Dec 2012 01:01:19 +0000 (+0000) Subject: smsc75xx: only set mac address once on bind X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=481705a172a1fcd483d4a90963c7593964219273;p=pandora-kernel.git smsc75xx: only set mac address once on bind This patch changes when we decide what the device's MAC address is from per ifconfig up to once when the device is connected. Without this patch, a manually forced device MAC is overwritten on ifconfig down/up. Also devices that have no EEPROM are assigned a new random address on ifconfig down/up instead of persisting the same one. Signed-off-by: Steve Glendinning Reported-by: Robert Cunningham Cc: Bjorn Mork Cc: Dan Williams Signed-off-by: David S. Miller --- Reading git-diff-tree failed