Commit Graph
2 Commits
Author SHA1 Message Date
Eric Auger 0990822c98 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 <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
2015-11-03 12:55:21 -07:00
Eric Auger 713cc334a6 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 <[email protected]>
Acked-by: Baptiste Reynal <[email protected]>
Tested-by: Baptiste Reynal <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
2015-06-22 09:35:38 -06:00