Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349193
b: refs/heads/master
c: 9c13cb8
h: refs/heads/master
i:
  349191: 18e05a2
v: v3
  • Loading branch information
Nithin Nayak Sujir authored and David S. Miller committed Jan 15, 2013
1 parent 19e1144 commit a4c3a48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 47fb3a26e2f07a734876915bedc1053021fec860
refs/heads/master: 9c13cb8bb477a83b9a3c9e5a5478a4e21294a760
4 changes: 4 additions & 0 deletions trunk/drivers/net/ethernet/broadcom/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -6950,6 +6950,9 @@ static void tg3_poll_controller(struct net_device *dev)
int i;
struct tg3 *tp = netdev_priv(dev);

if (tg3_irq_sync(tp))
return;

for (i = 0; i < tp->irq_cnt; i++)
tg3_interrupt(tp->napi[i].irq_vec, &tp->napi[i]);
}
Expand Down Expand Up @@ -16367,6 +16370,7 @@ static int tg3_init_one(struct pci_dev *pdev,
tp->pm_cap = pm_cap;
tp->rx_mode = TG3_DEF_RX_MODE;
tp->tx_mode = TG3_DEF_TX_MODE;
tp->irq_sync = 1;

if (tg3_debug > 0)
tp->msg_enable = tg3_debug;
Expand Down

0 comments on commit a4c3a48

Please sign in to comment.