summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/altera/altera_msgdma.h
Commit message (Collapse)AuthorAgeFilesLines
* Altera TSE: Work around unaligned DMA receive packet issue with Altera SGDMAVince Bridgers2014-04-261-1/+2
| | | | | | | | | | | | | | | | This patch works around a recently discovered unaligned receive dma problem with the Altera SGMDA. The Altera SGDMA component cannot be configured to DMA data to unaligned addresses for receive packet operations from the Triple Speed Ethernet component because of a potential data transfer corruption that can occur. This patch addresses this issue by utilizing the shift 16 bits feature of the Altera Triple Speed Ethernet component and modifying the receive buffer physical addresses accordingly such that the target receive DMA address is always aligned on a 32-bit boundary. Signed-off-by: Vince Bridgers <vbridgers2013@gmail.com> Tested-by: Matthew Gerlach <mgerlach@altera.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* Altera TSE: Add Altera Ethernet Driver MSGDMA File ComponentsVince Bridgers2014-03-181-0/+34
This patch adds the MSGDMA soft IP support for the Altera Triple Speed Ethernet driver. Signed-off-by: Vince Bridgers <vbridgers2013@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>