aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/wiznet/w5300.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2012-08-22 21:28:19 +0000
committerDavid S. Miller <davem@davemloft.net>2012-08-24 13:30:27 -0400
commitd68bb7e1a65f2604156958ae03a556b6a207514b (patch)
tree651788a99d3ac199a4ca468384dd0ecdb5c14f7b /drivers/net/ethernet/wiznet/w5300.c
parentwimax/i2400m: use is_zero_ether_addr() instead of memcmp() (diff)
downloadlinux-dev-d68bb7e1a65f2604156958ae03a556b6a207514b.tar.xz
linux-dev-d68bb7e1a65f2604156958ae03a556b6a207514b.zip
w5100: using eth_hw_addr_random() for random MAC and set device flag
Using eth_hw_addr_random() to generate a random Ethernet address (MAC) to be used by a net device and set addr_assign_type. Not need to duplicating its implementation. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/wiznet/w5300.c')
0 files changed, 0 insertions, 0 deletions