Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273526
b: refs/heads/master
c: d5a0e36
h: refs/heads/master
v: v3
  • Loading branch information
Kantecki, Tomasz authored and Jeff Kirsher committed Nov 2, 2011
1 parent ac06546 commit 89650b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 243559f436f26b571ea3a4e70ff082892dc58f16
refs/heads/master: d5a0e3640c05b7d07c548f9f8f986dbb87cfad98
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/intel/igb/e1000_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ s32 igb_get_cable_length_m88_gen2(struct e1000_hw *hw)
if (ret_val)
goto out;

is_cm = !(phy_data & I347AT4_PCDC_CABLE_LENGTH_UNIT);
is_cm = !(phy_data2 & I347AT4_PCDC_CABLE_LENGTH_UNIT);

/* Populate the phy structure with cable length in meters */
phy->min_cable_length = phy_data / (is_cm ? 100 : 1);
Expand Down

0 comments on commit 89650b5

Please sign in to comment.