summaryrefslogtreecommitdiff
path: root/drivers/vfio/platform/reset/Makefile
diff options
context:
space:
mode:
authorEric Auger <eric.auger@linaro.org>2015-11-03 18:20:57 +0000
committerAlex Williamson <alex.williamson@redhat.com>2015-11-03 12:55:21 -0700
commit0990822c98661bd625033f0d523b5c33566657ef (patch)
treefc7c9e0c3f3e53b83f2bcaab54c962a7b5f42cdc /drivers/vfio/platform/reset/Makefile
parentdaac3bbedb8aba714a082d00e2292d462fa24397 (diff)
VFIO: platform: reset: AMD xgbe reset module
This patch introduces a module that registers and implements a low-level reset function for the AMD XGBE device. it performs the following actions: - reset the PHY - disable auto-negotiation - disable & clear auto-negotiation IRQ - soft-reset the MAC Those tiny pieces of code are inherited from the native xgbe driver. Signed-off-by: Eric Auger <eric.auger@linaro.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/platform/reset/Makefile')
-rw-r--r--drivers/vfio/platform/reset/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/vfio/platform/reset/Makefile b/drivers/vfio/platform/reset/Makefile
index 2a486af9f8fa..93f4e232697b 100644
--- a/drivers/vfio/platform/reset/Makefile
+++ b/drivers/vfio/platform/reset/Makefile
@@ -1,5 +1,7 @@
vfio-platform-calxedaxgmac-y := vfio_platform_calxedaxgmac.o
+vfio-platform-amdxgbe-y := vfio_platform_amdxgbe.o
ccflags-y += -Idrivers/vfio/platform
obj-$(CONFIG_VFIO_PLATFORM_CALXEDAXGMAC_RESET) += vfio-platform-calxedaxgmac.o
+obj-$(CONFIG_VFIO_PLATFORM_AMDXGBE_RESET) += vfio-platform-amdxgbe.o