diff mbox

[PATCHv3,GIT,0/5] support for DSA hardware ethernet switch chips

Message ID 20081008.173455.97336442.davem@davemloft.net
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

David Miller Oct. 9, 2008, 12:34 a.m. UTC
From: David Miller <davem@davemloft.net>
Date: Wed, 08 Oct 2008 17:29:47 -0700 (PDT)

> From: Lennert Buytenhek <buytenh@wantstofly.org>
> Date: Wed, 8 Oct 2008 01:43:42 +0200
> 
> > This is version 3 of the DSA patch set, with various improvements
> > over v2:
>  ...
> > Lennert Buytenhek (5):
> >       [NET] Distributed Switch Architecture protocol support
> >       [NET] dsa: add support for original DSA tagging format
> >       [NET] dsa: add support for the Marvell 88E6131 switch chip
> >       [NET] dsa: add support for Trailer tagging format
> >       [NET] dsa: add support for the Marvell 88E6060 switch chip
> 
> All applied and pushed out to net-next-2.6, thanks!

I had to add the following patch to fix the allmodconfig
build.  If DSA is enabled, since it's a bool it can only
be 'y', and PHYLIB happens to be "m", things explode.

Fix this by adding appropriate select directive.

dsa: Need to select PHYLIB.

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 net/dsa/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig
index 3f2fd39..cdce4c6 100644
--- a/net/dsa/Kconfig
+++ b/net/dsa/Kconfig
@@ -2,6 +2,7 @@  menuconfig NET_DSA
 	bool "Distributed Switch Architecture support"
 	default n
 	depends on EXPERIMENTAL
+	select PHYLIB
 	---help---
 	  This allows you to use hardware switch chips that use
 	  the Distributed Switch Architecture.