提交 761743eb 编写于 作者: T Timur Tabi 提交者: David S. Miller

net/fsl_pq_mdio: add support for the Fman 1G MDIO controller

The MDIO controller on the Frame Manager (Fman) is compatible with the
QE and Gianfar MDIO controllers, but we don't care about the TBI because
the Ethernet drivers (FMD) take care of programming it.
Signed-off-by: NTimur Tabi <timur@freescale.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 dd3b8a32
...@@ -342,6 +342,15 @@ static struct of_device_id fsl_pq_mdio_match[] = { ...@@ -342,6 +342,15 @@ static struct of_device_id fsl_pq_mdio_match[] = {
}, },
}, },
#endif #endif
/* No Kconfig option for Fman support yet */
{
.compatible = "fsl,fman-mdio",
.data = &(struct fsl_pq_mdio_data) {
.mii_offset = 0,
/* Fman TBI operations are handled elsewhere */
},
},
{}, {},
}; };
MODULE_DEVICE_TABLE(of, fsl_pq_mdio_match); MODULE_DEVICE_TABLE(of, fsl_pq_mdio_match);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册