aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/css.h
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2009-09-22 16:58:37 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-09-22 16:58:42 -0400
commitb0a285d31bd475fdd4312e457288be558b705e55 (patch)
treea8e99fc301bedaff3e141b68f7f16183a810192e /drivers/s390/cio/css.h
parentb827d1c8b65b27a293433e7c4723c7dfd6c4b848 (diff)
[S390] cio: idset use actual number of ssids
The functions idset_sch_new and for_each_subchannel_staged use different values for the number of subchannel sets. Make it consistent by changing idset_sch_new to also use the actual number of subchannel sets. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/css.h')
-rw-r--r--drivers/s390/cio/css.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h
index 54acdaade86..68d6b0bf151 100644
--- a/drivers/s390/cio/css.h
+++ b/drivers/s390/cio/css.h
@@ -111,6 +111,7 @@ extern void css_sch_device_unregister(struct subchannel *);
111extern int css_probe_device(struct subchannel_id); 111extern int css_probe_device(struct subchannel_id);
112extern struct subchannel *get_subchannel_by_schid(struct subchannel_id); 112extern struct subchannel *get_subchannel_by_schid(struct subchannel_id);
113extern int css_init_done; 113extern int css_init_done;
114extern int max_ssid;
114int for_each_subchannel_staged(int (*fn_known)(struct subchannel *, void *), 115int for_each_subchannel_staged(int (*fn_known)(struct subchannel *, void *),
115 int (*fn_unknown)(struct subchannel_id, 116 int (*fn_unknown)(struct subchannel_id,
116 void *), void *data); 117 void *), void *data);