diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2007-10-12 10:11:22 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-10-12 10:13:01 -0400 |
commit | 1842f2b1847155805f9cc8c834ef4272198b272b (patch) | |
tree | b887ba8c29702a378c408c12702e8d5c6ce131ac /drivers/s390/cio/device.c | |
parent | 958974fb596ad037fb571cf2899f783764a83e1a (diff) |
[S390] cio: Disable channel measurements (cmf) on shutdown/reboot.
Disable channel measurements for all ccw devices via the ccw bus's
shutdown method. Clear residual cmf related information that may be
in the schib when setting up a new subchannel.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/device.c')
-rw-r--r-- | drivers/s390/cio/device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c index 7fb271c60c27..eea9b1de0af7 100644 --- a/drivers/s390/cio/device.c +++ b/drivers/s390/cio/device.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <asm/ccwdev.h> | 21 | #include <asm/ccwdev.h> |
22 | #include <asm/cio.h> | 22 | #include <asm/cio.h> |
23 | #include <asm/param.h> /* HZ */ | 23 | #include <asm/param.h> /* HZ */ |
24 | #include <asm/cmb.h> | ||
24 | 25 | ||
25 | #include "cio.h" | 26 | #include "cio.h" |
26 | #include "cio_debug.h" | 27 | #include "cio_debug.h" |
@@ -1440,6 +1441,7 @@ static void ccw_device_shutdown(struct device *dev) | |||
1440 | cdev = to_ccwdev(dev); | 1441 | cdev = to_ccwdev(dev); |
1441 | if (cdev->drv && cdev->drv->shutdown) | 1442 | if (cdev->drv && cdev->drv->shutdown) |
1442 | cdev->drv->shutdown(cdev); | 1443 | cdev->drv->shutdown(cdev); |
1444 | disable_cmf(cdev); | ||
1443 | } | 1445 | } |
1444 | 1446 | ||
1445 | struct bus_type ccw_bus_type = { | 1447 | struct bus_type ccw_bus_type = { |