Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376155
b: refs/heads/master
c: fb03a43
h: refs/heads/master
i:
  376153: 9880e5f
  376151: d20c38b
v: v3
  • Loading branch information
Nithin Sujir authored and David S. Miller committed May 22, 2013
1 parent 4a65e55 commit ba1ac27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 3ccfc1b1d2fa78f8ece83646027982916fcc794b
refs/heads/master: fb03a43f5fb42000dcc62d91138c1c24fca609b0
8 changes: 4 additions & 4 deletions trunk/drivers/net/ethernet/broadcom/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -8911,6 +8911,10 @@ static int tg3_chip_reset(struct tg3 *tp)
tg3_halt_cpu(tp, RX_CPU_BASE);
}

err = tg3_poll_fw(tp);
if (err)
return err;

tw32(GRC_MODE, tp->grc_mode);

if (tg3_chip_rev_id(tp) == CHIPREV_ID_5705_A0) {
Expand Down Expand Up @@ -8941,10 +8945,6 @@ static int tg3_chip_reset(struct tg3 *tp)

tg3_ape_unlock(tp, TG3_APE_LOCK_GRC);

err = tg3_poll_fw(tp);
if (err)
return err;

tg3_mdio_start(tp);

if (tg3_flag(tp, PCI_EXPRESS) &&
Expand Down

0 comments on commit ba1ac27

Please sign in to comment.