aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@freemail.hu>2018-01-08 15:47:49 +0100
committerJo-Philipp Wich <jo@mein.io>2018-01-09 08:34:03 +0100
commitb386b5727b2403ec50bf9a9bdeff7a9a2f92a90b (patch)
tree3e1583b1f46be049b0ca61bbe840fb089c639e4b /target/linux
parent09bb7105c2f7499ea4580d83c42670513f261246 (diff)
downloadupstream-b386b5727b2403ec50bf9a9bdeff7a9a2f92a90b.tar.gz
upstream-b386b5727b2403ec50bf9a9bdeff7a9a2f92a90b.tar.bz2
upstream-b386b5727b2403ec50bf9a9bdeff7a9a2f92a90b.zip
ar71xx: fix Kconfig dependency of the 88E6063 switch DSA driver
The Marvell 88E6063 ethernet switch driver depends on the DSA framework. Add a 'depends on NET_DSA' statement to its Kconfig entry to state that explicitly. Fixes the following Kconfig warning: warning: (NET_DSA_MV88E6060 && NET_DSA_MV88E6063) selects NET_DSA_TAG_TRAILER which has unmet direct dependencies (NET && NET_DSA) Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/patches-4.4/423-dsa-add-88e6063-driver.patch3
-rw-r--r--target/linux/ar71xx/patches-4.9/423-dsa-add-88e6063-driver.patch3
2 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ar71xx/patches-4.4/423-dsa-add-88e6063-driver.patch b/target/linux/ar71xx/patches-4.4/423-dsa-add-88e6063-driver.patch
index 1348cd9b04..c6b9cafade 100644
--- a/target/linux/ar71xx/patches-4.4/423-dsa-add-88e6063-driver.patch
+++ b/target/linux/ar71xx/patches-4.4/423-dsa-add-88e6063-driver.patch
@@ -1,11 +1,12 @@
--- a/drivers/net/dsa/Kconfig
+++ b/drivers/net/dsa/Kconfig
-@@ -13,6 +13,13 @@ config NET_DSA_MV88E6060
+@@ -13,6 +13,14 @@ config NET_DSA_MV88E6060
This enables support for the Marvell 88E6060 ethernet switch
chip.
+config NET_DSA_MV88E6063
+ bool "Marvell 88E6063 ethernet switch chip support"
++ depends on NET_DSA
+ select NET_DSA_TAG_TRAILER
+ ---help---
+ This enables support for the Marvell 88E6063 ethernet switch
diff --git a/target/linux/ar71xx/patches-4.9/423-dsa-add-88e6063-driver.patch b/target/linux/ar71xx/patches-4.9/423-dsa-add-88e6063-driver.patch
index 1df93e9965..dbf892b434 100644
--- a/target/linux/ar71xx/patches-4.9/423-dsa-add-88e6063-driver.patch
+++ b/target/linux/ar71xx/patches-4.9/423-dsa-add-88e6063-driver.patch
@@ -1,11 +1,12 @@
--- a/drivers/net/dsa/Kconfig
+++ b/drivers/net/dsa/Kconfig
-@@ -9,6 +9,13 @@ config NET_DSA_MV88E6060
+@@ -9,6 +9,14 @@ config NET_DSA_MV88E6060
This enables support for the Marvell 88E6060 ethernet switch
chip.
+config NET_DSA_MV88E6063
+ bool "Marvell 88E6063 ethernet switch chip support"
++ depends on NET_DSA
+ select NET_DSA_TAG_TRAILER
+ ---help---
+ This enables support for the Marvell 88E6063 ethernet switch