diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2015-03-20 12:49:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-20 16:33:56 -0400 |
commit | 65f57cb152ea0ad464793927e79074eb6da0064a (patch) | |
tree | dd1985b787070b784b9de473b4fc444792a857a1 /drivers/net/phy | |
parent | d9663c8c21491267c064cdb028b767404a39d7c7 (diff) |
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/phy')
-rw-r--r-- | drivers/net/phy/amd-xgbe-phy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/amd-xgbe-phy.c b/drivers/net/phy/amd-xgbe-phy.c index acb444928c76..4b95caf08aa9 100644 --- a/drivers/net/phy/amd-xgbe-phy.c +++ b/drivers/net/phy/amd-xgbe-phy.c | |||
@@ -1816,6 +1816,7 @@ static struct phy_driver amd_xgbe_phy_driver[] = { | |||
1816 | .phy_id_mask = XGBE_PHY_MASK, | 1816 | .phy_id_mask = XGBE_PHY_MASK, |
1817 | .name = "AMD XGBE PHY", | 1817 | .name = "AMD XGBE PHY", |
1818 | .features = 0, | 1818 | .features = 0, |
1819 | .flags = PHY_IS_INTERNAL, | ||
1819 | .probe = amd_xgbe_phy_probe, | 1820 | .probe = amd_xgbe_phy_probe, |
1820 | .remove = amd_xgbe_phy_remove, | 1821 | .remove = amd_xgbe_phy_remove, |
1821 | .soft_reset = amd_xgbe_phy_soft_reset, | 1822 | .soft_reset = amd_xgbe_phy_soft_reset, |