]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
amd-xgbe-phy: Use the phy_driver flags field
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Fri, 20 Mar 2015 16:49:53 +0000 (11:49 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2015 20:33:56 +0000 (16:33 -0400)
commit65f57cb152ea0ad464793927e79074eb6da0064a
treedd1985b787070b784b9de473b4fc444792a857a1
parentd9663c8c21491267c064cdb028b767404a39d7c7
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>
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c
drivers/net/phy/amd-xgbe-phy.c