From e0b522f62bf72f84afe10aa95df15f7f82aa2366 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Sun, 27 Feb 2022 15:22:27 +0800 Subject: [PATCH] net: ethernet: stmmac: STMMAC_[ETHTOOL|FULL|MMC|PTP]/DWMAC_ROCKCHIP_TOOL default y if !ROCKCHIP_MINI_KERNEL STMMAC_ETHTOOL/STMMAC_FULL/STMMAC_MMC/STMMAC_PTP and DWMAC_ROCKCHIP_TOOL default n if ROCKCHIP_MINI_KERNEL. Fixes: defb18abcd5e ("net: ethernet: stmmac: dwmac-rk: Add config option for dwmac-rk-tool") Fixes: 541323a2470a ("net: ethernet: stmmac: Add config option for stmmac ethtool") Fixes: 2f2111686d4d ("net: ethernet: stmmac: Add config option for full driver") Fixes: 2d1e65714ce5 ("net: ethernet: stmmac: Add STMMAC_PTP config option") Fixes: 41888ca1af00 ("net: ethernet: stmmac: Add STMMAC_MMC config option") Signed-off-by: Tao Huang Change-Id: Ibb4221bd052aef96f48c722ac61baf069b3af2db --- drivers/net/ethernet/stmicro/stmmac/Kconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig index 9feee63cf616..9bffdb70f73f 100644 --- a/drivers/net/ethernet/stmicro/stmmac/Kconfig +++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig @@ -27,26 +27,26 @@ config STMMAC_SELFTESTS config STMMAC_ETHTOOL bool "Ethtool feature for STMMAC" - default STMMAC_ETH + default STMMAC_ETH if !ROCKCHIP_MINI_KERNEL help This selects the ethtool function, default is Y. config STMMAC_FULL bool "Support full driver for STMMAC" - default STMMAC_ETH + default STMMAC_ETH if !ROCKCHIP_MINI_KERNEL help This selects the full function, default is Y, full-featured version includes 4.10 and other versions, if it is N, only 4.10 core working. config STMMAC_MMC bool "Support mmc core for STMMAC" - default STMMAC_ETH + default STMMAC_ETH if !ROCKCHIP_MINI_KERNEL help This selects the stmmac mmc function, default is Y. config STMMAC_PTP bool "PTP feature for STMMAC" - default STMMAC_ETH + default STMMAC_ETH if !ROCKCHIP_MINI_KERNEL help This selects the ptp timestamp function, default is Y. @@ -166,7 +166,7 @@ config DWMAC_ROCKCHIP config DWMAC_ROCKCHIP_TOOL bool "Rockchip dwmac tool support" depends on DWMAC_ROCKCHIP - default DWMAC_ROCKCHIP + default DWMAC_ROCKCHIP if !ROCKCHIP_MINI_KERNEL help Support for Ethernet functions on Rockchip SoCs.