Skip to contentSkip to conversation

net: hibmcge: select FIXED_PHY

PATCH Applied Heiner Kallweit 3 participants 3 messages Oct 20, 2025 – Oct 22, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: hibmcge: select FIXED_PHY

hibmcge uses fixed_phy_register() et al, but doesn't cater for the case that hibmcge is built-in and fixed_phy is a module. To solve this select FIXED_PHY.

Note: This could also be treated as a fix, but as no problems are known, treat it as an improvement.

---
 drivers/net/ethernet/hisilicon/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/hisilicon/Kconfig +1 -0
index 65302c41b..38875c196 100644
@@ -148,6 +148,7 @@ config HIBMCGE
 	tristate "Hisilicon BMC Gigabit Ethernet Device Support"
 	depends on PCI && PCI_MSI
 	select PHYLIB
+	select FIXED_PHY
 	select MOTORCOMM_PHY
 	select REALTEK_PHY
 	help
Signature · 1 line
2.51.1.dirty
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Heiner Kallweit

hibmcge uses fixed_phy_register() et al, but doesn't cater for the case that hibmcge is built-in and fixed_phy is a module. To solve this

hibmcge can also be set as a module.(CONFIG_HIBMCGE=m)

Quoted 1 line

select FIXED_PHY.

Thanks,

Quoted 21 lines

Note: This could also be treated as a fix, but as no problems are known, treat it as an improvement.

---
  drivers/net/ethernet/hisilicon/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/net/ethernet/hisilicon/Kconfig +1 -0
index 65302c41b..38875c196 100644
@@ -148,6 +148,7 @@ config HIBMCGE
  	tristate "Hisilicon BMC Gigabit Ethernet Device Support"
  	depends on PCI && PCI_MSI
  	select PHYLIB
+	select FIXED_PHY
  	select MOTORCOMM_PHY
  	select REALTEK_PHY
  	help
#2 lore raw
In reply to Heiner Kallweit
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Mon, 20 Oct 2025 08:54:54 +0200 you wrote:

hibmcge uses fixed_phy_register() et al, but doesn't cater for the case that hibmcge is built-in and fixed_phy is a module. To solve this select FIXED_PHY.

Note: This could also be treated as a fix, but as no problems are known, treat it as an improvement.

[...]

Here is the summary with links:
- [net-next] net: hibmcge: select FIXED_PHY

    https://git.kernel.org/netdev/net/c/d63f0391d6c7

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html