]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethtool: export conversion function between u32 and link mode
authorPhilippe Reynes <tremyfr@gmail.com>
Thu, 14 Apr 2016 22:34:59 +0000 (00:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Apr 2016 18:45:08 +0000 (14:45 -0400)
commit7e6dac94c8de2f5534491e3ae5060425fa397740
tree3cd05429d28f63fbe2ddfa3860cf39be5485d0cb
parent3ec9e4ba6405c6996ed956c9cb4653da83e753f2
net: ethtool: export conversion function between u32 and link mode

The function convert_legacy_u32_to_link_mode and
convert_link_mode_to_legacy_u32 may be used outside
of ethtool.c. We rename them to ethtool_convert_...
and export them, so we could use them in others
drivers and modules.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ethtool.h
net/core/ethtool.c