summaryrefslogtreecommitdiff
path: root/drivers/vfio/platform/reset/Kconfig
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/Kconfig
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/Kconfig')
-rw-r--r--drivers/vfio/platform/reset/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/vfio/platform/reset/Kconfig b/drivers/vfio/platform/reset/Kconfig
index 746b96b0003b..70cccc582bee 100644
--- a/drivers/vfio/platform/reset/Kconfig
+++ b/drivers/vfio/platform/reset/Kconfig
@@ -5,3 +5,11 @@ config VFIO_PLATFORM_CALXEDAXGMAC_RESET
Enables the VFIO platform driver to handle reset for Calxeda xgmac
If you don't know what to do here, say N.
+
+config VFIO_PLATFORM_AMDXGBE_RESET
+ tristate "VFIO support for AMD XGBE reset"
+ depends on VFIO_PLATFORM
+ help
+ Enables the VFIO platform driver to handle reset for AMD XGBE
+
+ If you don't know what to do here, say N.