mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
net/mdio: add mdio bus
Currently the mdio communication is part of the monolithic 'full netdevs'. This commit serves as an way to add modularity for the netdevs drivers. A new upperhalf/lowerhalf mdio device comes with this commit that manages the data transfer ofer mdio interface. Signed-off-by: Luchian Mihai <luchiann.mihai@gmail.com>
This commit is contained in:
@@ -29,6 +29,10 @@ if(CONFIG_NET)
|
||||
list(APPEND SRCS netdev_upperhalf.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_MDIO_BUS)
|
||||
list(APPEND SRCS mdio.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_NET_LOOPBACK)
|
||||
list(APPEND SRCS loopback.c)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user