Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265597
b: refs/heads/master
c: abcc80d
h: refs/heads/master
i:
  265595: aee2e65
v: v3
  • Loading branch information
Emil Tantilov authored and Jeff Kirsher committed Aug 29, 2011
1 parent e98eb24 commit 19cc37c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: 53f096de3a2d04dc034b9dbcb160c6448960309d
refs/heads/master: abcc80d26cc0408cad520471a1ada6aa421921ab
10 changes: 7 additions & 3 deletions trunk/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,12 +324,16 @@ static int ixgbe_set_settings(struct net_device *netdev,

if ((hw->phy.media_type == ixgbe_media_type_copper) ||
(hw->phy.multispeed_fiber)) {
/* 10000/copper and 1000/copper must autoneg
* this function does not support any duplex forcing, but can
* limit the advertising of the adapter to only 10000 or 1000 */
/*
* this function does not support duplex forcing, but can
* limit the advertising of the adapter to the specified speed
*/
if (ecmd->autoneg == AUTONEG_DISABLE)
return -EINVAL;

if (ecmd->advertising & ~ecmd->supported)
return -EINVAL;

old = hw->phy.autoneg_advertised;
advertised = 0;
if (ecmd->advertising & ADVERTISED_10000baseT_Full)
Expand Down

0 comments on commit 19cc37c

Please sign in to comment.