cns3xxx: add missing dma mask for ethernet device
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43399
This commit is contained in:
parent
ebf6331c10
commit
d0e4f71b9a
@ -341,12 +341,17 @@ static struct resource laguna_net_resource[] = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static u64 laguna_net_dmamask = DMA_BIT_MASK(32);
|
||||||
static struct platform_device laguna_net_device = {
|
static struct platform_device laguna_net_device = {
|
||||||
.name = "cns3xxx_eth",
|
.name = "cns3xxx_eth",
|
||||||
.id = 0,
|
.id = 0,
|
||||||
.resource = laguna_net_resource,
|
.resource = laguna_net_resource,
|
||||||
.num_resources = ARRAY_SIZE(laguna_net_resource),
|
.num_resources = ARRAY_SIZE(laguna_net_resource),
|
||||||
.dev.platform_data = &laguna_net_data,
|
.dev = {
|
||||||
|
.dma_mask = &laguna_net_dmamask,
|
||||||
|
.coherent_dma_mask = DMA_BIT_MASK(32),
|
||||||
|
.platform_data = &laguna_net_data,
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user