Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183702
b: refs/heads/master
c: ecf1410
h: refs/heads/master
v: v3
  • Loading branch information
Matt Carlson authored and David S. Miller committed Jan 21, 2010
1 parent bf5b09f commit ff5489b
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 9b952f51d019db37276bdb2924e776ca09132fc1
refs/heads/master: ecf1410b9d70b3034e5955e92bb0c3e02ff21e9c
8 changes: 7 additions & 1 deletion trunk/drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,9 @@ static void tg3_phy_toggle_apd(struct tg3 *tp, bool enable)
{
u32 reg;

if (!(tp->tg3_flags2 & TG3_FLG2_5705_PLUS))
if (!(tp->tg3_flags2 & TG3_FLG2_5705_PLUS) ||
(GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5717 &&
(tp->tg3_flags2 & TG3_FLG2_MII_SERDES)))
return;

if (tp->tg3_flags3 & TG3_FLG3_PHY_IS_FET) {
Expand Down Expand Up @@ -1935,6 +1937,10 @@ static int tg3_phy_reset(struct tg3 *tp)
}
}

if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5717 &&
(tp->tg3_flags2 & TG3_FLG2_MII_SERDES))
return 0;

tg3_phy_apply_otp(tp);

if (tp->tg3_flags3 & TG3_FLG3_PHY_ENABLE_APD)
Expand Down

0 comments on commit ff5489b

Please sign in to comment.