netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Change S390 anti-dependency to CONFIG_GENERIC_HARDIRQS dependency
@ 2008-10-14 22:28 Andy Fleming
  2008-10-14 22:44 ` David Miller
  0 siblings, 1 reply; 9+ messages in thread
From: Andy Fleming @ 2008-10-14 22:28 UTC (permalink / raw)
  To: davem; +Cc: netdev, Andy Fleming

PHY Lib and DSA expect request_irq and other such functions to exist.
S390 doesn't support those functions, however we should mark the actual
dependency, which is generic hardirq support, rather than explicitly
depend on !S390.

Signed-off-by: Andy Fleming <afleming@freescale.com>
---
This makes more sense to me, but I could be missing something?

 drivers/net/phy/Kconfig |    2 +-
 net/dsa/Kconfig         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index d55932a..73027a0 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -4,7 +4,7 @@
 
 menuconfig PHYLIB
 	tristate "PHY Device support and infrastructure"
-	depends on !S390
+	depends on GENERIC_HARDIRQS
 	depends on NET_ETHERNET
 	help
 	  Ethernet controllers are usually attached to PHY
diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig
index 49211b3..ea9c5aa 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 && GENERIC_HARDIRQS
 	select PHYLIB
 	---help---
 	  This allows you to use hardware switch chips that use
-- 
1.5.4.GIT


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-10-15 16:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-14 22:28 [PATCH] Change S390 anti-dependency to CONFIG_GENERIC_HARDIRQS dependency Andy Fleming
2008-10-14 22:44 ` David Miller
2008-10-14 23:21   ` Andy Fleming
2008-10-14 23:33     ` David Miller
2008-10-14 23:43       ` Chris Snook
2008-10-14 23:52         ` David Miller
2008-10-15  0:07           ` Chris Snook
2008-10-15  5:16             ` David Miller
2008-10-15 16:48               ` Chris Snook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).