diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-12-13 17:03:13 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-12-13 17:07:24 +0100 |
commit | 8fc954aeb76fe5991204646f7bee0ac521453159 (patch) | |
tree | 82939b1fb79fdabdee519e359dca31ee5cc08285 /target/linux/armsr | |
parent | b09e060e2c12535fb71f18bf0b47a0fc3e267896 (diff) | |
download | openwrt-8fc954aeb76fe5991204646f7bee0ac521453159.tar.gz openwrt-8fc954aeb76fe5991204646f7bee0ac521453159.tar.bz2 openwrt-8fc954aeb76fe5991204646f7bee0ac521453159.zip |
package: kernel: detach of-mdio dependency from stmmac-core
Detach of-mdio dependency from stmmac-core kmod to fix support for
x86_64 target. This target doesn't use OpenFirmware infrastructure and
stmmac-core for the dwmac-intel driver doesn't depends on it.
Add kmod-of-mdio to any other user of stmmac-core as it's not inherit
from stmmac-core anymore.
Fixes: #14209
Fixes: 4b4c940fbc8f ("x86: Add kmod-dwmac-intel")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/armsr')
-rw-r--r-- | target/linux/armsr/modules.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/armsr/modules.mk b/target/linux/armsr/modules.mk index 7612b258c3..7dd3739ffa 100644 --- a/target/linux/armsr/modules.mk +++ b/target/linux/armsr/modules.mk @@ -208,7 +208,7 @@ $(eval $(call KernelPackage,imx7-ulp-wdt)) define KernelPackage/dwmac-imx SUBMENU=$(NETWORK_DEVICES_MENU) TITLE:=NXP i.MX8 Ethernet controller - DEPENDS:=+kmod-stmmac-core + DEPENDS:=+kmod-stmmac-core +kmod-of-mdio KCONFIG:=CONFIG_DWMAC_IMX8 FILES=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/dwmac-imx.ko AUTOLOAD=$(call AutoLoad,45,dwmac-imx) @@ -219,7 +219,7 @@ $(eval $(call KernelPackage,dwmac-imx)) define KernelPackage/dwmac-sun8i SUBMENU=$(NETWORK_DEVICES_MENU) TITLE:=Allwinner H3/A83T/A64 (sun8i) Ethernet - DEPENDS:=+kmod-stmmac-core +kmod-mdio-bus-mux + DEPENDS:=+kmod-stmmac-core +kmod-of-mdio +kmod-mdio-bus-mux KCONFIG:=CONFIG_DWMAC_SUN8I FILES=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.ko AUTOLOAD=$(call AutoLoad,45,dwmac-sun8i) @@ -230,7 +230,7 @@ $(eval $(call KernelPackage,dwmac-sun8i)) define KernelPackage/dwmac-rockchip SUBMENU=$(NETWORK_DEVICES_MENU) TITLE:=Rockchip RK3328/RK3399/RK3568 Ethernet - DEPENDS:=+kmod-stmmac-core +kmod-mdio-bus-mux + DEPENDS:=+kmod-stmmac-core +kmod-of-mdio +kmod-mdio-bus-mux KCONFIG:=CONFIG_DWMAC_ROCKCHIP FILES=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.ko AUTOLOAD=$(call AutoLoad,45,dwmac-rk) |