]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "net: core: 'ethtool' issue with querying phy settings"
authorDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2015 21:43:50 +0000 (14:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2015 21:43:50 +0000 (14:43 -0700)
commitbbd36cbba5bf427432b391793adf513dd7cbd412
tree7ddf23ada91fcd6057b951a7d61ef39fed8e63ef
parent9764523195d27f68ba0b29d6d98d1874ac8a7378
Revert "net: core: 'ethtool' issue with querying phy settings"

This reverts commit 30a3e8813e0e91234a1bd0e5620273d8aef1ab39.

It isn't right, ethtool is meant to manage one PHY instance
per netdevice at a time, and this is selected by the SET
command.  Therefore by definition the GET command must only
return the settings for the configured and selected PHY.

Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/ethtool.c