Re: [PATCH] net: Correct dependencies for HIFEMAC_ETH

2026-03-30 Thread Jerome Forissier



On 23/03/2026 20:53, Tom Rini wrote:
> 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.
>
> Signed-off-by: Tom Rini 
> ---
> Cc: Jerome Forissier 
> ---
>  drivers/net/Kconfig | 2 ++
>  1 file changed, 2 insertions(+)

Added to net-next, thanks!

--
Jerome

> diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
> index 9d4e9f069701..ed07e286676c 100644
> --- a/drivers/net/Kconfig
> +++ b/drivers/net/Kconfig
> @@ -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.


[PATCH] net: Correct dependencies for HIFEMAC_ETH

2026-03-23 Thread 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.

Signed-off-by: Tom Rini 
---
Cc: Jerome Forissier 
---
 drivers/net/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 9d4e9f069701..ed07e286676c 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -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
-- 
2.43.0