@@ -1,5 +1,5 @@
-config VFIO_MDEV
+config MDEV
tristate "Mediated device driver framework"
depends on VFIO
default n
@@ -9,10 +9,10 @@ config VFIO_MDEV
If you don't know what do here, say N.
-config VFIO_MPCI
- tristate "VFIO support for Mediated PCI devices"
- depends on VFIO && PCI && VFIO_MDEV
+config VFIO_MDEV
+ tristate "VFIO Bus driver for Mediated devices"
+ depends on VFIO && MDEV
default n
help
- VFIO based driver for mediated PCI devices.
+ VFIO Bus driver for mediated devices.
@@ -1,6 +1,5 @@
mdev-y := mdev_core.o mdev_sysfs.o mdev_driver.o
-obj-$(CONFIG_VFIO_MDEV) += mdev.o
-obj-$(CONFIG_VFIO_MPCI) += vfio_mpci.o
-
+obj-$(CONFIG_MDEV) += mdev.o
+obj-$(CONFIG_VFIO_MDEV) += vfio_mdev.o
similarity index 100%
rename from drivers/vfio/mdev/vfio_mpci.c
rename to drivers/vfio/mdev/vfio_mdev.c
Signed-off-by: Jike Song <jike.song@intel.com> --- drivers/vfio/mdev/Kconfig | 10 +++++----- drivers/vfio/mdev/Makefile | 5 ++--- drivers/vfio/mdev/{vfio_mpci.c => vfio_mdev.c} | 0 3 files changed, 7 insertions(+), 8 deletions(-) rename drivers/vfio/mdev/{vfio_mpci.c => vfio_mdev.c} (100%)