1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00
Files
u-boot-megous/drivers/net
Masahiro Yamada da384a9d76 net: rename and refactor eth_rand_ethaddr() function
Some functions in include/net.h are ported from
include/linux/etherdevice.h of Linux Kernel.

For ex.
  is_zero_ether_addr()
  is_multicast_ether_addr()
  is_broadcast_ether_addr()
  is_valid_ether_addr();

So, we should use the same function name as that of Linux Kernel,
eth_rand_addr(), for consistency.

Besides, eth_rand_addr() has been implemented as an inline function.
So it should not be surrounded by #ifdef CONFIG_RANDOM_MACADDR.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2014-05-12 15:19:46 -04:00
..
2013-04-01 16:33:52 -04:00
2014-04-18 16:14:10 -04:00
2014-04-18 10:42:30 -04:00
2014-04-20 13:16:43 +02:00
2013-04-01 16:33:52 -04:00
2013-11-22 16:50:54 -06:00
2013-12-18 16:49:45 +09:00
2014-02-21 11:33:18 -05:00
2012-11-04 11:00:36 -07:00