Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46044
b: refs/heads/master
c: a53a33d
h: refs/heads/master
v: v3
  • Loading branch information
Auke Kok authored and Jeff Garzik committed Feb 2, 2007
1 parent 6646e1c commit e5fe08c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: ae2c27a78f1df5b0967069cd3b916cff1eb044c8
refs/heads/master: a53a33da864a81a238ee84055c8ced775ee25350
7 changes: 1 addition & 6 deletions trunk/drivers/net/e100.c
Original file line number Diff line number Diff line change
Expand Up @@ -2718,14 +2718,12 @@ static int e100_suspend(struct pci_dev *pdev, pm_message_t state)
struct net_device *netdev = pci_get_drvdata(pdev);
struct nic *nic = netdev_priv(netdev);

#ifdef CONFIG_E100_NAPI
if (netif_running(netdev))
netif_poll_disable(nic->netdev);
#endif
del_timer_sync(&nic->watchdog);
netif_carrier_off(nic->netdev);

netif_device_detach(netdev);

pci_save_state(pdev);

if ((nic->flags & wol_magic) | e100_asf(nic)) {
Expand Down Expand Up @@ -2761,16 +2759,13 @@ static int e100_resume(struct pci_dev *pdev)
}
#endif /* CONFIG_PM */


static void e100_shutdown(struct pci_dev *pdev)
{
struct net_device *netdev = pci_get_drvdata(pdev);
struct nic *nic = netdev_priv(netdev);

#ifdef CONFIG_E100_NAPI
if (netif_running(netdev))
netif_poll_disable(nic->netdev);
#endif
del_timer_sync(&nic->watchdog);
netif_carrier_off(nic->netdev);

Expand Down

0 comments on commit e5fe08c

Please sign in to comment.