diff options
| author | Quentin Schulz <[email protected]> | 2026-04-20 13:36:08 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-04-27 11:26:40 -0600 |
| commit | b8cd4442257af4ec754838ea179568e0e7360b8f (patch) | |
| tree | 110820cb6b902eae385d25a50fd9f99db96bb5f2 /include/net-common.h | |
| parent | 8080ab6c2843d3899a8ce941b5f6ae82b05b9e38 (diff) | |
rename NET to NET_LEGACY
Highlight that NET really is the legacy networking stack by renaming the
option to NET_LEGACY.
This requires us to add an SPL_NET_LEGACY alias to SPL_NET as otherwise
CONFIG_IS_ENABLED(NET_LEGACY) will not work for SPL.
The "depends on !NET_LWIP" for SPL_NET clearly highlights that it is
using the legacy networking app so this seems fine to do.
This also has the benefit of removing potential confusion on NET being a
specific networking stack instead of "any" network stack.
Signed-off-by: Quentin Schulz <[email protected]>
Acked-by: Ilias Apalodimas <[email protected]>
Reviewed-by: Peter Robinson <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'include/net-common.h')
| -rw-r--r-- | include/net-common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net-common.h b/include/net-common.h index f293b21bc0b..0cbdf344664 100644 --- a/include/net-common.h +++ b/include/net-common.h @@ -235,7 +235,7 @@ int eth_rx(void); /* Check for received packets */ */ void reset_phy(void); -#if CONFIG_IS_ENABLED(NET) || CONFIG_IS_ENABLED(NET_LWIP) +#if CONFIG_IS_ENABLED(NET_LEGACY) || CONFIG_IS_ENABLED(NET_LWIP) /** * eth_set_enable_bootdevs() - Enable or disable binding of Ethernet bootdevs * @@ -485,7 +485,7 @@ int net_init(void); /* Called when a network operation fails to know if it should be re-tried */ int net_start_again(void); -/* NET compatibility */ +/* NET_LEGACY compatibility */ enum proto_t; int net_loop(enum proto_t protocol); |
