diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2015-03-20 16:49:53 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-20 20:33:56 (GMT) |
commit | 65f57cb152ea0ad464793927e79074eb6da0064a (patch) | |
tree | dd1985b787070b784b9de473b4fc444792a857a1 /drivers/net/ethernet | |
parent | d9663c8c21491267c064cdb028b767404a39d7c7 (diff) | |
download | linux-65f57cb152ea0ad464793927e79074eb6da0064a.tar.xz |
amd-xgbe-phy: Use the phy_driver flags field
Remove the setting of the transceiver type when retrieving the device
settings using ethtool and instead set the transceiver type in the
phy_driver structure flags field. Change the transceiver type to be
internal, also.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c b/drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c index ebf4893..43e5571 100644 --- a/drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c +++ b/drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c @@ -291,7 +291,6 @@ static int xgbe_get_settings(struct net_device *netdev, return -ENODEV; ret = phy_ethtool_gset(pdata->phydev, cmd); - cmd->transceiver = XCVR_EXTERNAL; DBGPR("<--xgbe_get_settings\n"); |