Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107975
b: refs/heads/master
c: 4ad7a01
h: refs/heads/master
i:
  107973: 0311c87
  107971: 4e8a515
  107967: eb19932
v: v3
  • Loading branch information
Adrian Bunk authored and Jeff Garzik committed Aug 7, 2008
1 parent 25fe2d0 commit a200296
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 5b1c29b4365d2eaf05eb81899cb1ca847dfe026e
refs/heads/master: 4ad7a018cf4ac3cbad661c28c0f783ee0a6e3bf6
4 changes: 0 additions & 4 deletions trunk/drivers/net/gianfar.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,7 @@ static int gfar_suspend(struct platform_device *pdev, pm_message_t state)
spin_unlock(&priv->rxlock);
spin_unlock_irqrestore(&priv->txlock, flags);

#ifdef CONFIG_GFAR_NAPI
napi_disable(&priv->napi);
#endif

if (magic_packet) {
/* Enable interrupt on Magic Packet */
Expand Down Expand Up @@ -469,9 +467,7 @@ static int gfar_resume(struct platform_device *pdev)

netif_device_attach(dev);

#ifdef CONFIG_GFAR_NAPI
napi_enable(&priv->napi);
#endif

return 0;
}
Expand Down

0 comments on commit a200296

Please sign in to comment.