Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150607
b: refs/heads/master
c: 37289d9
h: refs/heads/master
i:
  150605: 588cb20
  150603: deb4569
  150599: d665edd
  150591: 5b34939
v: v3
  • Loading branch information
Bruce Allan authored and David S. Miller committed Jun 3, 2009
1 parent 8aaf171 commit 8252018
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: a4f58f5455ba0efda36fb33c37074922d1527a10
refs/heads/master: 37289d9c1e72a186ea5f28bee79efeb1d4e7309c
9 changes: 7 additions & 2 deletions trunk/drivers/net/e1000e/ich8lan.c
Original file line number Diff line number Diff line change
Expand Up @@ -2348,8 +2348,13 @@ static s32 e1000_setup_link_ich8lan(struct e1000_hw *hw)
* the default flow control setting, so we explicitly
* set it to full.
*/
if (hw->fc.requested_mode == e1000_fc_default)
hw->fc.requested_mode = e1000_fc_full;
if (hw->fc.requested_mode == e1000_fc_default) {
/* Workaround h/w hang when Tx flow control enabled */
if (hw->mac.type == e1000_pchlan)
hw->fc.requested_mode = e1000_fc_rx_pause;
else
hw->fc.requested_mode = e1000_fc_full;
}

/*
* Save off the requested flow control mode for use later. Depending
Expand Down

0 comments on commit 8252018

Please sign in to comment.