ssb: Update to latest upstream version of ssb.
[openwrt.git] / target / linux / generic-2.6 / files / drivers / ssb / Kconfig
index 03c4945..d976660 100644 (file)
@@ -1,18 +1,33 @@
 menu "Sonics Silicon Backplane"
 
 menu "Sonics Silicon Backplane"
 
+config SSB_POSSIBLE
+       bool
+       depends on HAS_IOMEM
+       default y
+
 config SSB
        tristate "Sonics Silicon Backplane support"
 config SSB
        tristate "Sonics Silicon Backplane support"
-       depends on EXPERIMENTAL
+       depends on SSB_POSSIBLE
        help
        help
-         Support for the Sonics Silicon Backplane bus
+         Support for the Sonics Silicon Backplane bus.
+         You only need to enable this option, if you are
+         configuring a kernel for an embedded system with
+         this bus.
+         It will be auto-selected if needed in other
+         environments.
 
 
-         The module will be called ssb
+         The module will be called ssb.
 
 
-         If unsure, say M
+         If unsure, say N.
+
+config SSB_PCIHOST_POSSIBLE
+       bool
+       depends on SSB && (PCI = y || PCI = SSB)
+       default y
 
 config SSB_PCIHOST
        bool "Support for SSB on PCI-bus host"
 
 config SSB_PCIHOST
        bool "Support for SSB on PCI-bus host"
-       depends on SSB && PCI
+       depends on SSB_PCIHOST_POSSIBLE
        default y
        help
          Support for a Sonics Silicon Backplane on top
        default y
        help
          Support for a Sonics Silicon Backplane on top
@@ -20,9 +35,14 @@ config SSB_PCIHOST
 
          If unsure, say Y
 
 
          If unsure, say Y
 
+config SSB_PCMCIAHOST_POSSIBLE
+       bool
+       depends on SSB && (PCMCIA = y || PCMCIA = SSB) && EXPERIMENTAL
+       default y
+
 config SSB_PCMCIAHOST
 config SSB_PCMCIAHOST
-       bool "Support for SSB on PCMCIA-bus host"
-       depends on SSB && PCMCIA
+       bool "Support for SSB on PCMCIA-bus host (EXPERIMENTAL)"
+       depends on SSB_PCMCIAHOST_POSSIBLE
        help
          Support for a Sonics Silicon Backplane on top
          of a PCMCIA device.
        help
          Support for a Sonics Silicon Backplane on top
          of a PCMCIA device.
@@ -31,7 +51,7 @@ config SSB_PCMCIAHOST
 
 config SSB_SILENT
        bool "No SSB kernel messages"
 
 config SSB_SILENT
        bool "No SSB kernel messages"
-       depends on SSB
+       depends on SSB && EMBEDDED
        help
          This option turns off all Sonics Silicon Backplane printks.
          Note that you won't be able to identify problems, once
        help
          This option turns off all Sonics Silicon Backplane printks.
          Note that you won't be able to identify problems, once
@@ -55,10 +75,14 @@ config SSB_SERIAL
        depends on SSB
        # ChipCommon and ExtIf serial support routines.
 
        depends on SSB
        # ChipCommon and ExtIf serial support routines.
 
+config SSB_DRIVER_PCICORE_POSSIBLE
+       bool
+       depends on SSB_PCIHOST
+       default y
+
 config SSB_DRIVER_PCICORE
        bool "SSB PCI core driver"
 config SSB_DRIVER_PCICORE
        bool "SSB PCI core driver"
-       depends on SSB && SSB_PCIHOST
-       default y
+       depends on SSB_DRIVER_PCICORE_POSSIBLE
        help
          Driver for the Sonics Silicon Backplane attached
          Broadcom PCI core.
        help
          Driver for the Sonics Silicon Backplane attached
          Broadcom PCI core.
@@ -66,14 +90,14 @@ config SSB_DRIVER_PCICORE
          If unsure, say Y
 
 config SSB_PCICORE_HOSTMODE
          If unsure, say Y
 
 config SSB_PCICORE_HOSTMODE
-       bool "Hostmode support for SSB PCI core"
-       depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS
+       bool "Hostmode support for SSB PCI core (EXPERIMENTAL)"
+       depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && EXPERIMENTAL
        help
          PCIcore hostmode operation (external PCI bus).
 
 config SSB_DRIVER_MIPS
        help
          PCIcore hostmode operation (external PCI bus).
 
 config SSB_DRIVER_MIPS
-       bool "SSB Broadcom MIPS core driver"
-       depends on SSB && MIPS
+       bool "SSB Broadcom MIPS core driver (EXPERIMENTAL)"
+       depends on SSB && MIPS && EXPERIMENTAL
        select SSB_SERIAL
        help
          Driver for the Sonics Silicon Backplane attached
        select SSB_SERIAL
        help
          Driver for the Sonics Silicon Backplane attached
@@ -82,8 +106,8 @@ config SSB_DRIVER_MIPS
          If unsure, say N
 
 config SSB_DRIVER_EXTIF
          If unsure, say N
 
 config SSB_DRIVER_EXTIF
-       bool "SSB Broadcom EXTIF core driver"
-       depends on SSB_DRIVER_MIPS
+       bool "SSB Broadcom EXTIF core driver (EXPERIMENTAL)"
+       depends on SSB_DRIVER_MIPS && EXPERIMENTAL
        help
          Driver for the Sonics Silicon Backplane attached
          Broadcom EXTIF core.
        help
          Driver for the Sonics Silicon Backplane attached
          Broadcom EXTIF core.
This page took 0.023112 seconds and 4 git commands to generate.