Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202681
b: refs/heads/master
c: 57d8b88
h: refs/heads/master
i:
  202679: a9b237f
v: v3
  • Loading branch information
Matt Carlson authored and David S. Miller committed Jun 7, 2010
1 parent 24ab38f commit 8240226
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 2430b031be8d3eb57f22f2df6fb3784564109db0
refs/heads/master: 57d8b88030ca9f295bb72ef65228c6d86bed22f6
6 changes: 5 additions & 1 deletion trunk/drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -4206,6 +4206,8 @@ static int tg3_setup_fiber_mii_phy(struct tg3 *tp, int force_reset)
current_duplex = DUPLEX_FULL;
else
current_duplex = DUPLEX_HALF;
} else if (!(tp->tg3_flags2 & TG3_FLG2_5780_CLASS)) {
/* Link is up via parallel detect */
} else {
current_link_up = 0;
}
Expand Down Expand Up @@ -8531,8 +8533,10 @@ static void tg3_timer(unsigned long __opaque)
}
tg3_setup_phy(tp, 0);
}
} else if (tp->tg3_flags2 & TG3_FLG2_MII_SERDES)
} else if ((tp->tg3_flags2 & TG3_FLG2_MII_SERDES) &&
!(tp->tg3_flags2 & TG3_FLG2_5780_CLASS)) {
tg3_serdes_parallel_detect(tp);
}

tp->timer_counter = tp->timer_multiplier;
}
Expand Down

0 comments on commit 8240226

Please sign in to comment.