Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154106
b: refs/heads/master
c: 01542cd
h: refs/heads/master
v: v3
  • Loading branch information
Dhananjay Phadke authored and David S. Miller committed Jun 23, 2009
1 parent de14e10 commit 57a3dab
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: 4d900f9df5f0569c2dc536701e2c11b6d50ebebf
refs/heads/master: 01542cd1bbf995f951e2c2383d7911e96b12bec6
4 changes: 4 additions & 0 deletions trunk/drivers/net/netxen/netxen_nic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1178,6 +1178,7 @@ static void __devexit netxen_nic_remove(struct pci_dev *pdev)
free_netdev(netdev);
}

#ifdef CONFIG_PM
static int
netxen_nic_suspend(struct pci_dev *pdev, pm_message_t state)
{
Expand Down Expand Up @@ -1242,6 +1243,7 @@ netxen_nic_resume(struct pci_dev *pdev)

return 0;
}
#endif

static int netxen_nic_open(struct net_device *netdev)
{
Expand Down Expand Up @@ -1771,8 +1773,10 @@ static struct pci_driver netxen_driver = {
.id_table = netxen_pci_tbl,
.probe = netxen_nic_probe,
.remove = __devexit_p(netxen_nic_remove),
#ifdef CONFIG_PM
.suspend = netxen_nic_suspend,
.resume = netxen_nic_resume
#endif
};

/* Driver Registration on NetXen card */
Expand Down

0 comments on commit 57a3dab

Please sign in to comment.