aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/css.h
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2006-03-24 06:15:14 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 10:33:16 -0500
commit495a5b45ac33b8fe2c49780fdbcc8014cb6d6ddc (patch)
treeb456ebc9e8f53edd726c903401b5e40bbb9562d5 /drivers/s390/cio/css.h
parentdc06010c62da773321258df1d8a1708a3158e29d (diff)
[PATCH] s390: channel path measurements
Gather extended measurements for channel paths from the channel subsystem and expose them to userspace via a sysfs attribute. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390/cio/css.h')
-rw-r--r--drivers/s390/cio/css.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h
index b6375861cb37..74a257b23383 100644
--- a/drivers/s390/cio/css.h
+++ b/drivers/s390/cio/css.h
@@ -1,6 +1,7 @@
1#ifndef _CSS_H 1#ifndef _CSS_H
2#define _CSS_H 2#define _CSS_H
3 3
4#include <linux/mutex.h>
4#include <linux/wait.h> 5#include <linux/wait.h>
5#include <linux/workqueue.h> 6#include <linux/workqueue.h>
6 7
@@ -150,6 +151,11 @@ struct channel_subsystem {
150 struct channel_path *chps[__MAX_CHPID + 1]; 151 struct channel_path *chps[__MAX_CHPID + 1];
151 struct device device; 152 struct device device;
152 struct pgid global_pgid; 153 struct pgid global_pgid;
154 struct mutex mutex;
155 /* channel measurement related */
156 int cm_enabled;
157 void *cub_addr1;
158 void *cub_addr2;
153}; 159};
154#define to_css(dev) container_of(dev, struct channel_subsystem, device) 160#define to_css(dev) container_of(dev, struct channel_subsystem, device)
155 161