aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/cio.c
diff options
context:
space:
mode:
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>2006-09-20 09:59:59 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-09-20 09:59:59 -0400
commit28bdc6f6233f380ddc0b430cabd88ffeafea34c7 (patch)
treebe2c8e7943dab4328fcbe18cd6e03c50a82e0f34 /drivers/s390/cio/cio.c
parente0e32c8eba86fd5ea79eefad6f2c0b4988dfd02a (diff)
[S390] cio: always query all paths on path verification.
Reappearing channel paths are sometimes not utilized by CCW devices because path verification incorrectly relies on path-operational-mask information which is not updated until a channel path has been used again. Modify path verification procedure to always query all available paths to a device. 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/cio.c')
-rw-r--r--drivers/s390/cio/cio.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/s390/cio/cio.c b/drivers/s390/cio/cio.c
index 54cce542a1ee..2e2882daefbb 100644
--- a/drivers/s390/cio/cio.c
+++ b/drivers/s390/cio/cio.c
@@ -569,10 +569,7 @@ cio_validate_subchannel (struct subchannel *sch, struct subchannel_id schid)
569 sch->opm = 0xff; 569 sch->opm = 0xff;
570 if (!cio_is_console(sch->schid)) 570 if (!cio_is_console(sch->schid))
571 chsc_validate_chpids(sch); 571 chsc_validate_chpids(sch);
572 sch->lpm = sch->schib.pmcw.pim & 572 sch->lpm = sch->schib.pmcw.pam & sch->opm;
573 sch->schib.pmcw.pam &
574 sch->schib.pmcw.pom &
575 sch->opm;
576 573
577 CIO_DEBUG(KERN_INFO, 0, 574 CIO_DEBUG(KERN_INFO, 0,
578 "Detected device %04x on subchannel 0.%x.%04X" 575 "Detected device %04x on subchannel 0.%x.%04X"