aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/device_fsm.c
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2006-12-08 09:54:21 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-12-08 09:54:21 -0500
commit7674da77cb2d27ae6559c55151da171ceb02beb4 (patch)
treedca2646cd8d6d2a36cbddbeb4f38fab2e12e8f7b /drivers/s390/cio/device_fsm.c
parent34249d0f9243fce773c2fa352934ba108320e234 (diff)
[S390] Some preparations for the dynamic subchannel mapping patch.
- Move adding subchannel attributes to css_register_subchannel(). - Don't call device_trigger_reprobe() for non-operational devices. - Introduce io_subchannel_create_ccwdev(). Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/device_fsm.c')
-rw-r--r--drivers/s390/cio/device_fsm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/cio/device_fsm.c b/drivers/s390/cio/device_fsm.c
index 0f0301ce37fe..a487fb0e7d3d 100644
--- a/drivers/s390/cio/device_fsm.c
+++ b/drivers/s390/cio/device_fsm.c
@@ -1106,7 +1106,8 @@ device_trigger_reprobe(struct subchannel *sch)
1106 /* Update some values. */ 1106 /* Update some values. */
1107 if (stsch(sch->schid, &sch->schib)) 1107 if (stsch(sch->schid, &sch->schib))
1108 return; 1108 return;
1109 1109 if (!sch->schib.pmcw.dnv)
1110 return;
1110 /* 1111 /*
1111 * The pim, pam, pom values may not be accurate, but they are the best 1112 * The pim, pam, pom values may not be accurate, but they are the best
1112 * we have before performing device selection :/ 1113 * we have before performing device selection :/