s390-bios: decouple cio setup from virtio
commit87f910c142d5589ef937ac216f92c6dcddae955e
authorJason J. Herne <jjherne@linux.ibm.com>
Thu, 4 Apr 2019 14:34:21 +0000 (4 10:34 -0400)
committerThomas Huth <thuth@redhat.com>
Fri, 12 Apr 2019 10:40:35 +0000 (12 12:40 +0200)
treea72fbb63f53209eca19ff7d390d1a7db1ce8a5d0
parent44445d8668f458dec0ecb8bcecdcbf24e6d4251b
s390-bios: decouple cio setup from virtio

Move channel i/o setup code out to a separate function. This decouples cio
setup from the virtio code path and allows us to make use of it for booting
dasd devices.

Signed-off-by: Jason J. Herne <jjherne@linux.ibm.com>
Acked-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Collin Walling <walling@linux.ibm.com>
Reviewed-by: Farhan Ali <alifm@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <1554388475-18329-3-git-send-email-jjherne@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/main.c