aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c
diff options
context:
space:
mode:
authorWei Yang <w90p710@gmail.com>2012-07-25 02:13:59 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-25 15:24:13 -0700
commit6d8d2dd8ad92ec89f540e73b7a46c5835a7a06a6 (patch)
treef28674234bae0bfb9c6da669a3f85fb9abe6cafb /drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c
parentqeth: repair crash in qeth_l3_vlan_rx_kill_vid() (diff)
downloadlinux-dev-6d8d2dd8ad92ec89f540e73b7a46c5835a7a06a6.tar.xz
linux-dev-6d8d2dd8ad92ec89f540e73b7a46c5835a7a06a6.zip
net/pch_gpe: Cannot disable ethernet autonegation
When attempting to disable ethernet autonegation via ethtool, the pch_gpe driver will set software reset bit of PHY chip, But control register of PHY chip of FRI2 will reenable ethernet autonegation. Signed-off-by: Wei Yang <w90p710@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c')
-rw-r--r--drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c
index 9dbf38c10a68..24b787be6062 100644
--- a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c
+++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c
@@ -129,7 +129,6 @@ static int pch_gbe_set_settings(struct net_device *netdev,
hw->mac.link_duplex = ecmd->duplex;
hw->phy.autoneg_advertised = ecmd->advertising;
hw->mac.autoneg = ecmd->autoneg;
- pch_gbe_hal_phy_sw_reset(hw);
/* reset the link */
if (netif_running(adapter->netdev)) {