netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] SSB: make it depend on PCI
@ 2008-11-06  9:51 Mike Frysinger
  2008-11-06 11:07 ` Johannes Berg
  2008-11-06 16:55 ` Michael Buesch
  0 siblings, 2 replies; 15+ messages in thread
From: Mike Frysinger @ 2008-11-06  9:51 UTC (permalink / raw)
  To: Michael Buesch; +Cc: netdev, linux-kernel

Since the SSB code requires PCI, set the Kconfig dependencies accordingly.
Also tweak the menu display so that the menu does not show up at all if
SSB is not possible.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 drivers/ssb/Kconfig |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
index 307b1f6..f0a176a 100644
--- a/drivers/ssb/Kconfig
+++ b/drivers/ssb/Kconfig
@@ -1,10 +1,11 @@
-menu "Sonics Silicon Backplane"
-
 config SSB_POSSIBLE
 	bool
-	depends on HAS_IOMEM && HAS_DMA
+	depends on HAS_IOMEM && HAS_DMA && PCI
 	default y
 
+menu "Sonics Silicon Backplane"
+	depends on SSB_POSSIBLE
+
 config SSB
 	tristate "Sonics Silicon Backplane support"
 	depends on SSB_POSSIBLE
-- 
1.6.0.3


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

end of thread, other threads:[~2008-11-09 11:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-06  9:51 [PATCH] SSB: make it depend on PCI Mike Frysinger
2008-11-06 11:07 ` Johannes Berg
2008-11-06 11:15   ` Mike Frysinger
2008-11-06 11:22     ` Johannes Berg
2008-11-06 11:26       ` Mike Frysinger
2008-11-06 11:29         ` Johannes Berg
2008-11-06 11:32           ` Mike Frysinger
2008-11-06 11:35             ` Johannes Berg
2008-11-06 16:59             ` Michael Buesch
2008-11-06 21:14               ` Mike Frysinger
2008-11-06 21:24                 ` Michael Buesch
2008-11-06 16:56     ` Michael Buesch
2008-11-09 10:51     ` Geert Uytterhoeven
2008-11-09 11:49       ` Michael Buesch
2008-11-06 16:55 ` Michael Buesch

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).