]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/s390/cio/device_fsm.c
fix similar typos to successfull
[linux-2.6-omap-h63xx.git] / drivers / s390 / cio / device_fsm.c
index e1a3786779ba5791e624f1f70760b9853f71f284..8df5eaafc5ab6a4c4518f5eacaa3b22e680e5af0 100644 (file)
@@ -1026,11 +1026,14 @@ void ccw_device_trigger_reprobe(struct ccw_device *cdev)
         * we have before performing device selection :/
         */
        sch->lpm = sch->schib.pmcw.pam & sch->opm;
-       /* Re-set some bits in the pmcw that were lost. */
-       sch->schib.pmcw.csense = 1;
-       sch->schib.pmcw.ena = 0;
-       if ((sch->lpm & (sch->lpm - 1)) != 0)
-               sch->schib.pmcw.mp = 1;
+       /*
+        * Use the initial configuration since we can't be shure that the old
+        * paths are valid.
+        */
+       io_subchannel_init_config(sch);
+       if (cio_commit_config(sch))
+               return;
+
        /* We should also udate ssd info, but this has to wait. */
        /* Check if this is another device which appeared on the same sch. */
        if (sch->schib.pmcw.dev != cdev->private->dev_id.devno) {