[PATCH] SSB: make it depend on PCI



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@xxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH 7/8] Kconfig: silicon backplane dependency.
    ... Make the "Sonics Silicon Backplane" menu dependent on the two buses ... SSB does not depend on PCI or PCMCIA. ... PCI bus, ...
    (Linux-Kernel)
  • Re: [PATCH FINAL] Merge the Sonics Silicon Backplane subsystem
    ... config SSB ... tristate "Sonics Silicon Backplane support" ... bcm43xx in the kconfig anymore, as they have to enable ssb ... Same goes for b44. ...
    (Linux-Kernel)
  • Re: Eton E10 $50 at Radio Shack
    ... the display unit so I got RS's double warranty on it). ... Funny, the clearance ... this switch) - sure enough, it is single-conversion, without SSB. ...
    (rec.radio.shortwave)
  • Re: for swap FT-77 for HF WHY ??
    ... it was from ebay originally.. ... all bands 80 to 10 if a display could be found this side of the next ... >>> not bothered if it's just SSB not bothered about a frequency display so ... >> Just bang it on eBay Mark as working and make sure you post it special ...
    (uk.radio.amateur)
  • Re: for swap FT-77 for HF WHY ??
    ... >> i have a yaesu FT-77 with a damaged display, ... >> unless i can get a display or find a signal for a external counter it ... >> not bothered if it's just SSB not bothered about a frequency display so ...
    (uk.radio.amateur)