OSDN Git Service

virtio-ccw: wire up ->bus_name callback
authorCornelia Huck <cohuck@redhat.com>
Mon, 21 Jan 2019 12:19:44 +0000 (13:19 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 6 Mar 2019 16:19:56 +0000 (11:19 -0500)
commit971bedca26e037ee961e090c84c2640563836d3e
tree349deed5f8565c126e752026176936dc07758011
parent3438b2c039b4bf26881786a1f3450f016d66ad11
virtio-ccw: wire up ->bus_name callback

Return the bus id of the ccw proxy device. This makes 'ethtool -i'
show a more useful value than 'virtio' in the bus-info field.

Acked-by: Halil Pasic <pasic@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/s390/virtio/virtio_ccw.c