Kconfig (17487eebaf5799f7a2e78364cc94fb84e37300a2) Kconfig (90eff9096c01ba90cdae504a6b95ee87fe2556a3)
1#
2# PHY Layer Configuration
3#
4
1#
2# PHY Layer Configuration
3#
4
5menuconfig PHYLIB
6 tristate "PHY Device support and infrastructure"
7 depends on NETDEVICES
5menuconfig MDIO_DEVICE
6 tristate "MDIO bus device drivers"
8 help
7 help
9 Ethernet controllers are usually attached to PHY
10 devices. This option provides infrastructure for
11 managing PHY devices.
8 MDIO devices and driver infrastructure code.
12
9
13if PHYLIB
10if MDIO_DEVICE
14
11
15config SWPHY
16 bool
17
18config LED_TRIGGER_PHY
19 bool "Support LED triggers for tracking link state"
20 depends on LEDS_TRIGGERS
21 ---help---
22 Adds support for a set of LED trigger events per-PHY. Link
23 state change will trigger the events, for consumption by an
24 LED class driver. There are triggers for each link speed currently
25 supported by the phy, and are of the form:
26 <mii bus id>:<phy>:<speed>
27
28 Where speed is in the form:
29 <Speed in megabits>Mbps or <Speed in gigabits>Gbps
30
31comment "MDIO bus device drivers"
32
33config MDIO_BCM_IPROC
34 tristate "Broadcom iProc MDIO bus controller"
35 depends on ARCH_BCM_IPROC || COMPILE_TEST
36 depends on HAS_IOMEM && OF_MDIO
37 help
38 This module provides a driver for the MDIO busses found in the
39 Broadcom iProc SoC's.
40
41config MDIO_BCM_UNIMAC
42 tristate "Broadcom UniMAC MDIO bus controller"
43 depends on HAS_IOMEM && OF_MDIO
44 help
45 This module provides a driver for the Broadcom UniMAC MDIO busses.
46 This hardware can be found in the Broadcom GENET Ethernet MAC
47 controllers as well as some Broadcom Ethernet switches such as the
48 Starfighter 2 switches.
49
50config MDIO_BITBANG
51 tristate "Bitbanged MDIO buses"
12config 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
20config 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
29config MDIO_BITBANG
30 tristate "Bitbanged MDIO buses"
31 depends on !(MDIO_DEVICE=y && PHYLIB=m)
52 help
53 This module implements the MDIO bus protocol in software,
54 for use by low level drivers that export the ability to
55 drive the relevant pins.
56
57 If in doubt, say N.
58
59config MDIO_BUS_MUX

--- 95 unchanged lines hidden (view full) ---

155
156config MDIO_XGENE
157 tristate "APM X-Gene SoC MDIO bus controller"
158 depends on ARCH_XGENE || COMPILE_TEST
159 help
160 This module provides a driver for the MDIO busses found in the
161 APM X-Gene SoC's.
162
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
39config MDIO_BUS_MUX

--- 95 unchanged lines hidden (view full) ---

135
136config 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
143endif
144
145menuconfig 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
154if PHYLIB
155
156config SWPHY
157 bool
158
159config 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
163comment "MII PHY device drivers"
164
165config AMD_PHY
166 tristate "AMD PHYs"
167 ---help---
168 Currently supports the am79c874
169
170config AQUANTIA_PHY

--- 177 unchanged lines hidden ---
173comment "MII PHY device drivers"
174
175config AMD_PHY
176 tristate "AMD PHYs"
177 ---help---
178 Currently supports the am79c874
179
180config AQUANTIA_PHY

--- 177 unchanged lines hidden ---