1source "drivers/net/phy/Kconfig" 2 3config DM_ETH 4 bool "Enable Driver Model for Ethernet drivers" 5 depends on DM 6 help 7 Enable driver model for Ethernet. 8 9 The eth_*() interface will be implemented by the UC_ETH class 10 This is currently implemented in net/eth.c 11 Look in include/net.h for details. 12 13config DM_MDIO 14 bool "Enable Driver Model for MDIO devices" 15 depends on DM_ETH && PHYLIB 16 help 17 Enable driver model for MDIO devices 18 19 Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as 20 stand-alone devices. Useful in particular for systems that support 21 DM_ETH and have a stand-alone MDIO hardware block shared by multiple 22 Ethernet interfaces. 23 This is currently implemented in net/mdio-uclass.c 24 Look in include/miiphy.h for details. 25 26config DM_ETH_PHY 27 bool "Enable Driver Model for Ethernet Generic PHY drivers" 28 depends on DM 29 help 30 Enable driver model for Ethernet Generic PHY . 31 32menuconfig NETDEVICES 33 bool "Network device support" 34 depends on NET 35 default y if DM_ETH 36 help 37 You must select Y to enable any network device support 38 Generally if you have any networking support this is a given 39 40 If unsure, say Y 41 42if NETDEVICES 43 44config PHY_GIGE 45 bool "Enable GbE PHY status parsing and configuration" 46 help 47 Enables support for parsing the status output and for 48 configuring GbE PHYs (affects the inner workings of some 49 commands and miiphyutil.c). 50 51config AG7XXX 52 bool "Atheros AG7xxx Ethernet MAC support" 53 depends on DM_ETH && ARCH_ATH79 54 select PHYLIB 55 help 56 This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is 57 present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips. 58 59 60config ALTERA_TSE 61 bool "Altera Triple-Speed Ethernet MAC support" 62 depends on DM_ETH 63 select PHYLIB 64 help 65 This driver supports the Altera Triple-Speed (TSE) Ethernet MAC. 66 Please find details on the "Triple-Speed Ethernet MegaCore Function 67 Resource Center" of Altera. 68 69config BCM_SF2_ETH 70 bool "Broadcom SF2 (Starfighter2) Ethernet support" 71 select PHYLIB 72 help 73 This is an abstract framework which provides a generic interface 74 to MAC and DMA management for multiple Broadcom SoCs such as 75 Cygnus, NSP and bcm28155_ap platforms. 76 77config BCM_SF2_ETH_DEFAULT_PORT 78 int "Broadcom SF2 (Starfighter2) Ethernet default port number" 79 depends on BCM_SF2_ETH 80 default 0 81 help 82 Default port number for the Starfighter2 ethernet driver. 83 84config BCM_SF2_ETH_GMAC 85 bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support" 86 depends on BCM_SF2_ETH 87 help 88 This flag enables the ethernet support for Broadcom platforms with 89 GMAC such as Cygnus. This driver is based on the framework provided 90 by the BCM_SF2_ETH driver. 91 Say Y to any bcmcygnus based platforms. 92 93config DWC_ETH_QOS 94 bool "Synopsys DWC Ethernet QOS device support" 95 depends on DM_ETH 96 select PHYLIB 97 help 98 This driver supports the Synopsys Designware Ethernet QOS (Quality 99 Of Service) IP block. The IP supports many options for bus type, 100 clocking/reset structure, and feature list. This driver currently 101 supports the specific configuration used in NVIDIA's Tegra186 chip, 102 but should be extensible to other combinations quite easily. 103 104config DWC_ETH_QOS_FULL 105 bool "Synopsys DWC Ethernet QOS full vendor support" 106 depends on DWC_ETH_QOS 107 default y 108 help 109 Select this to supports the Synopsys Designware Ethernet QOS (Quality 110 Of Service) IP block for all chips, default is Y, if select it N, only 111 support rockchip's chips. 112 113config E1000 114 bool "Intel PRO/1000 Gigabit Ethernet support" 115 help 116 This driver supports Intel(R) PRO/1000 gigabit ethernet family of 117 adapters. For more information on how to identify your adapter, go 118 to the Adapter & Driver ID Guide at: 119 120 <http://support.intel.com/support/network/adapter/pro100/21397.htm> 121 122config E1000_SPI_GENERIC 123 bool "Allow access to the Intel 8257x SPI bus" 124 depends on E1000 125 help 126 Allow generic access to the SPI bus on the Intel 8257x, for 127 example with the "sspi" command. 128 129config E1000_SPI 130 bool "Enable SPI bus utility code" 131 depends on E1000 132 help 133 Utility code for direct access to the SPI bus on Intel 8257x. 134 This does not do anything useful unless you set at least one 135 of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC. 136 137config CMD_E1000 138 bool "Enable the e1000 command" 139 depends on E1000 140 help 141 This enables the 'e1000' management command for E1000 devices. When 142 used on devices with SPI support you can reprogram the EEPROM from 143 U-Boot. 144 145config ETH_SANDBOX 146 depends on DM_ETH && SANDBOX 147 default y 148 bool "Sandbox: Mocked Ethernet driver" 149 help 150 This driver simply responds with fake ARP replies and ping 151 replies that are used to verify network stack functionality 152 153 This driver is particularly useful in the test/dm/eth.c tests 154 155config ETH_SANDBOX_RAW 156 depends on DM_ETH && SANDBOX 157 default y 158 bool "Sandbox: Bridge to Linux Raw Sockets" 159 help 160 This driver is a bridge from the bottom of the network stack 161 in U-Boot to the RAW AF_PACKET API in Linux. This allows real 162 network traffic to be tested from within sandbox. See 163 board/sandbox/README.sandbox for more details. 164 165config ETH_DESIGNWARE 166 bool "Synopsys Designware Ethernet MAC" 167 select PHYLIB 168 help 169 This MAC is present in SoCs from various vendors. It supports 170 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to 171 provide the PHY (physical media interface). 172 173config ETHOC 174 bool "OpenCores 10/100 Mbps Ethernet MAC" 175 help 176 This MAC is present in OpenRISC and Xtensa XTFPGA boards. 177 178config FEC_MXC 179 bool "FEC Ethernet controller" 180 depends on MX5 || MX6 181 help 182 This driver supports the 10/100 Fast Ethernet controller for 183 NXP i.MX processors. 184 185config FTMAC100 186 bool "Ftmac100 Ethernet Support" 187 help 188 This MAC is present in Andestech SoCs. 189 190config MVPP2 191 bool "Marvell Armada 375/7K/8K network interface support" 192 depends on ARMADA_375 || ARMADA_8K 193 select PHYLIB 194 help 195 This driver supports the network interface units in the 196 Marvell ARMADA 375, 7K and 8K SoCs. 197 198config MACB 199 bool "Cadence MACB/GEM Ethernet Interface" 200 depends on DM_ETH 201 select PHYLIB 202 help 203 The Cadence MACB ethernet interface is found on many Atmel 204 AT91 and SAMA5 parts. This driver also supports the Cadence 205 GEM (Gigabit Ethernet MAC) found in some ARM SoC devices. 206 Say Y to include support for the MACB/GEM chip. 207 208config PCH_GBE 209 bool "Intel Platform Controller Hub EG20T GMAC driver" 210 depends on DM_ETH && DM_PCI 211 select PHYLIB 212 help 213 This MAC is present in Intel Platform Controller Hub EG20T. It 214 supports 10/100/1000 Mbps operation. 215 216config RGMII 217 bool "Enable RGMII" 218 help 219 Enable the support of the Reduced Gigabit Media-Independent 220 Interface (RGMII). 221 222config RTL8139 223 bool "Realtek 8139 series Ethernet controller driver" 224 help 225 This driver supports Realtek 8139 series fast ethernet family of 226 PCI chipsets/adapters. 227 228config RTL8169 229 bool "Realtek 8169 series Ethernet controller driver" 230 help 231 This driver supports Realtek 8169 series gigabit ethernet family of 232 PCI/PCIe chipsets/adapters. 233 234config SUN7I_GMAC 235 bool "Enable Allwinner GMAC Ethernet support" 236 help 237 Enable the support for Sun7i GMAC Ethernet controller 238 239config SUN4I_EMAC 240 bool "Allwinner Sun4i Ethernet MAC support" 241 depends on DM_ETH 242 help 243 This driver supports the Allwinner based SUN4I Ethernet MAC. 244 245config SUN8I_EMAC 246 bool "Allwinner Sun8i Ethernet MAC support" 247 depends on DM_ETH 248 select PHYLIB 249 select PHY_GIGE 250 help 251 This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC. 252 It can be found in H3/A64/A83T based SoCs and compatible with both 253 External and Internal PHYs. 254 255config XILINX_AXIEMAC 256 depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP) 257 select PHYLIB 258 select MII 259 bool "Xilinx AXI Ethernet" 260 help 261 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs. 262 263config XILINX_EMACLITE 264 depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS) 265 select PHYLIB 266 select MII 267 bool "Xilinx Ethernetlite" 268 help 269 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs. 270 271config ZYNQ_GEM 272 depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP) 273 select PHYLIB 274 bool "Xilinx Ethernet GEM" 275 help 276 This MAC is present in Xilinx Zynq and ZynqMP SoCs. 277 278config PIC32_ETH 279 bool "Microchip PIC32 Ethernet Support" 280 depends on DM_ETH && MACH_PIC32 281 select PHYLIB 282 help 283 This driver implements 10/100 Mbps Ethernet and MAC layer for 284 Microchip PIC32 microcontrollers. 285 286config GMAC_ROCKCHIP 287 bool "Rockchip Synopsys Designware Ethernet MAC" 288 depends on DM_ETH && (ETH_DESIGNWARE || DWC_ETH_QOS) 289 help 290 This driver provides Rockchip SoCs network support based on the 291 Synopsys Designware driver. 292 293config RENESAS_RAVB 294 bool "Renesas Ethernet AVB MAC" 295 depends on DM_ETH && RCAR_GEN3 296 select PHYLIB 297 help 298 This driver implements support for the Ethernet AVB block in 299 Renesas M3 and H3 SoCs. 300 301config MPC8XX_FEC 302 bool "Fast Ethernet Controller on MPC8XX" 303 depends on MPC8xx 304 select MII 305 help 306 This driver implements support for the Fast Ethernet Controller 307 on MPC8XX 308 309config ETHER_ON_FEC1 310 bool "FEC1" 311 depends on MPC8XX_FEC 312 default y 313 314config FEC1_PHY 315 int "FEC1 PHY" 316 depends on ETHER_ON_FEC1 317 default -1 318 help 319 Define to the hardcoded PHY address which corresponds 320 to the given FEC; i. e. 321 #define CONFIG_FEC1_PHY 4 322 means that the PHY with address 4 is connected to FEC1 323 324 When set to -1, means to probe for first available. 325 326config PHY_NORXERR 327 bool "PHY_NORXERR" 328 depends on ETHER_ON_FEC1 329 default n 330 help 331 The PHY does not have a RXERR line (RMII only). 332 (so program the FEC to ignore it). 333 334config ETHER_ON_FEC2 335 bool "FEC2" 336 depends on MPC8XX_FEC && MPC885 337 default y 338 339config FEC2_PHY 340 int "FEC2 PHY" 341 depends on ETHER_ON_FEC2 342 default -1 343 help 344 Define to the hardcoded PHY address which corresponds 345 to the given FEC; i. e. 346 #define CONFIG_FEC1_PHY 4 347 means that the PHY with address 4 is connected to FEC1 348 349 When set to -1, means to probe for first available. 350 351config FEC2_PHY_NORXERR 352 bool "PHY_NORXERR" 353 depends on ETHER_ON_FEC2 354 default n 355 help 356 The PHY does not have a RXERR line (RMII only). 357 (so program the FEC to ignore it). 358 359endif # NETDEVICES 360