diff options
author | Jijie Shao <shaojijie@huawei.com> | 2025-07-02 20:57:14 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-08 08:54:25 -0700 |
commit | 1d7cd7a9c69c2f59ee80a15bd6f3650aa518125a (patch) | |
tree | de5bdcd569fff8715ec66c4e618c9b2db8fbaa4d /net/switchdev/switchdev.c | |
parent | effdbb29fdd205db9a816077844bca9f79a1feec (diff) |
net: hibmcge: support scenario without PHY
Currently, the driver uses phylib to operate PHY by default.
On some boards, the PHY device is separated from the MAC device.
As a result, the hibmcge driver cannot operate the PHY device.
In this patch, the driver determines whether a PHY is available
based on register configuration. If no PHY is available,
the driver will use fixed_phy to register fake phydev.
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com>
Link: https://patch.msgid.link/20250702125716.2875169-2-shaojijie@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions