Skip to contentSkip to conversation

net: Correct dependencies for HIFEMAC_ETH

PATCH In review Tom Rini 2 participants 2 messages Mar 23 – Mar 30 Network drivers

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 net: Correct dependencies for HIFEMAC_ETH

The HIFEMAC_ETH functionality can only work with both DM_ETH_PHY and DM_MDIO enabled (it calls one of the functions that requires both), so express this dependency in Kconfig.

---
Cc: Jerome Forissier <[email protected]>

---
 drivers/net/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/Kconfig +2 -0
index 9d4e9f069701..ed07e286676c 100644
@@ -983,6 +983,8 @@ config HIFEMAC_ETH
 	depends on DM && OF_CONTROL
 	select CLK
 	select DM_CLK
+	select DM_ETH_PHY
+	select DM_MDIO
 	select DM_RESET
 	select PHYLIB
 	help
Signature · 1 line
2.43.0
#1 lore raw
Quoted 10 lines · Tom Rini

The HIFEMAC_ETH functionality can only work with both DM_ETH_PHY and DM_MDIO enabled (it calls one of the functions that requires both), so express this dependency in Kconfig.

---
Cc: Jerome Forissier <[email protected]>

---
 drivers/net/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

Added to net-next, thanks!

--
Jerome

drivers/net/Kconfig config HIFEMAC_ETH · line 990

Quoted 13 lines
drivers/net/Kconfig +2 -0
index 9d4e9f069701..ed07e286676c 100644
@@ -983,6 +983,8 @@ config HIFEMAC_ETH
      depends on DM && OF_CONTROL
      select CLK
      select DM_CLK
+     select DM_ETH_PHY
+     select DM_MDIO
      select DM_RESET
      select PHYLIB
      help

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.