From: Christophe Aeschlimann<aeschlimann@xxxxxxxxx>bus layer or any platform code doesn't init this value. The same issue applies
Date: Tue, 19 Mar 2013 16:59:25 +0100
>Without the mask it is impossible to take the network interface up...
>since it returns the following error:
>
>>net eth1: coherent DMA mask is unset>
>>ifconfig: SIOCSIFFLAGS: Cannot allocate memory
>Tested on an out-of-tree ixp425 based board.
>
>Signed-off-by: Christophe Aeschlimann<c.aeschlimann@xxxxxxxxxxxx>
>@@ -1398,6 +1398,7 @@ static int eth_init_one(struct platform_device *pdev)Hmmm, shouldn't this be the default value, set by the bus layer or
> return -ENOMEM;
> > SET_NETDEV_DEV(dev, &pdev->dev);
>+ dev->dev.coherent_dma_mask = DMA_BIT_MASK(32);
similar?