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