diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2015-03-20 16:49:42 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-20 20:33:56 (GMT) |
commit | d9663c8c21491267c064cdb028b767404a39d7c7 (patch) | |
tree | 4c102cc2dd1985e6cc48bd6b0af5ce8a5c3cbc53 /drivers/net/ethernet/amd/xgbe | |
parent | ebd6af092a221fc38e28fbb7995c0c7e3f0df875 (diff) | |
download | linux-d9663c8c21491267c064cdb028b767404a39d7c7.tar.xz |
amd-xgbe-phy: Use phydev advertising field vs supported
With ethtool being able to control what is advertised, the advertising
field is what should be used for priming the auto-negotiation registers
and for various other checks, instead of the supported field.
Also, move the initial setting of the supported and advertising fields
into the probe function so that they are not reset each time the device
is brought up, thus allowing the user to set as desired before bringing
the device up.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd/xgbe')
0 files changed, 0 insertions, 0 deletions