diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2012-05-30 10:03:22 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-11-23 05:14:28 -0500 |
commit | 9368dac4367cd9a61ef75a745c6e26d0dd164172 (patch) | |
tree | f44f86bc0579f86a2d6ccf4ae00fa05fc6b3a5cf /arch/s390/include/asm/ccwdev.h | |
parent | 36eb2caa7bace31b7868a57f77cb148e58d1c9f9 (diff) |
s390: Add a mechanism to get the subchannel id.
This will be needed by the new virtio-ccw transport.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/ccwdev.h')
-rw-r--r-- | arch/s390/include/asm/ccwdev.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/include/asm/ccwdev.h b/arch/s390/include/asm/ccwdev.h index 1cb4bb3f32d9..9ad79f7f1acc 100644 --- a/arch/s390/include/asm/ccwdev.h +++ b/arch/s390/include/asm/ccwdev.h | |||
@@ -18,6 +18,9 @@ struct irb; | |||
18 | struct ccw1; | 18 | struct ccw1; |
19 | struct ccw_dev_id; | 19 | struct ccw_dev_id; |
20 | 20 | ||
21 | /* from asm/schid.h */ | ||
22 | struct subchannel_id; | ||
23 | |||
21 | /* simplified initializers for struct ccw_device: | 24 | /* simplified initializers for struct ccw_device: |
22 | * CCW_DEVICE and CCW_DEVICE_DEVTYPE initialize one | 25 | * CCW_DEVICE and CCW_DEVICE_DEVTYPE initialize one |
23 | * entry in your MODULE_DEVICE_TABLE and set the match_flag correctly */ | 26 | * entry in your MODULE_DEVICE_TABLE and set the match_flag correctly */ |
@@ -226,5 +229,7 @@ int ccw_device_siosl(struct ccw_device *); | |||
226 | // FIXME: these have to go | 229 | // FIXME: these have to go |
227 | extern int _ccw_device_get_subchannel_number(struct ccw_device *); | 230 | extern int _ccw_device_get_subchannel_number(struct ccw_device *); |
228 | 231 | ||
232 | extern void ccw_device_get_schid(struct ccw_device *, struct subchannel_id *); | ||
233 | |||
229 | extern void *ccw_device_get_chp_desc(struct ccw_device *, int); | 234 | extern void *ccw_device_get_chp_desc(struct ccw_device *, int); |
230 | #endif /* _S390_CCWDEV_H_ */ | 235 | #endif /* _S390_CCWDEV_H_ */ |