summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/chsc.h
diff options
context:
space:
mode:
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>2013-05-15 13:43:29 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-05-15 16:47:39 +0200
commitba54229db65b161d46df449638a1a386444681b0 (patch)
treee9bce225c9a990b0cf514680ddbaa3f1b3c318c7 /drivers/s390/cio/chsc.h
parentaca91209775514b5a335e7ef11f1d636618590c7 (diff)
downloadblackbird-op-linux-ba54229db65b161d46df449638a1a386444681b0.tar.gz
blackbird-op-linux-ba54229db65b161d46df449638a1a386444681b0.zip
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.h4
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;
OpenPOWER on IntegriCloud