commit | bc8ee596afe8f35b379f87575c46d800dd8e7e68 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Tue Nov 01 16:32:25 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 02 15:17:09 2016 -0400 |
tree | f230db0a33ec8f63663cce5c787310db9505cf2b | |
parent | 55454e9e5c92471acebf0fe7262f5de4719db8f0 [diff] |
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>