diff options
author | Cornelia Huck <cohuck@de.ibm.com> | 2006-01-06 03:19:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:52 -0500 |
commit | fb6958a594da49ece869793e6ec163b89fc5f79f (patch) | |
tree | 0746cc23ab13a059f9a34d7fc134aaf6410d07b8 /drivers/s390/cio/css.h | |
parent | 678a395b356a98368a93c3640252502b70c3676f (diff) |
[PATCH] s390: multiple subchannel sets support
Add support for multiple subchannel sets. Works with arbitrary devices in
subchannel set 1 and is transparent to device drivers. Although currently
only two subchannel sets are available, this will work with the architectured
maximum number of subchannel sets as well.
Signed-off-by: Cornelia Huck <cohuck@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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h index b74659cab0af..251ebd7a7d3a 100644 --- a/drivers/s390/cio/css.h +++ b/drivers/s390/cio/css.h | |||
@@ -77,6 +77,7 @@ struct ccw_device_private { | |||
77 | unsigned long registered; | 77 | unsigned long registered; |
78 | __u16 devno; /* device number */ | 78 | __u16 devno; /* device number */ |
79 | __u16 sch_no; /* subchannel number */ | 79 | __u16 sch_no; /* subchannel number */ |
80 | __u8 ssid; /* subchannel set id */ | ||
80 | __u8 imask; /* lpm mask for SNID/SID/SPGID */ | 81 | __u8 imask; /* lpm mask for SNID/SID/SPGID */ |
81 | int iretry; /* retry counter SNID/SID/SPGID */ | 82 | int iretry; /* retry counter SNID/SID/SPGID */ |
82 | struct { | 83 | struct { |
@@ -135,6 +136,7 @@ extern int css_init_done; | |||
135 | extern int for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *); | 136 | extern int for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *); |
136 | 137 | ||
137 | #define __MAX_SUBCHANNEL 65535 | 138 | #define __MAX_SUBCHANNEL 65535 |
139 | #define __MAX_SSID 3 | ||
138 | #define __MAX_CHPID 255 | 140 | #define __MAX_CHPID 255 |
139 | #define __MAX_CSSID 0 | 141 | #define __MAX_CSSID 0 |
140 | 142 | ||