Commit 88efc2c5 authored by Frank Blaschka's avatar Frank Blaschka Committed by Martin Schwidefsky

[S390] pm: claw driver power management callbacks

Signed-off-by: default avatarFrank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent b8a2d42a
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
* ESCON CLAW network driver * ESCON CLAW network driver
* *
* Linux for zSeries version * Linux for zSeries version
* Copyright (C) 2002,2005 IBM Corporation * Copyright IBM Corp. 2002, 2009
* Author(s) Original code written by: * Author(s) Original code written by:
* Kazuo Iimura (iimura@jp.ibm.com) * Kazuo Iimura <iimura@jp.ibm.com>
* Rewritten by * Rewritten by
* Andy Richter (richtera@us.ibm.com) * Andy Richter <richtera@us.ibm.com>
* Marc Price (mwprice@us.ibm.com) * Marc Price <mwprice@us.ibm.com>
* *
* sysfs parms: * sysfs parms:
* group x.x.rrrr,x.x.wwww * group x.x.rrrr,x.x.wwww
...@@ -253,6 +253,11 @@ static void claw_free_wrt_buf(struct net_device *dev); ...@@ -253,6 +253,11 @@ static void claw_free_wrt_buf(struct net_device *dev);
/* Functions for unpack reads */ /* Functions for unpack reads */
static void unpack_read(struct net_device *dev); static void unpack_read(struct net_device *dev);
static int claw_pm_prepare(struct ccwgroup_device *gdev)
{
return -EPERM;
}
/* ccwgroup table */ /* ccwgroup table */
static struct ccwgroup_driver claw_group_driver = { static struct ccwgroup_driver claw_group_driver = {
...@@ -264,6 +269,7 @@ static struct ccwgroup_driver claw_group_driver = { ...@@ -264,6 +269,7 @@ static struct ccwgroup_driver claw_group_driver = {
.remove = claw_remove_device, .remove = claw_remove_device,
.set_online = claw_new_device, .set_online = claw_new_device,
.set_offline = claw_shutdown_device, .set_offline = claw_shutdown_device,
.prepare = claw_pm_prepare,
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment