mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
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:defb18abcd("net: ethernet: stmmac: dwmac-rk: Add config option for dwmac-rk-tool") Fixes:541323a247("net: ethernet: stmmac: Add config option for stmmac ethtool") Fixes:2f2111686d("net: ethernet: stmmac: Add config option for full driver") Fixes:2d1e65714c("net: ethernet: stmmac: Add STMMAC_PTP config option") Fixes:41888ca1af("net: ethernet: stmmac: Add STMMAC_MMC config option") Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: Ibb4221bd052aef96f48c722ac61baf069b3af2db
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user