diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2011-01-05 06:47:58 -0500 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 06:47:29 -0500 |
commit | 4bc4e965d3e86897e4c7c487a477ccdf13db5b82 (patch) | |
tree | 0fc1ef6faf3f70c39acf1bee24f19f1cd433771c /drivers/s390 | |
parent | 1de3447a41ea72972966b4896a9f8d2b064bd23f (diff) |
[S390] css: update subchannel descriptor
Update the subchannel descriptor if we receive a
"Installed parameters modified" crw.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/cio/css.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index 825951b6b83f..24d8e97355b9 100644 --- a/drivers/s390/cio/css.c +++ b/drivers/s390/cio/css.c | |||
@@ -618,6 +618,7 @@ EXPORT_SYMBOL_GPL(css_schedule_reprobe); | |||
618 | static void css_process_crw(struct crw *crw0, struct crw *crw1, int overflow) | 618 | static void css_process_crw(struct crw *crw0, struct crw *crw1, int overflow) |
619 | { | 619 | { |
620 | struct subchannel_id mchk_schid; | 620 | struct subchannel_id mchk_schid; |
621 | struct subchannel *sch; | ||
621 | 622 | ||
622 | if (overflow) { | 623 | if (overflow) { |
623 | css_schedule_eval_all(); | 624 | css_schedule_eval_all(); |
@@ -637,6 +638,13 @@ static void css_process_crw(struct crw *crw0, struct crw *crw1, int overflow) | |||
637 | if (crw1) | 638 | if (crw1) |
638 | mchk_schid.ssid = (crw1->rsid >> 4) & 3; | 639 | mchk_schid.ssid = (crw1->rsid >> 4) & 3; |
639 | 640 | ||
641 | if (crw0->erc == CRW_ERC_PMOD) { | ||
642 | sch = get_subchannel_by_schid(mchk_schid); | ||
643 | if (sch) { | ||
644 | css_update_ssd_info(sch); | ||
645 | put_device(&sch->dev); | ||
646 | } | ||
647 | } | ||
640 | /* | 648 | /* |
641 | * Since we are always presented with IPI in the CRW, we have to | 649 | * Since we are always presented with IPI in the CRW, we have to |
642 | * use stsch() to find out if the subchannel in question has come | 650 | * use stsch() to find out if the subchannel in question has come |