]> git.baikalelectronics.ru Git - kernel.git/commit
net: mii: add generic function to support ksetting support
authorPhilippe Reynes <tremyfr@gmail.com>
Tue, 1 Nov 2016 15:32:25 +0000 (16:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Nov 2016 19:17:09 +0000 (15:17 -0400)
commitfa5220f0914b6e8c49b6300de4c27c0efb017684
treef230db0a33ec8f63663cce5c787310db9505cf2b
parent9e8c93dca8316f1c8a18979a1fc4b952e598b083
net: mii: add generic function to support ksetting support

The old ethtool api (get_setting and set_setting) has generic mii
functions mii_ethtool_sset and mii_ethtool_gset.

To support the new ethtool api ({get|set}_link_ksettings), we add
two generics mii function mii_ethtool_{get|set}_link_ksettings_get.

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