xref: /linux/drivers/ssb/Kconfig (revision ec43b08b5733494ad88aa618ecdf534320dd8207)
161e115a5SMichael Bueschconfig SSB_POSSIBLE
261e115a5SMichael Buesch	bool
3f225763aSMichael Buesch	depends on HAS_IOMEM && HAS_DMA
461e115a5SMichael Buesch	default y
561e115a5SMichael Buesch
695814834SMike Frysingermenu "Sonics Silicon Backplane"
795814834SMike Frysinger	depends on SSB_POSSIBLE
895814834SMike Frysinger
961e115a5SMichael Bueschconfig SSB
1061e115a5SMichael Buesch	tristate "Sonics Silicon Backplane support"
1161e115a5SMichael Buesch	depends on SSB_POSSIBLE
1261e115a5SMichael Buesch	help
1361e115a5SMichael Buesch	  Support for the Sonics Silicon Backplane bus.
1461e115a5SMichael Buesch	  You only need to enable this option, if you are
1561e115a5SMichael Buesch	  configuring a kernel for an embedded system with
1661e115a5SMichael Buesch	  this bus.
1761e115a5SMichael Buesch	  It will be auto-selected if needed in other
1861e115a5SMichael Buesch	  environments.
1961e115a5SMichael Buesch
2061e115a5SMichael Buesch	  The module will be called ssb.
2161e115a5SMichael Buesch
2261e115a5SMichael Buesch	  If unsure, say N.
2361e115a5SMichael Buesch
24e7ec2e32SMichael Buesch# Common SPROM support routines
25e7ec2e32SMichael Bueschconfig SSB_SPROM
26e7ec2e32SMichael Buesch	bool
27e7ec2e32SMichael Buesch
28d625a29bSMichael Buesch# Support for Block-I/O. SELECT this from the driver that needs it.
29d625a29bSMichael Bueschconfig SSB_BLOCKIO
30d625a29bSMichael Buesch	bool
31d625a29bSMichael Buesch	depends on SSB
32d625a29bSMichael Buesch
3361e115a5SMichael Bueschconfig SSB_PCIHOST_POSSIBLE
3461e115a5SMichael Buesch	bool
359be4bfb9SIngo Molnar	depends on SSB && (PCI = y || PCI = SSB)
3661e115a5SMichael Buesch	default y
3761e115a5SMichael Buesch
3861e115a5SMichael Bueschconfig SSB_PCIHOST
3961e115a5SMichael Buesch	bool "Support for SSB on PCI-bus host"
4061e115a5SMichael Buesch	depends on SSB_PCIHOST_POSSIBLE
41e7ec2e32SMichael Buesch	select SSB_SPROM
4261e115a5SMichael Buesch	default y
4361e115a5SMichael Buesch	help
4461e115a5SMichael Buesch	  Support for a Sonics Silicon Backplane on top
4561e115a5SMichael Buesch	  of a PCI device.
4661e115a5SMichael Buesch
4761e115a5SMichael Buesch	  If unsure, say Y
4861e115a5SMichael Buesch
49c7084535SAlexey Zaytsevconfig SSB_B43_PCI_BRIDGE
50c7084535SAlexey Zaytsev	bool
51c7084535SAlexey Zaytsev	depends on SSB_PCIHOST
52c7084535SAlexey Zaytsev	default n
53c7084535SAlexey Zaytsev
5461e115a5SMichael Bueschconfig SSB_PCMCIAHOST_POSSIBLE
5561e115a5SMichael Buesch	bool
56feeb4445SMichael Buesch	depends on SSB && (PCMCIA = y || PCMCIA = SSB)
5761e115a5SMichael Buesch	default y
5861e115a5SMichael Buesch
5961e115a5SMichael Bueschconfig SSB_PCMCIAHOST
60feeb4445SMichael Buesch	bool "Support for SSB on PCMCIA-bus host"
6161e115a5SMichael Buesch	depends on SSB_PCMCIAHOST_POSSIBLE
62e7ec2e32SMichael Buesch	select SSB_SPROM
6361e115a5SMichael Buesch	help
6461e115a5SMichael Buesch	  Support for a Sonics Silicon Backplane on top
6561e115a5SMichael Buesch	  of a PCMCIA device.
6661e115a5SMichael Buesch
6761e115a5SMichael Buesch	  If unsure, say N
6861e115a5SMichael Buesch
6924ea602eSAlbert Herranzconfig SSB_SDIOHOST_POSSIBLE
7024ea602eSAlbert Herranz	bool
7124ea602eSAlbert Herranz	depends on SSB && (MMC = y || MMC = SSB)
7224ea602eSAlbert Herranz	default y
7324ea602eSAlbert Herranz
7424ea602eSAlbert Herranzconfig SSB_SDIOHOST
7524ea602eSAlbert Herranz	bool "Support for SSB on SDIO-bus host"
7624ea602eSAlbert Herranz	depends on SSB_SDIOHOST_POSSIBLE
7724ea602eSAlbert Herranz	help
7824ea602eSAlbert Herranz	  Support for a Sonics Silicon Backplane on top
7924ea602eSAlbert Herranz	  of a SDIO device.
8024ea602eSAlbert Herranz
8124ea602eSAlbert Herranz	  If unsure, say N
8224ea602eSAlbert Herranz
8361e115a5SMichael Bueschconfig SSB_SILENT
8461e115a5SMichael Buesch	bool "No SSB kernel messages"
856a108a14SDavid Rientjes	depends on SSB && EXPERT
8661e115a5SMichael Buesch	help
8761e115a5SMichael Buesch	  This option turns off all Sonics Silicon Backplane printks.
8861e115a5SMichael Buesch	  Note that you won't be able to identify problems, once
8961e115a5SMichael Buesch	  messages are turned off.
9061e115a5SMichael Buesch	  This might only be desired for production kernels on
9161e115a5SMichael Buesch	  embedded devices to reduce the kernel size.
9261e115a5SMichael Buesch
9361e115a5SMichael Buesch	  Say N
9461e115a5SMichael Buesch
9561e115a5SMichael Bueschconfig SSB_DEBUG
9661e115a5SMichael Buesch	bool "SSB debugging"
9761e115a5SMichael Buesch	depends on SSB && !SSB_SILENT
9861e115a5SMichael Buesch	help
9961e115a5SMichael Buesch	  This turns on additional runtime checks and debugging
10061e115a5SMichael Buesch	  messages. Turn this on for SSB troubleshooting.
10161e115a5SMichael Buesch
10261e115a5SMichael Buesch	  If unsure, say N
10361e115a5SMichael Buesch
10461e115a5SMichael Bueschconfig SSB_SERIAL
10561e115a5SMichael Buesch	bool
10661e115a5SMichael Buesch	depends on SSB
10761e115a5SMichael Buesch	# ChipCommon and ExtIf serial support routines.
10861e115a5SMichael Buesch
10961e115a5SMichael Bueschconfig SSB_DRIVER_PCICORE_POSSIBLE
11061e115a5SMichael Buesch	bool
11161e115a5SMichael Buesch	depends on SSB_PCIHOST
11261e115a5SMichael Buesch	default y
11361e115a5SMichael Buesch
11461e115a5SMichael Bueschconfig SSB_DRIVER_PCICORE
11561e115a5SMichael Buesch	bool "SSB PCI core driver"
11661e115a5SMichael Buesch	depends on SSB_DRIVER_PCICORE_POSSIBLE
11761e115a5SMichael Buesch	help
11861e115a5SMichael Buesch	  Driver for the Sonics Silicon Backplane attached
11961e115a5SMichael Buesch	  Broadcom PCI core.
12061e115a5SMichael Buesch
12161e115a5SMichael Buesch	  If unsure, say Y
12261e115a5SMichael Buesch
12361e115a5SMichael Bueschconfig SSB_PCICORE_HOSTMODE
124feeb4445SMichael Buesch	bool "Hostmode support for SSB PCI core"
125feeb4445SMichael Buesch	depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS
12661e115a5SMichael Buesch	help
12761e115a5SMichael Buesch	  PCIcore hostmode operation (external PCI bus).
12861e115a5SMichael Buesch
12961e115a5SMichael Bueschconfig SSB_DRIVER_MIPS
130feeb4445SMichael Buesch	bool "SSB Broadcom MIPS core driver"
131feeb4445SMichael Buesch	depends on SSB && MIPS
13261e115a5SMichael Buesch	select SSB_SERIAL
13361e115a5SMichael Buesch	help
13461e115a5SMichael Buesch	  Driver for the Sonics Silicon Backplane attached
13561e115a5SMichael Buesch	  Broadcom MIPS core.
13661e115a5SMichael Buesch
13761e115a5SMichael Buesch	  If unsure, say N
13861e115a5SMichael Buesch
13942bfad4fSMichael Buesch# Assumption: We are on embedded, if we compile the MIPS core.
14042bfad4fSMichael Bueschconfig SSB_EMBEDDED
14142bfad4fSMichael Buesch	bool
14242bfad4fSMichael Buesch	depends on SSB_DRIVER_MIPS
14342bfad4fSMichael Buesch	default y
14442bfad4fSMichael Buesch
14561e115a5SMichael Bueschconfig SSB_DRIVER_EXTIF
146feeb4445SMichael Buesch	bool "SSB Broadcom EXTIF core driver"
147feeb4445SMichael Buesch	depends on SSB_DRIVER_MIPS
14861e115a5SMichael Buesch	help
14961e115a5SMichael Buesch	  Driver for the Sonics Silicon Backplane attached
15061e115a5SMichael Buesch	  Broadcom EXTIF core.
15161e115a5SMichael Buesch
15261e115a5SMichael Buesch	  If unsure, say N
15361e115a5SMichael Buesch
154aab547ceSMichael Bueschconfig SSB_DRIVER_GIGE
155aab547ceSMichael Buesch	bool "SSB Broadcom Gigabit Ethernet driver"
156aab547ceSMichael Buesch	depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS
157aab547ceSMichael Buesch	help
158aab547ceSMichael Buesch	  Driver for the Sonics Silicon Backplane attached
159aab547ceSMichael Buesch	  Broadcom Gigabit Ethernet.
160aab547ceSMichael Buesch
161aab547ceSMichael Buesch	  If unsure, say N
162aab547ceSMichael Buesch
163*ec43b08bSHauke Mehrtensconfig SSB_DRIVER_GPIO
164*ec43b08bSHauke Mehrtens	bool "SSB GPIO driver"
165*ec43b08bSHauke Mehrtens	depends on SSB
166*ec43b08bSHauke Mehrtens	select GPIOLIB
167*ec43b08bSHauke Mehrtens	help
168*ec43b08bSHauke Mehrtens	  Driver to provide access to the GPIO pins on the bus.
169*ec43b08bSHauke Mehrtens
170*ec43b08bSHauke Mehrtens	  If unsure, say N
171*ec43b08bSHauke Mehrtens
17261e115a5SMichael Bueschendmenu
173