]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - drivers/net/phy/Kconfig
dm: make flush bios explicitly sync
[mirror_ubuntu-artful-kernel.git] / drivers / net / phy / Kconfig
1 #
2 # PHY Layer Configuration
3 #
4
5 menuconfig MDIO_DEVICE
6 tristate "MDIO bus device drivers"
7 help
8 MDIO devices and driver infrastructure code.
9
10 if MDIO_DEVICE
11
12 config MDIO_BCM_IPROC
13 tristate "Broadcom iProc MDIO bus controller"
14 depends on ARCH_BCM_IPROC || COMPILE_TEST
15 depends on HAS_IOMEM && OF_MDIO
16 help
17 This module provides a driver for the MDIO busses found in the
18 Broadcom iProc SoC's.
19
20 config MDIO_BCM_UNIMAC
21 tristate "Broadcom UniMAC MDIO bus controller"
22 depends on HAS_IOMEM && OF_MDIO
23 help
24 This module provides a driver for the Broadcom UniMAC MDIO busses.
25 This hardware can be found in the Broadcom GENET Ethernet MAC
26 controllers as well as some Broadcom Ethernet switches such as the
27 Starfighter 2 switches.
28
29 config MDIO_BITBANG
30 tristate "Bitbanged MDIO buses"
31 depends on !(MDIO_DEVICE=y && PHYLIB=m)
32 help
33 This module implements the MDIO bus protocol in software,
34 for use by low level drivers that export the ability to
35 drive the relevant pins.
36
37 If in doubt, say N.
38
39 config MDIO_BUS_MUX
40 tristate
41 depends on OF_MDIO
42 help
43 This module provides a driver framework for MDIO bus
44 multiplexers which connect one of several child MDIO busses
45 to a parent bus. Switching between child busses is done by
46 device specific drivers.
47
48 config MDIO_BUS_MUX_BCM_IPROC
49 tristate "Broadcom iProc based MDIO bus multiplexers"
50 depends on OF && OF_MDIO && (ARCH_BCM_IPROC || COMPILE_TEST)
51 select MDIO_BUS_MUX
52 default ARCH_BCM_IPROC
53 help
54 This module provides a driver for MDIO bus multiplexers found in
55 iProc based Broadcom SoCs. This multiplexer connects one of several
56 child MDIO bus to a parent bus. Buses could be internal as well as
57 external and selection logic lies inside the same multiplexer.
58
59 config MDIO_BUS_MUX_GPIO
60 tristate "GPIO controlled MDIO bus multiplexers"
61 depends on OF_GPIO && OF_MDIO
62 select MDIO_BUS_MUX
63 help
64 This module provides a driver for MDIO bus multiplexers that
65 are controlled via GPIO lines. The multiplexer connects one of
66 several child MDIO busses to a parent bus. Child bus
67 selection is under the control of GPIO lines.
68
69 config MDIO_BUS_MUX_MMIOREG
70 tristate "MMIO device-controlled MDIO bus multiplexers"
71 depends on OF_MDIO && HAS_IOMEM
72 select MDIO_BUS_MUX
73 help
74 This module provides a driver for MDIO bus multiplexers that
75 are controlled via a simple memory-mapped device, like an FPGA.
76 The multiplexer connects one of several child MDIO busses to a
77 parent bus. Child bus selection is under the control of one of
78 the FPGA's registers.
79
80 Currently, only 8-bit registers are supported.
81
82 config MDIO_CAVIUM
83 tristate
84
85 config MDIO_GPIO
86 tristate "GPIO lib-based bitbanged MDIO buses"
87 depends on MDIO_BITBANG && GPIOLIB
88 ---help---
89 Supports GPIO lib-based MDIO busses.
90
91 To compile this driver as a module, choose M here: the module
92 will be called mdio-gpio.
93
94 config MDIO_HISI_FEMAC
95 tristate "Hisilicon FEMAC MDIO bus controller"
96 depends on HAS_IOMEM && OF_MDIO
97 help
98 This module provides a driver for the MDIO busses found in the
99 Hisilicon SoC that have an Fast Ethernet MAC.
100
101 config MDIO_MOXART
102 tristate "MOXA ART MDIO interface support"
103 depends on ARCH_MOXART
104 help
105 This driver supports the MDIO interface found in the network
106 interface units of the MOXA ART SoC
107
108 config MDIO_OCTEON
109 tristate "Octeon and some ThunderX SOCs MDIO buses"
110 depends on 64BIT
111 depends on HAS_IOMEM
112 select MDIO_CAVIUM
113 help
114 This module provides a driver for the Octeon and ThunderX MDIO
115 buses. It is required by the Octeon and ThunderX ethernet device
116 drivers on some systems.
117
118 config MDIO_SUN4I
119 tristate "Allwinner sun4i MDIO interface support"
120 depends on ARCH_SUNXI
121 help
122 This driver supports the MDIO interface found in the network
123 interface units of the Allwinner SoC that have an EMAC (A10,
124 A12, A10s, etc.)
125
126 config MDIO_THUNDER
127 tristate "ThunderX SOCs MDIO buses"
128 depends on 64BIT
129 depends on PCI
130 select MDIO_CAVIUM
131 help
132 This driver supports the MDIO interfaces found on Cavium
133 ThunderX SoCs when the MDIO bus device appears as a PCI
134 device.
135
136 config MDIO_XGENE
137 tristate "APM X-Gene SoC MDIO bus controller"
138 depends on ARCH_XGENE || COMPILE_TEST
139 help
140 This module provides a driver for the MDIO busses found in the
141 APM X-Gene SoC's.
142
143 endif
144
145 menuconfig PHYLIB
146 tristate "PHY Device support and infrastructure"
147 depends on NETDEVICES
148 select MDIO_DEVICE
149 help
150 Ethernet controllers are usually attached to PHY
151 devices. This option provides infrastructure for
152 managing PHY devices.
153
154 if PHYLIB
155
156 config SWPHY
157 bool
158
159 config LED_TRIGGER_PHY
160 bool "Support LED triggers for tracking link state"
161 depends on LEDS_TRIGGERS
162 ---help---
163 Adds support for a set of LED trigger events per-PHY. Link
164 state change will trigger the events, for consumption by an
165 LED class driver. There are triggers for each link speed currently
166 supported by the phy, and are of the form:
167 <mii bus id>:<phy>:<speed>
168
169 Where speed is in the form:
170 <Speed in megabits>Mbps or <Speed in gigabits>Gbps
171
172
173 comment "MII PHY device drivers"
174
175 config AMD_PHY
176 tristate "AMD PHYs"
177 ---help---
178 Currently supports the am79c874
179
180 config AQUANTIA_PHY
181 tristate "Aquantia PHYs"
182 ---help---
183 Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
184
185 config AT803X_PHY
186 tristate "AT803X PHYs"
187 ---help---
188 Currently supports the AT8030 and AT8035 model
189
190 config BCM63XX_PHY
191 tristate "Broadcom 63xx SOCs internal PHY"
192 depends on BCM63XX
193 select BCM_NET_PHYLIB
194 ---help---
195 Currently supports the 6348 and 6358 PHYs.
196
197 config BCM7XXX_PHY
198 tristate "Broadcom 7xxx SOCs internal PHYs"
199 select BCM_NET_PHYLIB
200 ---help---
201 Currently supports the BCM7366, BCM7439, BCM7445, and
202 40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
203
204 config BCM87XX_PHY
205 tristate "Broadcom BCM8706 and BCM8727 PHYs"
206 help
207 Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
208
209 config BCM_CYGNUS_PHY
210 tristate "Broadcom Cygnus SoC internal PHY"
211 depends on ARCH_BCM_CYGNUS || COMPILE_TEST
212 depends on MDIO_BCM_IPROC
213 select BCM_NET_PHYLIB
214 ---help---
215 This PHY driver is for the 1G internal PHYs of the Broadcom
216 Cygnus Family SoC.
217
218 Currently supports internal PHY's used in the BCM11300,
219 BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
220 BCM58303 & BCM58305 Broadcom Cygnus SoCs.
221
222 config BCM_NET_PHYLIB
223 tristate
224
225 config BROADCOM_PHY
226 tristate "Broadcom PHYs"
227 select BCM_NET_PHYLIB
228 ---help---
229 Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
230 BCM5481, BCM54810 and BCM5482 PHYs.
231
232 config CICADA_PHY
233 tristate "Cicada PHYs"
234 ---help---
235 Currently supports the cis8204
236
237 config DAVICOM_PHY
238 tristate "Davicom PHYs"
239 ---help---
240 Currently supports dm9161e and dm9131
241
242 config DP83848_PHY
243 tristate "Texas Instruments DP83848 PHY"
244 ---help---
245 Supports the DP83848 PHY.
246
247 config DP83867_PHY
248 tristate "Texas Instruments DP83867 Gigabit PHY"
249 ---help---
250 Currently supports the DP83867 PHY.
251
252 config FIXED_PHY
253 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
254 depends on PHYLIB
255 select SWPHY
256 ---help---
257 Adds the platform "fixed" MDIO Bus to cover the boards that use
258 PHYs that are not connected to the real MDIO bus.
259
260 Currently tested with mpc866ads and mpc8349e-mitx.
261
262 config ICPLUS_PHY
263 tristate "ICPlus PHYs"
264 ---help---
265 Currently supports the IP175C and IP1001 PHYs.
266
267 config INTEL_XWAY_PHY
268 tristate "Intel XWAY PHYs"
269 ---help---
270 Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
271 These PHYs are marked as standalone chips under the names
272 PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
273 SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
274
275 config LSI_ET1011C_PHY
276 tristate "LSI ET1011C PHY"
277 ---help---
278 Supports the LSI ET1011C PHY.
279
280 config LXT_PHY
281 tristate "Intel LXT PHYs"
282 ---help---
283 Currently supports the lxt970, lxt971
284
285 config MARVELL_PHY
286 tristate "Marvell PHYs"
287 ---help---
288 Currently has a driver for the 88E1011S
289
290 config MESON_GXL_PHY
291 tristate "Amlogic Meson GXL Internal PHY"
292 depends on ARCH_MESON || COMPILE_TEST
293 ---help---
294 Currently has a driver for the Amlogic Meson GXL Internal PHY
295
296 config MICREL_PHY
297 tristate "Micrel PHYs"
298 ---help---
299 Supports the KSZ9021, VSC8201, KS8001 PHYs.
300
301 config MICROCHIP_PHY
302 tristate "Microchip PHYs"
303 help
304 Supports the LAN88XX PHYs.
305
306 config MICROSEMI_PHY
307 tristate "Microsemi PHYs"
308 ---help---
309 Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
310
311 config NATIONAL_PHY
312 tristate "National Semiconductor PHYs"
313 ---help---
314 Currently supports the DP83865 PHY.
315
316 config QSEMI_PHY
317 tristate "Quality Semiconductor PHYs"
318 ---help---
319 Currently supports the qs6612
320
321 config REALTEK_PHY
322 tristate "Realtek PHYs"
323 ---help---
324 Supports the Realtek 821x PHY.
325
326 config SMSC_PHY
327 tristate "SMSC PHYs"
328 ---help---
329 Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
330
331 config STE10XP
332 tristate "STMicroelectronics STe10Xp PHYs"
333 ---help---
334 This is the driver for the STe100p and STe101p PHYs.
335
336 config TERANETICS_PHY
337 tristate "Teranetics PHYs"
338 ---help---
339 Currently supports the Teranetics TN2020
340
341 config VITESSE_PHY
342 tristate "Vitesse PHYs"
343 ---help---
344 Currently supports the vsc8244
345
346 config XILINX_GMII2RGMII
347 tristate "Xilinx GMII2RGMII converter driver"
348 ---help---
349 This driver support xilinx GMII to RGMII IP core it provides
350 the Reduced Gigabit Media Independent Interface(RGMII) between
351 Ethernet physical media devices and the Gigabit Ethernet controller.
352
353 endif # PHYLIB
354
355 config MICREL_KS8995MA
356 tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
357 depends on SPI