Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321565
b: refs/heads/master
c: eca90f5
h: refs/heads/master
i:
  321563: 61de0ea
v: v3
  • Loading branch information
Tushar Dave authored and Peter P Waskiewicz Jr committed Aug 7, 2012
1 parent e9f5b44 commit d2d3797
Show file tree
Hide file tree
Showing 2 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: b7ec70be01a87f2c85df3ae11046e74f9b67e323
refs/heads/master: eca90f550494171f54f8a700caee65ec16455a5b
6 changes: 4 additions & 2 deletions trunk/drivers/net/ethernet/intel/e1000e/82571.c
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ static s32 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, bool active)
**/
static s32 e1000_reset_hw_82571(struct e1000_hw *hw)
{
u32 ctrl, ctrl_ext, eecd;
u32 ctrl, ctrl_ext, eecd, tctl;
s32 ret_val;

/*
Expand All @@ -1014,7 +1014,9 @@ static s32 e1000_reset_hw_82571(struct e1000_hw *hw)
ew32(IMC, 0xffffffff);

ew32(RCTL, 0);
ew32(TCTL, E1000_TCTL_PSP);
tctl = er32(TCTL);
tctl &= ~E1000_TCTL_EN;
ew32(TCTL, tctl);
e1e_flush();

usleep_range(10000, 20000);
Expand Down

0 comments on commit d2d3797

Please sign in to comment.