]> 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)
commit36ce3c42fdc37416b5d19d1941e0f0d7e6f84924
tree3cd05429d28f63fbe2ddfa3860cf39be5485d0cb
parent3dcb59f6dd1084e49e170292d83ffb1f2e0399b8
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