diff options
author | Alexandra Winter <wintera@linux.ibm.com> | 2020-09-10 19:23:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-15 22:21:46 +0200 |
commit | b983aa1f7d19a83906fb7d38d337a87fe8d7745a (patch) | |
tree | 9674d612e9706b76647e68942028727955b68901 /drivers/s390/cio/css.h | |
parent | s390/cio: Add new Operation Code OC3 to PNSO (diff) | |
download | linux-b983aa1f7d19a83906fb7d38d337a87fe8d7745a.tar.xz linux-b983aa1f7d19a83906fb7d38d337a87fe8d7745a.zip |
s390/cio: Helper functions to read CSSID, IID, and CHID
Add helper functions to expose Channel Subsystem ID (CSSID), MIF Image Id
(IID), Channel ID (CHID) and Channel Path ID (CHPID).
These values are required by the qeth driver's exploitation of network-
address-change-notifications to determine which entries belong to this
interface.
Store the Partition identifier in System log, as this may be used to map
a Linux view to a Hardware view for debugging purpose.
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Reviewed-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/cio/css.h')
-rw-r--r-- | drivers/s390/cio/css.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h index 8d832900a63d..3f322ea0f498 100644 --- a/drivers/s390/cio/css.h +++ b/drivers/s390/cio/css.h @@ -115,7 +115,9 @@ extern int for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *); void css_update_ssd_info(struct subchannel *sch); struct channel_subsystem { - int cssid; + u8 cssid; + u8 iid; + bool id_valid; /* cssid,iid */ struct channel_path *chps[__MAX_CHPID + 1]; struct device device; struct pgid global_pgid; |