]> git.baikalelectronics.ru Git - kernel.git/commit
net: qcom/emac: extend DMA mask to 46bits
authorWang Dongsheng <dongsheng.wang@hxt-semitech.com>
Tue, 23 Jan 2018 04:25:06 +0000 (20:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jan 2018 21:32:29 +0000 (16:32 -0500)
commit3aa1d6a78f2796482da33e7567e62dc66a22b3fd
treeb882f651db9824dbf34d2c447f946d9c2857c890
parent584ebbc2a569175a7486f021660f8251a5c8fee4
net: qcom/emac: extend DMA mask to 46bits

Bit TPD3[31] is used as a timestamp bit if PTP is enabled, but
it's used as an address bit if PTP is disabled.  Since PTP isn't
supported by the driver, we can extend the DMA address to 46 bits.

Signed-off-by: Wang Dongsheng <dongsheng.wang@hxt-semitech.com>
Acked-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-mac.h
drivers/net/ethernet/qualcomm/emac/emac.c