amd-xgbe: Use dma_set_mask_and_coherent to set DMA mask
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Tue, 5 Aug 2014 18:30:38 +0000 (13:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Aug 2014 23:47:02 +0000 (16:47 -0700)
commitf3d0e78d2e733176c2b0d23e7a7d871c7a33c2d6
treef6b89adc4408b4a57553e4393e1bfec5544b4217
parentc2a198569aeab71c36156f83128916dce9561741
amd-xgbe: Use dma_set_mask_and_coherent to set DMA mask

Use the dma_set_mask_and_coherent function to set the DMA mask rather
than setting the DMA mask fields directly.  This was originally done
to work around a bug in the arm64 DMA support when RAM started above
the 4GB boundary which has since been fixed.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-main.c