|
@@ -678,8 +678,6 @@ static int xgbe_probe(struct platform_device *pdev)
|
|
xgbe_default_config(pdata);
|
|
xgbe_default_config(pdata);
|
|
|
|
|
|
/* Set the DMA mask */
|
|
/* Set the DMA mask */
|
|
- if (!dev->dma_mask)
|
|
|
|
- dev->dma_mask = &dev->coherent_dma_mask;
|
|
|
|
ret = dma_set_mask_and_coherent(dev,
|
|
ret = dma_set_mask_and_coherent(dev,
|
|
DMA_BIT_MASK(pdata->hw_feat.dma_width));
|
|
DMA_BIT_MASK(pdata->hw_feat.dma_width));
|
|
if (ret) {
|
|
if (ret) {
|