Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44664
b: refs/heads/master
c: 24fcad6
h: refs/heads/master
v: v3
  • Loading branch information
Michael Chan authored and David S. Miller committed Dec 18, 2006
1 parent 6507cbb commit 9e8c4ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b54d5c610fc5ba191d28c356b81999e81d9b515
refs/heads/master: 24fcad6b3ca3bdbbb4614de3edc1ff16f594ba9a
4 changes: 4 additions & 0 deletions trunk/drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -7974,6 +7974,10 @@ static int tg3_set_settings(struct net_device *dev, struct ethtool_cmd *cmd)
tp->link_config.duplex = cmd->duplex;
}

tp->link_config.orig_speed = tp->link_config.speed;
tp->link_config.orig_duplex = tp->link_config.duplex;
tp->link_config.orig_autoneg = tp->link_config.autoneg;

if (netif_running(dev))
tg3_setup_phy(tp, 1);

Expand Down

0 comments on commit 9e8c4ac

Please sign in to comment.