提交 469e3d79 编写于 作者: K Kunihiko Hayashi 提交者: David S. Miller

net: ethernet: ave: add UniPhier PXs3 support

Add a compatible string and SoC data for ethernet controller on
UniPhier PXs3 SoC.
Signed-off-by: NKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 83967641
...@@ -1701,6 +1701,10 @@ static const struct ave_soc_data ave_ld20_data = { ...@@ -1701,6 +1701,10 @@ static const struct ave_soc_data ave_ld20_data = {
.is_desc_64bit = true, .is_desc_64bit = true,
}; };
static const struct ave_soc_data ave_pxs3_data = {
.is_desc_64bit = false,
};
static const struct of_device_id of_ave_match[] = { static const struct of_device_id of_ave_match[] = {
{ {
.compatible = "socionext,uniphier-pro4-ave4", .compatible = "socionext,uniphier-pro4-ave4",
...@@ -1718,6 +1722,10 @@ static const struct of_device_id of_ave_match[] = { ...@@ -1718,6 +1722,10 @@ static const struct of_device_id of_ave_match[] = {
.compatible = "socionext,uniphier-ld20-ave4", .compatible = "socionext,uniphier-ld20-ave4",
.data = &ave_ld20_data, .data = &ave_ld20_data,
}, },
{
.compatible = "socionext,uniphier-pxs3-ave4",
.data = &ave_pxs3_data,
},
{ /* Sentinel */ } { /* Sentinel */ }
}; };
MODULE_DEVICE_TABLE(of, of_ave_match); MODULE_DEVICE_TABLE(of, of_ave_match);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册