lkml.org 
[lkml]   [2012]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 2/2] adi: adapt to eth_hw_addr_random() and changes in arch/blackfin
From
From: Danny Kukawka <danny.kukawka@bisect.de>
Date: Thu, 16 Feb 2012 18:09:31 +0100

> 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 <danny.kukawka@bisect.de>

Applied.


\
 
 \ /
  Last update: 2012-02-20 01:09    [W:0.079 / U:4.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site