* [PATCH net-next] amd-xgbe: Let OS arch support adjust DMA mask as needed
@ 2015-01-20 20:47 Tom Lendacky
2015-01-25 22:54 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Tom Lendacky @ 2015-01-20 20:47 UTC (permalink / raw)
To: netdev; +Cc: David Miller
Set the DMA mask to 64-bit and let the underlying arch support adjust
it as appropriate based on device tree DMA ranges, etc.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
---
drivers/net/ethernet/amd/xgbe/xgbe-main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-main.c b/drivers/net/ethernet/amd/xgbe/xgbe-main.c
index 32dd651..080c3a8 100644
--- a/drivers/net/ethernet/amd/xgbe/xgbe-main.c
+++ b/drivers/net/ethernet/amd/xgbe/xgbe-main.c
@@ -377,7 +377,7 @@ static int xgbe_probe(struct platform_device *pdev)
/* Set the DMA mask */
if (!dev->dma_mask)
dev->dma_mask = &dev->coherent_dma_mask;
- ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(40));
+ ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64));
if (ret) {
dev_err(dev, "dma_set_mask_and_coherent failed\n");
goto err_io;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-25 22:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-20 20:47 [PATCH net-next] amd-xgbe: Let OS arch support adjust DMA mask as needed Tom Lendacky
2015-01-25 22:54 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).