]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-mac: add PCS support through the Lynx module
authorIoana Ciornei <ioana.ciornei@nxp.com>
Wed, 23 Sep 2020 15:41:23 +0000 (18:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 02:49:36 +0000 (19:49 -0700)
commit402fbd30a6733bf07f0bdf1da317e023ec8fc308
tree80940ee13b54eb0e9f8e3d2ca01ec782220b5320
parent65fafee577b453cd54f9c13a5758ecb7941cb5aa
dpaa2-mac: add PCS support through the Lynx module

Include PCS support in the dpaa2-eth driver by integrating it with the
new Lynx PCS module. There is not much to talk about in terms of changes
needed in the dpaa2-eth driver since the only steps necessary are to
find the MDIO device representing the PCS, register it to the Lynx PCS
module and then let phylink know if its existence also.
After this, the PCS callbacks will be treated directly by Lynx, without
interraction from dpaa2-eth's part.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/Kconfig
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.h