• Timur Tabi's avatar
    net: qcom/emac: specify the correct DMA mask · d7e6b347
    Timur Tabi authored
    The 64/32-bit DMA mask hackery in the EMAC driver is not actually necessary,
    and is technically not accurate.  The EMAC hardware is limted to a 45-bit
    DMA address.  Although no EMAC-enabled system can have that much DDR,
    an IOMMU could possible provide a larger address.  Rather than play games
    with the DMA mappings, the driver should provide a correct value and
    trust the DMA/IOMMU layers to do the right thing.
    Signed-off-by: default avatarTimur Tabi <timur@codeaurora.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d7e6b347
emac.c 18.9 KB