From: Danny Kukawka Date: Thu, 16 Feb 2012 07:09:31 +0000 (+0000) Subject: adi: adapt to eth_hw_addr_random() and changes in arch/blackfin X-Git-Tag: v3.4-rc1~177^2~248 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5055d2f236e1495d68c468eeb684fd5789673f1d;p=pandora-kernel.git adi: adapt to eth_hw_addr_random() and changes in arch/blackfin Adapt adi ethernet driver to changes in bfin_get_ether_addr() from arch/blackfin. bfin_get_ether_addr() returns now a state. Set a random mac address via new eth_hw_addr_random() in case the return value is not 0. Reset the state to NET_ADDR_PERM as soon as the MAC get changed via .ndo_set_mac_address. v2: change the logic to reduce unneeded checks Signed-off-by: Danny Kukawka Signed-off-by: David S. Miller --- Reading git-diff-tree failed