OSDN Git Service

s390-bios: Extend find_dev() for non-virtio devices
authorJason J. Herne <jjherne@linux.ibm.com>
Thu, 4 Apr 2019 14:34:29 +0000 (10:34 -0400)
committerThomas Huth <thuth@redhat.com>
Fri, 12 Apr 2019 10:40:35 +0000 (12:40 +0200)
commit930072d2bf30986e57dac5c5945a32492f288944
tree1b4a3811d18a01fc889f291f34cb644ef771e82e
parent86c58705bb186cfa73a03851047da2c2c37b9418
s390-bios: Extend find_dev() for non-virtio devices

We need a method for finding the subchannel of a dasd device. Let's
modify find_dev to handle this since it mostly does what we need. Up to
this point find_dev has been specific to only virtio devices.

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