Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130549
b: refs/heads/master
c: 5d0932a
h: refs/heads/master
i:
  130547: 0d7fc2a
v: v3
  • Loading branch information
Alexander Duyck authored and David S. Miller committed Jan 31, 2009
1 parent 17ba581 commit 47a6ed1
Show file tree
Hide file tree
Showing 2 changed files with 10 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: ec54d7d6e40b04c16dfce0e41e506198a20c8645
refs/heads/master: 5d0932a5dd00d83df5d1e15eeffb6edf015a8579
11 changes: 9 additions & 2 deletions trunk/drivers/net/igb/e1000_82575.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,11 +699,18 @@ static s32 igb_check_for_link_82575(struct e1000_hw *hw)

/* SGMII link check is done through the PCS register. */
if ((hw->phy.media_type != e1000_media_type_copper) ||
(igb_sgmii_active_82575(hw)))
(igb_sgmii_active_82575(hw))) {
ret_val = igb_get_pcs_speed_and_duplex_82575(hw, &speed,
&duplex);
else
/*
* Use this flag to determine if link needs to be checked or
* not. If we have link clear the flag so that we do not
* continue to check for link.
*/
hw->mac.get_link_status = !hw->mac.serdes_has_link;
} else {
ret_val = igb_check_for_copper_link(hw);
}

return ret_val;
}
Expand Down

0 comments on commit 47a6ed1

Please sign in to comment.