Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290478
b: refs/heads/master
c: b20caa8
h: refs/heads/master
v: v3
  • Loading branch information
Bruce Allan authored and Jeff Kirsher committed Feb 25, 2012
1 parent 352a486 commit 40ca7b7
Show file tree
Hide file tree
Showing 3 changed files with 5 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: b2a50e1a1d16d8e377a0c540de36803197bde3fb
refs/heads/master: b20caa80e8c9b0180defb42678209dc0d6c229d2
4 changes: 3 additions & 1 deletion trunk/drivers/net/ethernet/intel/e1000e/mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,9 @@ s32 e1000e_set_fc_watermarks(struct e1000_hw *hw)
* XON frames.
*/
fcrtl = hw->fc.low_water;
fcrtl |= E1000_FCRTL_XONE;
if (hw->fc.send_xon)
fcrtl |= E1000_FCRTL_XONE;

fcrth = hw->fc.high_water;
}
ew32(FCRTL, fcrtl);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/intel/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -3464,7 +3464,7 @@ void e1000e_reset(struct e1000_adapter *adapter)
fc->pause_time = 0xFFFF;
else
fc->pause_time = E1000_FC_PAUSE_TIME;
fc->send_xon = 1;
fc->send_xon = true;
fc->current_mode = fc->requested_mode;

switch (hw->mac.type) {
Expand Down

0 comments on commit 40ca7b7

Please sign in to comment.