aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorHans-Frieder Vogt <[email protected]>2025-03-22 10:45:52 +0000
committerJakub Kicinski <[email protected]>2025-03-25 20:53:21 +0000
commit43564f062bfe6580e0249b63d0ea733371411363 (patch)
treeb1d00b221c1ee398577bee7c4375139e0ecdbdc8 /net/unix/sysctl_net_unix.c
parentMerge branch 'basic-xdp-support-for-dqo-rda-queue-format' (diff)
downloadkernel-43564f062bfe6580e0249b63d0ea733371411363.tar.gz
kernel-43564f062bfe6580e0249b63d0ea733371411363.zip
net: phy: Add swnode support to mdiobus_scan
This patch will allow to use a swnode/fwnode defined for a phy_device. The MDIO bus (mii_bus) needs to contain nodes for the PHY devices, named "ethernet-phy@i", with i being the MDIO address (0 .. PHY_MAX_ADDR - 1). The fwnode is only attached to the phy_device if there isn't already an fwnode attached. fwnode_get_named_child_node will increase the usage counter of the fwnode. However, no new code is needed to decrease the counter again, since this is already implemented in the phy_device_release function. Signed-off-by: Hans-Frieder Vogt <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions