1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/pcs
Russell King (Oracle) 86b5f2d8cd net: pcs: lynx: add lynx_pcs_create_mdiodev()
Add lynx_pcs_create_mdiodev() to simplify the creation of the mdio
device associated with lynx PCS. In order to allow lynx_pcs_destroy()
to clean this up, we need to arrange for lynx_pcs_create() to take a
refcount on the mdiodev, and lynx_pcs_destroy() to put it.

Adding the refcounting to lynx_pcs_create()..lynx_pcs_destroy() will
be transparent to existing users of these interfaces.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-05-29 21:46:53 -07:00
..
Kconfig net: pcs: add driver for MediaTek SGMII PCS 2023-03-20 19:48:26 -07:00
Makefile net: pcs: add driver for MediaTek SGMII PCS 2023-03-20 19:48:26 -07:00
pcs-altera-tse.c net: pcs: altera-tse: remove unnecessary register definitions 2022-11-29 20:29:55 -08:00
pcs-lynx.c net: pcs: lynx: add lynx_pcs_create_mdiodev() 2023-05-29 21:46:53 -07:00
pcs-mtk-lynxi.c net: pcs: add driver for MediaTek SGMII PCS 2023-03-20 19:48:26 -07:00
pcs-rzn1-miic.c net: pcs: rzn1-miic: remove unused struct members and use miic variable 2023-02-09 22:47:16 -08:00
pcs-xpcs-nxp.c net: update NXP copyright text 2021-09-17 13:52:17 +01:00
pcs-xpcs.c net: pcs: xpcs: add xpcs_create_mdiodev() 2023-05-29 21:46:53 -07:00
pcs-xpcs.h net: pcs: xpcs: clean up reading clause 73 link partner advertisement 2023-05-24 09:13:22 -07:00