Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71378
b: refs/heads/master
c: 6ad6c75
h: refs/heads/master
v: v3
  • Loading branch information
Don Fry authored and Jeff Garzik committed Oct 18, 2007
1 parent 8b4e0af commit 4057c53
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: feff348fc0fe06870a8ec05e78af8ed5cc4c2bdf
refs/heads/master: 6ad6c75626cf8b69cd28ae0a81227503a7c3966e
4 changes: 4 additions & 0 deletions trunk/drivers/net/pcnet32.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,9 @@ static struct pcnet32_access pcnet32_dwio = {

static void pcnet32_netif_stop(struct net_device *dev)
{
#ifdef CONFIG_PCNET32_NAPI
struct pcnet32_private *lp = netdev_priv(dev);
#endif
dev->trans_start = jiffies;
#ifdef CONFIG_PCNET32_NAPI
napi_disable(&lp->napi);
Expand All @@ -452,7 +454,9 @@ static void pcnet32_netif_stop(struct net_device *dev)

static void pcnet32_netif_start(struct net_device *dev)
{
#ifdef CONFIG_PCNET32_NAPI
struct pcnet32_private *lp = netdev_priv(dev);
#endif
netif_wake_queue(dev);
#ifdef CONFIG_PCNET32_NAPI
napi_enable(&lp->napi);
Expand Down

0 comments on commit 4057c53

Please sign in to comment.