Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195142
b: refs/heads/master
c: e7a3af5
h: refs/heads/master
v: v3
  • Loading branch information
Brian King authored and David S. Miller committed May 18, 2010
1 parent b2305e9 commit c19caea
Show file tree
Hide file tree
Showing 2 changed files with 13 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: 0771275b25e84f568699a5d209c5e339ef83fa94
refs/heads/master: e7a3af5d8cd782b84e6ca4e4dcc8613be1a809f0
12 changes: 12 additions & 0 deletions trunk/drivers/net/ibmveth.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/mm.h>
#include <linux/pm.h>
#include <linux/ethtool.h>
#include <linux/proc_fs.h>
#include <linux/in.h>
Expand Down Expand Up @@ -1588,13 +1589,23 @@ static struct kobj_type ktype_veth_pool = {
.default_attrs = veth_pool_attrs,
};

static int ibmveth_resume(struct device *dev)
{
struct net_device *netdev = dev_get_drvdata(dev);
ibmveth_interrupt(netdev->irq, netdev);
return 0;
}

static struct vio_device_id ibmveth_device_table[] __devinitdata= {
{ "network", "IBM,l-lan"},
{ "", "" }
};
MODULE_DEVICE_TABLE(vio, ibmveth_device_table);

static struct dev_pm_ops ibmveth_pm_ops = {
.resume = ibmveth_resume
};

static struct vio_driver ibmveth_driver = {
.id_table = ibmveth_device_table,
.probe = ibmveth_probe,
Expand All @@ -1603,6 +1614,7 @@ static struct vio_driver ibmveth_driver = {
.driver = {
.name = ibmveth_driver_name,
.owner = THIS_MODULE,
.pm = &ibmveth_pm_ops,
}
};

Expand Down

0 comments on commit c19caea

Please sign in to comment.