diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2011-01-05 12:47:56 +0100 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 12:47:28 +0100 |
commit | ce322ccd53f2505cf8b0ed204631d6ac054ac66a (patch) | |
tree | c3b9b9145d691b3c8a389be9299b96b574b8f69e /arch | |
parent | 37e8952174c6c239d1c86125e032fd6ad107a3e6 (diff) | |
download | linux-ce322ccd53f2505cf8b0ed204631d6ac054ac66a.tar.gz linux-ce322ccd53f2505cf8b0ed204631d6ac054ac66a.tar.bz2 linux-ce322ccd53f2505cf8b0ed204631d6ac054ac66a.zip |
[S390] cio: obtain mdc value per channel path
Add support to accumulate the number of 64K-bytes blocks all paths
to a device at least support for a transport command.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/include/asm/ccwdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/ccwdev.h b/arch/s390/include/asm/ccwdev.h index e8501115eca8..ff6f62e0ec3e 100644 --- a/arch/s390/include/asm/ccwdev.h +++ b/arch/s390/include/asm/ccwdev.h @@ -204,6 +204,8 @@ int ccw_device_tm_start_timeout(struct ccw_device *, struct tcw *, unsigned long, u8, int); int ccw_device_tm_intrg(struct ccw_device *cdev); +int ccw_device_get_mdc(struct ccw_device *cdev, u8 mask); + extern int ccw_device_set_online(struct ccw_device *cdev); extern int ccw_device_set_offline(struct ccw_device *cdev); |