OSDN Git Service

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)
commit3f7832c26cc0cad2245981f777f3ee684399ce93
tree9fb83b340b908c4b9e501c6aa63510d6dec9b74d
parent437d2762ba07f0fc639d5a09acb323fe4106a61f
Revert "net: qcom/emac: enforce DMA address restrictions"

This reverts commit df1ec1b9d0df57e96011f175418dc95b1af46821.

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