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: NEric Auger <eric.auger@linaro.org> Acked-by: NBaptiste Reynal <b.reynal@virtualopensystems.com> Tested-by: NBaptiste Reynal <b.reynal@virtualopensystems.com> Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
Showing
想要评论请 注册 或 登录