summaryrefslogtreecommitdiffstats
path: root/net/dsa
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-07-13 05:03:42 +0200
committerDavid S. Miller <davem@davemloft.net>2010-07-13 05:03:42 +0200
commit336a283b9cbe47748ccd68fd8c5158f67cee644b (patch)
tree0cbba3d49342ecbae14a8acf24b6ed9ed19956fa /net/dsa
parentact_nat: not all of the ICMP packets need an IP header payload (diff)
downloadlinux-336a283b9cbe47748ccd68fd8c5158f67cee644b.tar.xz
linux-336a283b9cbe47748ccd68fd8c5158f67cee644b.zip
dsa: Fix Kconfig dependencies.
Based upon a report by Randy Dunlap. DSA needs PHYLIB, but PHYLIB needs NET_ETHERNET. So, in order to select PHYLIB we have to make DSA depend upon NET_ETHERNET. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
-rw-r--r--net/dsa/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig
index c51b55400dc5..11201784d29a 100644
--- a/net/dsa/Kconfig
+++ b/net/dsa/Kconfig
@@ -1,7 +1,7 @@
menuconfig NET_DSA
bool "Distributed Switch Architecture support"
default n
- depends on EXPERIMENTAL && !S390
+ depends on EXPERIMENTAL && NET_ETHERNET && !S390
select PHYLIB
---help---
This allows you to use hardware switch chips that use