xref: /openbmc/linux/drivers/ssb/Kconfig (revision f225763a)
1menu "Sonics Silicon Backplane"
2
3config SSB_POSSIBLE
4	bool
5	depends on HAS_IOMEM && HAS_DMA
6	default y
7
8config SSB
9	tristate "Sonics Silicon Backplane support"
10	depends on SSB_POSSIBLE
11	help
12	  Support for the Sonics Silicon Backplane bus.
13	  You only need to enable this option, if you are
14	  configuring a kernel for an embedded system with
15	  this bus.
16	  It will be auto-selected if needed in other
17	  environments.
18
19	  The module will be called ssb.
20
21	  If unsure, say N.
22
23# Common SPROM support routines
24config SSB_SPROM
25	bool
26
27# Support for Block-I/O. SELECT this from the driver that needs it.
28config SSB_BLOCKIO
29	bool
30	depends on SSB
31
32config SSB_PCIHOST_POSSIBLE
33	bool
34	depends on SSB && (PCI = y || PCI = SSB)
35	default y
36
37config SSB_PCIHOST
38	bool "Support for SSB on PCI-bus host"
39	depends on SSB_PCIHOST_POSSIBLE
40	select SSB_SPROM
41	default y
42	help
43	  Support for a Sonics Silicon Backplane on top
44	  of a PCI device.
45
46	  If unsure, say Y
47
48config SSB_B43_PCI_BRIDGE
49	bool
50	depends on SSB_PCIHOST
51	default n
52
53config SSB_PCMCIAHOST_POSSIBLE
54	bool
55	depends on SSB && (PCMCIA = y || PCMCIA = SSB) && EXPERIMENTAL
56	default y
57
58config SSB_PCMCIAHOST
59	bool "Support for SSB on PCMCIA-bus host (EXPERIMENTAL)"
60	depends on SSB_PCMCIAHOST_POSSIBLE
61	select SSB_SPROM
62	help
63	  Support for a Sonics Silicon Backplane on top
64	  of a PCMCIA device.
65
66	  If unsure, say N
67
68config SSB_SILENT
69	bool "No SSB kernel messages"
70	depends on SSB && EMBEDDED
71	help
72	  This option turns off all Sonics Silicon Backplane printks.
73	  Note that you won't be able to identify problems, once
74	  messages are turned off.
75	  This might only be desired for production kernels on
76	  embedded devices to reduce the kernel size.
77
78	  Say N
79
80config SSB_DEBUG
81	bool "SSB debugging"
82	depends on SSB && !SSB_SILENT
83	help
84	  This turns on additional runtime checks and debugging
85	  messages. Turn this on for SSB troubleshooting.
86
87	  If unsure, say N
88
89config SSB_SERIAL
90	bool
91	depends on SSB
92	# ChipCommon and ExtIf serial support routines.
93
94config SSB_DRIVER_PCICORE_POSSIBLE
95	bool
96	depends on SSB_PCIHOST
97	default y
98
99config SSB_DRIVER_PCICORE
100	bool "SSB PCI core driver"
101	depends on SSB_DRIVER_PCICORE_POSSIBLE
102	help
103	  Driver for the Sonics Silicon Backplane attached
104	  Broadcom PCI core.
105
106	  If unsure, say Y
107
108config SSB_PCICORE_HOSTMODE
109	bool "Hostmode support for SSB PCI core (EXPERIMENTAL)"
110	depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && EXPERIMENTAL
111	help
112	  PCIcore hostmode operation (external PCI bus).
113
114config SSB_DRIVER_MIPS
115	bool "SSB Broadcom MIPS core driver (EXPERIMENTAL)"
116	depends on SSB && MIPS && EXPERIMENTAL
117	select SSB_SERIAL
118	help
119	  Driver for the Sonics Silicon Backplane attached
120	  Broadcom MIPS core.
121
122	  If unsure, say N
123
124# Assumption: We are on embedded, if we compile the MIPS core.
125config SSB_EMBEDDED
126	bool
127	depends on SSB_DRIVER_MIPS
128	default y
129
130config SSB_DRIVER_EXTIF
131	bool "SSB Broadcom EXTIF core driver (EXPERIMENTAL)"
132	depends on SSB_DRIVER_MIPS && EXPERIMENTAL
133	help
134	  Driver for the Sonics Silicon Backplane attached
135	  Broadcom EXTIF core.
136
137	  If unsure, say N
138
139config SSB_DRIVER_GIGE
140	bool "SSB Broadcom Gigabit Ethernet driver"
141	depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS
142	help
143	  Driver for the Sonics Silicon Backplane attached
144	  Broadcom Gigabit Ethernet.
145
146	  If unsure, say N
147
148endmenu
149