diff options
author | Eric Auger <eric.auger@linaro.org> | 2015-06-15 11:09:45 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2015-06-22 09:35:38 -0600 |
commit | 713cc334a6cc20dd1740933bf49d804b081bbca0 (patch) | |
tree | 8d853639cae0648d789b06ab4201167b7110fad0 /drivers/vfio/platform/reset/Makefile | |
parent | 3eeb0d510c65e777030156f03c116393095a3248 (diff) |
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 <eric.auger@linaro.org>
Acked-by: Baptiste Reynal <b.reynal@virtualopensystems.com>
Tested-by: Baptiste Reynal <b.reynal@virtualopensystems.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/platform/reset/Makefile')
-rw-r--r-- | drivers/vfio/platform/reset/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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 |