Jing Liu 6c15e9bfb6 s390x/css: Add an algorithm to find a free chpid
This introduces a function named css_find_free_chpid() to find a
free channel path. Because virtio-ccw device used zero as its
channel path number, it would be sensible to skip the reserved one
and search upwards.

Signed-off-by: Jing Liu <liujbjl@linux.vnet.ibm.com>
Reviewed-by: QingFeng Hao <haoqf@linux.vnet.ibm.com>
Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2017-05-04 10:34:37 +02:00
..
2016-10-04 13:28:07 +01:00
2017-04-25 19:17:25 +08:00
2017-01-27 18:07:59 +01:00
2016-10-04 13:28:09 +01:00
2017-01-27 18:07:59 +01:00
2017-01-24 23:26:52 +03:00
2017-04-20 15:22:41 -03:00
2017-03-15 20:50:14 -04:00
2016-05-18 15:04:27 +03:00
2016-09-08 18:05:21 +04:00
2013-04-08 18:13:10 +02:00
2017-02-28 17:10:00 +00:00
2017-01-27 18:07:59 +01:00
2017-02-28 16:18:49 +00:00
2017-01-27 18:07:59 +01:00
2017-04-21 09:32:09 +02:00
2017-04-24 12:32:12 +01:00
2014-10-23 16:41:25 +02:00
2017-02-28 12:04:48 +01:00
2017-03-01 00:09:28 +04:00
2017-04-21 15:59:27 +01:00
2013-04-08 18:13:10 +02:00