diff options
author | Eric Auger <eric.auger@linaro.org> | 2015-11-03 21:20:57 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2015-11-03 22:55:21 +0300 |
commit | 0990822c98661bd625033f0d523b5c33566657ef (patch) | |
tree | fc7c9e0c3f3e53b83f2bcaab54c962a7b5f42cdc /drivers/vfio/platform/reset/Makefile | |
parent | daac3bbedb8aba714a082d00e2292d462fa24397 (diff) | |
download | linux-0990822c98661bd625033f0d523b5c33566657ef.tar.xz |
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/Makefile | 2 |
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 |