virtio: bus_id for devices should contain 'virtio'
commit2ad3cfbac58d0a6c6e65aafd9e0e757ca3d35292
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 30 May 2008 20:09:41 +0000 (30 15:09 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 30 May 2008 05:09:42 +0000 (30 15:09 +1000)
treefd17937a5873c078487a02adc5dbdc8a175b0796
parentac9d463afb1ca2434335351f3b7d9e4c8f8470e9
virtio: bus_id for devices should contain 'virtio'

Chris Lalancette <clalance@redhat.com> points out that virtio.c sets all device
names to '0', '1', etc, which looks silly in /proc/interrupts.  We change this
from '%d' to 'virtio%d'.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Carsten Otte <cotte@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Chris Lalancette <clalance@redhat.com>
Cc: Anthony Liguori <anthony@codemonkey.ws>
drivers/virtio/virtio.c