Searched hist:da384a9d7628c77140023e7c095f79ecfe5a4e2d (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/drivers/net/ |
H A D | ftmac110.c | diff da384a9d7628c77140023e7c095f79ecfe5a4e2d Fri Apr 18 05:09:48 CDT 2014 Masahiro Yamada <yamada.m@jp.panasonic.com> 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>
|
H A D | dm9000x.c | diff da384a9d7628c77140023e7c095f79ecfe5a4e2d Fri Apr 18 05:09:48 CDT 2014 Masahiro Yamada <yamada.m@jp.panasonic.com> 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>
|
/openbmc/u-boot/board/buffalo/lsxl/ |
H A D | lsxl.c | diff da384a9d7628c77140023e7c095f79ecfe5a4e2d Fri Apr 18 05:09:48 CDT 2014 Masahiro Yamada <yamada.m@jp.panasonic.com> 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>
|
/openbmc/u-boot/include/ |
H A D | net.h | diff da384a9d7628c77140023e7c095f79ecfe5a4e2d Fri Apr 18 05:09:48 CDT 2014 Masahiro Yamada <yamada.m@jp.panasonic.com> 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>
|