Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275732
b: refs/heads/master
c: c5b9b4e
h: refs/heads/master
v: v3
  • Loading branch information
Srinivas Kandagatla authored and David S. Miller committed Nov 17, 2011
1 parent e07d784 commit 3d1897e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bbc1754639f771cd2b515fed39b977549b373034
refs/heads/master: c5b9b4e4b9076089fe7f9d4f5d1f2bba776646d2
10 changes: 4 additions & 6 deletions trunk/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,12 +321,10 @@ static int stmmac_init_phy(struct net_device *dev)
}

/* Stop Advertising 1000BASE Capability if interface is not GMII */
if ((interface) && ((interface == PHY_INTERFACE_MODE_MII) ||
(interface == PHY_INTERFACE_MODE_RMII))) {
phydev->supported &= (PHY_BASIC_FEATURES | SUPPORTED_Pause |
SUPPORTED_Asym_Pause);
phydev->advertising = phydev->supported;
}
if ((interface == PHY_INTERFACE_MODE_MII) ||
(interface == PHY_INTERFACE_MODE_RMII))
phydev->advertising &= ~(SUPPORTED_1000baseT_Half |
SUPPORTED_1000baseT_Full);

/*
* Broken HW is sometimes missing the pull-up resistor on the
Expand Down

0 comments on commit 3d1897e

Please sign in to comment.