From 713cc334a6cc20dd1740933bf49d804b081bbca0 Mon Sep 17 00:00:00 2001 From: Eric Auger Date: Mon, 15 Jun 2015 11:09:45 +0200 Subject: VFIO: platform: Calxeda xgmac reset module This patch introduces a module that registers and implements a basic reset function for the Calxeda xgmac device. This latter basically disables interrupts and stops DMA transfers. The reset function code is inherited from the native calxeda xgmac driver. Signed-off-by: Eric Auger Acked-by: Baptiste Reynal Tested-by: Baptiste Reynal Signed-off-by: Alex Williamson --- drivers/vfio/platform/reset/Makefile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 drivers/vfio/platform/reset/Makefile (limited to 'drivers/vfio/platform/reset/Makefile') diff --git a/drivers/vfio/platform/reset/Makefile b/drivers/vfio/platform/reset/Makefile new file mode 100644 index 000000000000..2a486af9f8fa --- /dev/null +++ b/drivers/vfio/platform/reset/Makefile @@ -0,0 +1,5 @@ +vfio-platform-calxedaxgmac-y := vfio_platform_calxedaxgmac.o + +ccflags-y += -Idrivers/vfio/platform + +obj-$(CONFIG_VFIO_PLATFORM_CALXEDAXGMAC_RESET) += vfio-platform-calxedaxgmac.o -- cgit v1.2.3