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/chsc.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/chsc.h')
-rw-r--r-- | drivers/s390/cio/chsc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/s390/cio/chsc.h b/drivers/s390/cio/chsc.h index 170083ca4349..44e4b4bb1c5a 100644 --- a/drivers/s390/cio/chsc.h +++ b/drivers/s390/cio/chsc.h | |||
@@ -5,6 +5,8 @@ | |||
5 | #define CHSC_SEI_ACC_LINKADDR 2 | 5 | #define CHSC_SEI_ACC_LINKADDR 2 |
6 | #define CHSC_SEI_ACC_FULLLINKADDR 3 | 6 | #define CHSC_SEI_ACC_FULLLINKADDR 3 |
7 | 7 | ||
8 | #define CHSC_SDA_OC_MSS 0x2 | ||
9 | |||
8 | struct chsc_header { | 10 | struct chsc_header { |
9 | u16 length; | 11 | u16 length; |
10 | u16 code; | 12 | u16 code; |
@@ -64,6 +66,8 @@ extern int css_characteristics_avail; | |||
64 | 66 | ||
65 | extern void *chsc_get_chp_desc(struct subchannel*, int); | 67 | extern void *chsc_get_chp_desc(struct subchannel*, int); |
66 | 68 | ||
69 | extern int chsc_enable_facility(int); | ||
70 | |||
67 | #define to_channelpath(dev) container_of(dev, struct channel_path, dev) | 71 | #define to_channelpath(dev) container_of(dev, struct channel_path, dev) |
68 | 72 | ||
69 | #endif | 73 | #endif |