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 17:35:38 +0200 |
commit | 713cc334a6cc20dd1740933bf49d804b081bbca0 (patch) | |
tree | 8d853639cae0648d789b06ab4201167b7110fad0 /drivers/vfio/platform/reset/Kconfig | |
parent | VFIO: platform: populate the reset function on probe (diff) | |
download | linux-713cc334a6cc20dd1740933bf49d804b081bbca0.tar.xz linux-713cc334a6cc20dd1740933bf49d804b081bbca0.zip |
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/Kconfig')
-rw-r--r-- | drivers/vfio/platform/reset/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/vfio/platform/reset/Kconfig b/drivers/vfio/platform/reset/Kconfig new file mode 100644 index 000000000000..746b96b0003b --- /dev/null +++ b/drivers/vfio/platform/reset/Kconfig @@ -0,0 +1,7 @@ +config VFIO_PLATFORM_CALXEDAXGMAC_RESET + tristate "VFIO support for calxeda xgmac reset" + depends on VFIO_PLATFORM + help + Enables the VFIO platform driver to handle reset for Calxeda xgmac + + If you don't know what to do here, say N. |