NET: Fix some some more ARP/Ethernet releated configuration
This commit is contained in:
parent
0d7c378e4e
commit
64d18bfe12
@ -89,11 +89,11 @@
|
|||||||
# ifdef CONFIG_NET_IPv6
|
# ifdef CONFIG_NET_IPv6
|
||||||
# error "SLIP is not implemented for IPv6"
|
# error "SLIP is not implemented for IPv6"
|
||||||
# endif
|
# endif
|
||||||
# define NET_LL_HDRLEN 0
|
# define NET_LL_HDRLEN 0
|
||||||
#else
|
#else
|
||||||
# define CONFIG_NET_ETHERNET 1
|
# define CONFIG_NET_ETHERNET 1
|
||||||
# define CONFIG_NET_ARP 1
|
# define CONFIG_NET_ARP 1
|
||||||
# define NET_LL_HDRLEN 14
|
# define NET_LL_HDRLEN 14
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Layer 3/4 Configuration Options ******************************************/
|
/* Layer 3/4 Configuration Options ******************************************/
|
||||||
|
@ -7,8 +7,8 @@ menu "ARP Configuration"
|
|||||||
|
|
||||||
config NET_ARP
|
config NET_ARP
|
||||||
bool
|
bool
|
||||||
default y if !NET_SLIP
|
default y
|
||||||
default n if NET_SLIP
|
depends on NET_ETHERNET
|
||||||
---help---
|
---help---
|
||||||
This setting is currently overridden by logic in include/nuttx/net
|
This setting is currently overridden by logic in include/nuttx/net
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user