Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95901
b: refs/heads/master
c: 109115e
h: refs/heads/master
i:
  95899: c119d74
v: v3
  • Loading branch information
Matt Carlson authored and David S. Miller committed May 2, 2008
1 parent c932c59 commit 5a97cac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 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: fd1122a2593d0bbe19856e3943c859ebfe563583
refs/heads/master: 109115e1991824b88306b374b763d6857b292aeb
11 changes: 3 additions & 8 deletions trunk/drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -9570,14 +9570,9 @@ static int tg3_test_loopback(struct tg3 *tp)

/* Turn off link-based power management. */
cpmuctrl = tr32(TG3_CPMU_CTRL);
if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5784 ||
GET_CHIP_REV(tp->pci_chip_rev_id) == CHIPREV_5761_AX)
tw32(TG3_CPMU_CTRL,
cpmuctrl & ~(CPMU_CTRL_LINK_SPEED_MODE |
CPMU_CTRL_LINK_AWARE_MODE));
else
tw32(TG3_CPMU_CTRL,
cpmuctrl & ~CPMU_CTRL_LINK_AWARE_MODE);
tw32(TG3_CPMU_CTRL,
cpmuctrl & ~(CPMU_CTRL_LINK_SPEED_MODE |
CPMU_CTRL_LINK_AWARE_MODE));
}

if (tg3_run_loopback(tp, TG3_MAC_LOOPBACK))
Expand Down

0 comments on commit 5a97cac

Please sign in to comment.