diff options
author | Peter Oberparleiter <peter.oberparleiter@de.ibm.com> | 2013-05-15 13:43:29 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-05-15 16:47:39 +0200 |
commit | ba54229db65b161d46df449638a1a386444681b0 (patch) | |
tree | e9bce225c9a990b0cf514680ddbaa3f1b3c318c7 /drivers/s390/cio/chsc.h | |
parent | aca91209775514b5a335e7ef11f1d636618590c7 (diff) | |
download | linux-ba54229db65b161d46df449638a1a386444681b0.tar.bz2 |
s390/cio: add channel ID sysfs attribute
Add new attributes "chid" and "chid_external" to the channel-path
sysfs directory. These attributes contain information related to
the channel-ID of the channel-path.
Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/chsc.h')
-rw-r--r-- | drivers/s390/cio/chsc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/s390/cio/chsc.h b/drivers/s390/cio/chsc.h index 349d5fc47196..e7ef2a683b8f 100644 --- a/drivers/s390/cio/chsc.h +++ b/drivers/s390/cio/chsc.h @@ -43,7 +43,9 @@ struct channel_path_desc_fmt1 { u8 chpid; u32:24; u8 chpp; - u32 unused[3]; + u32 unused[2]; + u16 chid; + u32:16; u16 mdc; u16:13; u8 r:1; |