enable virtio_net to return bus_info in ethtool -i consistent with emulated NICs
authorRick Jones <rick.jones2@hp.com>
Mon, 14 Nov 2011 14:17:08 +0000 (14:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2011 22:26:46 +0000 (17:26 -0500)
commit66846048f55c6c05a4c46c2daabb773173f8f28d
tree21fdef9bb249056f7f334e67fbbc05a61b0cf9ce
parent64882709ef07f3eae29c7afc5aa8b84d12733a72
enable virtio_net to return bus_info in ethtool -i consistent with emulated NICs

Add a new .bus_name to virtio_config_ops then modify virtio_net to
call through to it in an ethtool .get_drvinfo routine to report
bus_info in ethtool -i output which is consistent with other
emulated NICs and the output of lspci.

Signed-off-by: Rick Jones <rick.jones2@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/lguest/lguest_device.c
drivers/net/virtio_net.c
drivers/s390/kvm/kvm_virtio.c
drivers/virtio/virtio_mmio.c
drivers/virtio/virtio_pci.c
include/linux/virtio_config.h