linux/drivers/net/pcs
Russell King (Oracle) 9a5d500cff net: pcs: xpcs: add xpcs_create_mdiodev()
Add xpcs_create_mdiodev() to simplify the creation of the mdio device
associated with the XPCS. In order to allow xpcs_destroy() to clean
this up, we need to arrange for xpcs_create() to take a refcount on
the mdiodev, and xpcs_destroy() to put it.

Adding the refcounting to xpcs_create()..xpcs_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>
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: don't print an_enabled in pcs_get_state() 2023-03-17 08:19:03 +00: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