Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341850
b: refs/heads/master
c: 3576306
h: refs/heads/master
v: v3
  • Loading branch information
Nithin Nayak Sujir authored and David S. Miller committed Dec 4, 2012
1 parent b894ae6 commit b56d42f
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 682d7978aee072f411fc747d32954a8371dd7b1b
refs/heads/master: 357630668a638418d542d0e331c90c01a091a3f1
5 changes: 4 additions & 1 deletion trunk/drivers/net/ethernet/broadcom/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -6525,6 +6525,7 @@ static inline void tg3_netif_stop(struct tg3 *tp)
netif_tx_disable(tp->dev);
}

/* tp->lock must be held */
static inline void tg3_netif_start(struct tg3 *tp)
{
/* NOTE: unconditional netif_tx_wake_all_queues is only
Expand Down Expand Up @@ -16599,8 +16600,8 @@ static void tg3_io_resume(struct pci_dev *pdev)
tg3_full_lock(tp, 0);
tg3_flag_set(tp, INIT_COMPLETE);
err = tg3_restart_hw(tp, 1);
tg3_full_unlock(tp);
if (err) {
tg3_full_unlock(tp);
netdev_err(netdev, "Cannot restart hardware after reset.\n");
goto done;
}
Expand All @@ -16611,6 +16612,8 @@ static void tg3_io_resume(struct pci_dev *pdev)

tg3_netif_start(tp);

tg3_full_unlock(tp);

tg3_phy_start(tp);

done:
Expand Down

0 comments on commit b56d42f

Please sign in to comment.