On 25/08/2026 20:11, James Hilliard wrote:
> The ethsw command controls Ethernet switch drivers through the switch
> API and does not use the network protocol stack. Its Kconfig entry is
> inside the NET_LEGACY block, preventing the command from being enabled
> with lwIP.
>
> Move CMD_ETHSW outside the legacy-only block.
>
> Signed-off-by: James Hilliard <[email protected]>
> ---
>  cmd/Kconfig | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index ff90a87024c..2867e65f605 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -2195,14 +2195,6 @@ config IPV6_ROUTER_DISCOVERY
>         Will automatically perform router solicitation on first IPv6
>         network operation
>
> -config CMD_ETHSW
> -     bool "ethsw"
> -     help
> -       Allow control of L2 Ethernet switch commands. These are supported
> -       by the vsc9953 Ethernet driver at present. Sub-commands allow
> -       operations such as enabling / disabling a port and
> -       viewing/maintaining the filtering database (FDB)
> -
>  config CMD_WOL
>       bool "wol"
>       help
> @@ -2223,6 +2215,14 @@ config CMD_DNS
>       help
>         Lookup the IP of a hostname
>
> +config CMD_ETHSW
> +     bool "ethsw"
> +     help
> +       Allow control of L2 Ethernet switch commands. These are supported
> +       by the vsc9953 Ethernet driver at present. Sub-commands allow
> +       operations such as enabling / disabling a port and
> +       viewing/maintaining the filtering database (FDB)
> +
>  config CMD_MII
>       bool "mii"
>       imply CMD_MDIO
>
> ---
> base-commit: 964ad5b5c91b7be56e443e899d7f873e6aa8c9fc
> change-id: 20260825-submit-lwip-ethsw-v1-b79022823e94
>
> Best regards,
> --
> James Hilliard <[email protected]>

Reviewed-by: Jerome Forissier <[email protected]>

Thanks,
--
Jerome
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.

Reply via email to