From: Florian Fainelli Date: Sat, 28 Nov 2009 13:57:00 +0000 (+0000) Subject: ep93xx-eth: check for zero MAC address on probe, not on device open X-Git-Tag: v2.6.32~40^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c91c7ae84966f992429e1e128c4936f22b89064;p=pandora-kernel.git ep93xx-eth: check for zero MAC address on probe, not on device open If we happen to have registered the driver without passing a MAC address, we will print a zero MAC address and register the interface with this invalid address, this is confusin. This patch moves the checking of a valid ethernet address and the generation of a random one down from the open function to the probe function. Signed-off-by: Florian Fainelli Acked-by: Lennert Buytenhek Signed-off-by: David S. Miller --- Reading git-diff-tree failed