]> git.ipfire.org Git - thirdparty/linux.git/commit
net: phy: add flag is_genphy_driven to struct phy_device
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 14 Jun 2025 20:30:43 +0000 (22:30 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 17 Jun 2025 01:15:16 +0000 (18:15 -0700)
commit2796ff1e3dcae7a3568f8e428ec9d32a8ee2fb36
tree8e755392f896862bc9b34085516097900a769b38
parentc1864b2eb202c7bddfb381f4bb3547627967f4f4
net: phy: add flag is_genphy_driven to struct phy_device

In order to get rid of phy_driver_is_genphy() and
phy_driver_is_genphy_10g(), as first step add and use a flag
phydev->is_genphy_driven.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/3f3ad6dc-402e-4915-8d5a-2306b6d5562b@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phy_device.c
include/linux/phy.h