mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-24 13:58:36 +08:00
components: net: lwip: port: add netdev callback on link status change setting
- set netdev callback on link status change in netdev_add() Signed-off-by: Jiading Xu <Jiading.Xu@hpmicro.com>
This commit is contained in:
@@ -19,7 +19,11 @@ if RT_USING_NETDEV
|
||||
config NETDEV_USING_AUTO_DEFAULT
|
||||
bool "Enable default netdev automatic change features"
|
||||
default y
|
||||
|
||||
|
||||
config NETDEV_USING_LINK_STATUS_CALLBACK
|
||||
bool "Enable netdev callback on link status change"
|
||||
default n
|
||||
|
||||
config NETDEV_USING_IPV6
|
||||
bool "Enable IPV6 protocol support"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user