mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
kernel: add mdio-bus-mux support
The MDIO bus multiplexing framework is used by some drivers
such as dwmac-sun8i.
As this is a per-driver requirement, set it to be hidden in the menu.
Signed-off-by: Mathew McBride <matt@traverse.com.au>
(cherry picked from commit 2dbeb60725
)
This commit is contained in:
parent
ee7a223433
commit
b1114c1a7a
@ -1359,6 +1359,21 @@ endef
|
|||||||
|
|
||||||
$(eval $(call KernelPackage,mdio))
|
$(eval $(call KernelPackage,mdio))
|
||||||
|
|
||||||
|
define KernelPackage/mdio-bus-mux
|
||||||
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
|
TITLE:=MDIO bus multiplexers
|
||||||
|
KCONFIG:=CONFIG_MDIO_BUS_MUX
|
||||||
|
HIDDEN:=1
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/net/mdio/mdio-mux.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,32,mdio-mux)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/mdio/description
|
||||||
|
Kernel framework for MDIO bus multiplexers.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,mdio-bus-mux))
|
||||||
|
|
||||||
define KernelPackage/macsec
|
define KernelPackage/macsec
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=IEEE 802.1AE MAC-level encryption (MAC)
|
TITLE:=IEEE 802.1AE MAC-level encryption (MAC)
|
||||||
|
Loading…
Reference in New Issue
Block a user