kernel: modules: netdevices: add depedency required for loongarch64
Add TARGET_loongarch64 as dependency for kmod-mdio-devres, kmod-mdio-gpio and kmod-switch-rtl8366-smi Signed-off-by: Weijie Gao <hackpascal@gmail.com>
This commit is contained in:
parent
6eafcd86b8
commit
886a507fa6
1 changed files with 3 additions and 3 deletions
|
@ -142,7 +142,7 @@ $(eval $(call KernelPackage,mii))
|
||||||
define KernelPackage/mdio-devres
|
define KernelPackage/mdio-devres
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Supports MDIO device registration
|
TITLE:=Supports MDIO device registration
|
||||||
DEPENDS:=+kmod-libphy +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_malta||TARGET_tegra):kmod-of-mdio
|
DEPENDS:=+kmod-libphy +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_loongarch64||TARGET_malta||TARGET_tegra):kmod-of-mdio
|
||||||
KCONFIG:=CONFIG_MDIO_DEVRES
|
KCONFIG:=CONFIG_MDIO_DEVRES
|
||||||
HIDDEN:=1
|
HIDDEN:=1
|
||||||
FILES:=$(LINUX_DIR)/drivers/net/phy/mdio_devres.ko
|
FILES:=$(LINUX_DIR)/drivers/net/phy/mdio_devres.ko
|
||||||
|
@ -159,7 +159,7 @@ $(eval $(call KernelPackage,mdio-devres))
|
||||||
define KernelPackage/mdio-gpio
|
define KernelPackage/mdio-gpio
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:= Supports GPIO lib-based MDIO busses
|
TITLE:= Supports GPIO lib-based MDIO busses
|
||||||
DEPENDS:=+kmod-libphy @GPIO_SUPPORT +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_malta||TARGET_tegra):kmod-of-mdio
|
DEPENDS:=+kmod-libphy @GPIO_SUPPORT +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_loongarch64||TARGET_malta||TARGET_tegra):kmod-of-mdio
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_MDIO_BITBANG \
|
CONFIG_MDIO_BITBANG \
|
||||||
CONFIG_MDIO_GPIO
|
CONFIG_MDIO_GPIO
|
||||||
|
@ -523,7 +523,7 @@ $(eval $(call KernelPackage,switch-rtl8306))
|
||||||
define KernelPackage/switch-rtl8366-smi
|
define KernelPackage/switch-rtl8366-smi
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Realtek RTL8366 SMI switch interface support
|
TITLE:=Realtek RTL8366 SMI switch interface support
|
||||||
DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_malta||TARGET_tegra):kmod-of-mdio
|
DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_loongarch64||TARGET_malta||TARGET_tegra):kmod-of-mdio
|
||||||
KCONFIG:=CONFIG_RTL8366_SMI
|
KCONFIG:=CONFIG_RTL8366_SMI
|
||||||
FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
|
FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi,1)
|
AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi,1)
|
||||||
|
|
Loading…
Reference in a new issue