Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231236
b: refs/heads/master
c: bbe9e63
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Hellstrom authored and David S. Miller committed Jan 14, 2011
1 parent 357c6d0 commit db7fbce
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: ad4650a89ac47bd153cbb76c3fd6eb1fa6f315b7
refs/heads/master: bbe9e637330abe55442aebe799425e224086959f
4 changes: 4 additions & 0 deletions trunk/drivers/net/greth.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ static int greth_open(struct net_device *dev)
dev_dbg(&dev->dev, " starting queue\n");
netif_start_queue(dev);

GRETH_REGSAVE(greth->regs->status, 0xFF);

napi_enable(&greth->napi);

greth_enable_irqs(greth);
Expand All @@ -371,7 +373,9 @@ static int greth_close(struct net_device *dev)

napi_disable(&greth->napi);

greth_disable_irqs(greth);
greth_disable_tx(greth);
greth_disable_rx(greth);

netif_stop_queue(dev);

Expand Down

0 comments on commit db7fbce

Please sign in to comment.