]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "net: qcom/emac: enforce DMA address restrictions"
authorTimur Tabi <timur@codeaurora.org>
Thu, 12 Oct 2017 17:42:04 +0000 (12:42 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Oct 2017 17:50:10 +0000 (10:50 -0700)
commite4fa6c4fc29c752e3a9bd380e397ec63b1994d26
tree9fb83b340b908c4b9e501c6aa63510d6dec9b74d
parent282c6d850d155fe824e3721b8b079861b1806fe4
Revert "net: qcom/emac: enforce DMA address restrictions"

This reverts commit c92fa23641d1ba483d8326b0cf6f1fd9587ef585.

It turns out that memory allocated via dma_alloc_coherent is always
aligned to the size of the buffer, so there's no way the RRD and RFD
can ever be in separate 32-bit regions.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-mac.c