1source "drivers/net/phy/Kconfig" 2source "drivers/net/pfe_eth/Kconfig" 3 4config DM_ETH 5 bool "Enable Driver Model for Ethernet drivers" 6 depends on DM 7 help 8 Enable driver model for Ethernet. 9 10 The eth_*() interface will be implemented by the UC_ETH class 11 This is currently implemented in net/eth.c 12 Look in include/net.h for details. 13 14config DRIVER_TI_CPSW 15 bool "TI Common Platform Ethernet Switch" 16 select PHYLIB 17 help 18 This driver supports the TI three port switch gigabit ethernet 19 subsystem found in the TI SoCs. 20 21menuconfig NETDEVICES 22 bool "Network device support" 23 depends on NET 24 default y if DM_ETH 25 help 26 You must select Y to enable any network device support 27 Generally if you have any networking support this is a given 28 29 If unsure, say Y 30 31if NETDEVICES 32 33config PHY_GIGE 34 bool "Enable GbE PHY status parsing and configuration" 35 help 36 Enables support for parsing the status output and for 37 configuring GbE PHYs (affects the inner workings of some 38 commands and miiphyutil.c). 39 40config AG7XXX 41 bool "Atheros AG7xxx Ethernet MAC support" 42 depends on DM_ETH && ARCH_ATH79 43 select PHYLIB 44 help 45 This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is 46 present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips. 47 48 49config ALTERA_TSE 50 bool "Altera Triple-Speed Ethernet MAC support" 51 depends on DM_ETH 52 select PHYLIB 53 help 54 This driver supports the Altera Triple-Speed (TSE) Ethernet MAC. 55 Please find details on the "Triple-Speed Ethernet MegaCore Function 56 Resource Center" of Altera. 57 58config BCM_SF2_ETH 59 bool "Broadcom SF2 (Starfighter2) Ethernet support" 60 select PHYLIB 61 help 62 This is an abstract framework which provides a generic interface 63 to MAC and DMA management for multiple Broadcom SoCs such as 64 Cygnus, NSP and bcm28155_ap platforms. 65 66config BCM_SF2_ETH_DEFAULT_PORT 67 int "Broadcom SF2 (Starfighter2) Ethernet default port number" 68 depends on BCM_SF2_ETH 69 default 0 70 help 71 Default port number for the Starfighter2 ethernet driver. 72 73config BCM_SF2_ETH_GMAC 74 bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support" 75 depends on BCM_SF2_ETH 76 help 77 This flag enables the ethernet support for Broadcom platforms with 78 GMAC such as Cygnus. This driver is based on the framework provided 79 by the BCM_SF2_ETH driver. 80 Say Y to any bcmcygnus based platforms. 81 82config DWC_ETH_QOS 83 bool "Synopsys DWC Ethernet QOS device support" 84 depends on DM_ETH 85 select PHYLIB 86 help 87 This driver supports the Synopsys Designware Ethernet QOS (Quality 88 Of Service) IP block. The IP supports many options for bus type, 89 clocking/reset structure, and feature list. This driver currently 90 supports the specific configuration used in NVIDIA's Tegra186 chip, 91 but should be extensible to other combinations quite easily. 92 93config E1000 94 bool "Intel PRO/1000 Gigabit Ethernet support" 95 help 96 This driver supports Intel(R) PRO/1000 gigabit ethernet family of 97 adapters. For more information on how to identify your adapter, go 98 to the Adapter & Driver ID Guide at: 99 100 <http://support.intel.com/support/network/adapter/pro100/21397.htm> 101 102config E1000_SPI_GENERIC 103 bool "Allow access to the Intel 8257x SPI bus" 104 depends on E1000 105 help 106 Allow generic access to the SPI bus on the Intel 8257x, for 107 example with the "sspi" command. 108 109config E1000_SPI 110 bool "Enable SPI bus utility code" 111 depends on E1000 112 help 113 Utility code for direct access to the SPI bus on Intel 8257x. 114 This does not do anything useful unless you set at least one 115 of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC. 116 117config CMD_E1000 118 bool "Enable the e1000 command" 119 depends on E1000 120 help 121 This enables the 'e1000' management command for E1000 devices. When 122 used on devices with SPI support you can reprogram the EEPROM from 123 U-Boot. 124 125config ETH_SANDBOX 126 depends on DM_ETH && SANDBOX 127 default y 128 bool "Sandbox: Mocked Ethernet driver" 129 help 130 This driver simply responds with fake ARP replies and ping 131 replies that are used to verify network stack functionality 132 133 This driver is particularly useful in the test/dm/eth.c tests 134 135config ETH_SANDBOX_RAW 136 depends on DM_ETH && SANDBOX 137 default y 138 bool "Sandbox: Bridge to Linux Raw Sockets" 139 help 140 This driver is a bridge from the bottom of the network stack 141 in U-Boot to the RAW AF_PACKET API in Linux. This allows real 142 network traffic to be tested from within sandbox. See 143 board/sandbox/README.sandbox for more details. 144 145config ETH_DESIGNWARE 146 bool "Synopsys Designware Ethernet MAC" 147 select PHYLIB 148 help 149 This MAC is present in SoCs from various vendors. It supports 150 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to 151 provide the PHY (physical media interface). 152 153config ETHOC 154 bool "OpenCores 10/100 Mbps Ethernet MAC" 155 help 156 This MAC is present in OpenRISC and Xtensa XTFPGA boards. 157 158config FEC_MXC_SHARE_MDIO 159 bool "Share the MDIO bus for FEC controller" 160 depends on FEC_MXC 161 162config FEC_MXC_MDIO_BASE 163 hex "MDIO base address for the FEC controller" 164 depends on FEC_MXC_SHARE_MDIO 165 help 166 This specifies the MDIO registers base address. It is used when 167 two FEC controllers share MDIO bus. 168 169config FEC_MXC 170 bool "FEC Ethernet controller" 171 depends on MX5 || MX6 || MX7 172 help 173 This driver supports the 10/100 Fast Ethernet controller for 174 NXP i.MX processors. 175 176config FTMAC100 177 bool "Ftmac100 Ethernet Support" 178 help 179 This MAC is present in Andestech SoCs. 180 181config MVGBE 182 bool "Marvell Orion5x/Kirkwood network interface support" 183 depends on KIRKWOOD || ORION5X 184 help 185 This driver supports the network interface units in the 186 Marvell Orion5x and Kirkwood SoCs 187 188config MVNETA 189 bool "Marvell Armada XP/385/3700 network interface support" 190 depends on ARMADA_XP || ARMADA_38X || ARMADA_3700 191 select PHYLIB 192 help 193 This driver supports the network interface units in the 194 Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs 195 196config MVPP2 197 bool "Marvell Armada 375/7K/8K network interface support" 198 depends on ARMADA_375 || ARMADA_8K 199 select PHYLIB 200 help 201 This driver supports the network interface units in the 202 Marvell ARMADA 375, 7K and 8K SoCs. 203 204config MACB 205 bool "Cadence MACB/GEM Ethernet Interface" 206 depends on DM_ETH 207 select PHYLIB 208 help 209 The Cadence MACB ethernet interface is found on many Atmel 210 AT91 and SAMA5 parts. This driver also supports the Cadence 211 GEM (Gigabit Ethernet MAC) found in some ARM SoC devices. 212 Say Y to include support for the MACB/GEM chip. 213 214config MACB_ZYNQ 215 bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq" 216 depends on MACB 217 help 218 The Cadence MACB ethernet interface was used on Zynq platform. 219 Say Y to enable support for the MACB/GEM in Zynq chip. 220 221config PCH_GBE 222 bool "Intel Platform Controller Hub EG20T GMAC driver" 223 depends on DM_ETH && DM_PCI 224 select PHYLIB 225 help 226 This MAC is present in Intel Platform Controller Hub EG20T. It 227 supports 10/100/1000 Mbps operation. 228 229config RGMII 230 bool "Enable RGMII" 231 help 232 Enable the support of the Reduced Gigabit Media-Independent 233 Interface (RGMII). 234 235config RTL8139 236 bool "Realtek 8139 series Ethernet controller driver" 237 help 238 This driver supports Realtek 8139 series fast ethernet family of 239 PCI chipsets/adapters. 240 241config RTL8169 242 bool "Realtek 8169 series Ethernet controller driver" 243 help 244 This driver supports Realtek 8169 series gigabit ethernet family of 245 PCI/PCIe chipsets/adapters. 246 247config SMC911X 248 bool "SMSC LAN911x and LAN921x controller driver" 249 250if SMC911X 251 252config SMC911X_BASE 253 hex "SMC911X Base Address" 254 help 255 Define this to hold the physical address 256 of the device (I/O space) 257 258choice 259 prompt "SMC911X bus width" 260 default SMC911X_16_BIT 261 262config SMC911X_32_BIT 263 bool "Enable 32-bit interface" 264 265config SMC911X_16_BIT 266 bool "Enable 16-bit interface" 267 help 268 Define this if data bus is 16 bits. If your processor 269 automatically converts one 32 bit word to two 16 bit 270 words you may also try CONFIG_SMC911X_32_BIT. 271 272endchoice 273endif #SMC911X 274 275config SUN7I_GMAC 276 bool "Enable Allwinner GMAC Ethernet support" 277 help 278 Enable the support for Sun7i GMAC Ethernet controller 279 280config SUN7I_GMAC_FORCE_TXERR 281 bool "Force PA17 as gmac function" 282 depends on SUN7I_GMAC 283 help 284 Some ethernet phys needs TXERR control. Since the GMAC 285 doesn't have such signal, setting PA17 as GMAC function 286 makes the pin output low, which enables data transmission. 287 288config SUN4I_EMAC 289 bool "Allwinner Sun4i Ethernet MAC support" 290 depends on DM_ETH 291 select PHYLIB 292 help 293 This driver supports the Allwinner based SUN4I Ethernet MAC. 294 295config SUN8I_EMAC 296 bool "Allwinner Sun8i Ethernet MAC support" 297 depends on DM_ETH 298 select PHYLIB 299 select PHY_GIGE 300 help 301 This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC. 302 It can be found in H3/A64/A83T based SoCs and compatible with both 303 External and Internal PHYs. 304 305config SH_ETHER 306 bool "Renesas SH Ethernet MAC" 307 select PHYLIB 308 help 309 This driver supports the Ethernet for Renesas SH and ARM SoCs. 310 311config XILINX_AXIEMAC 312 depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP) 313 select PHYLIB 314 select MII 315 bool "Xilinx AXI Ethernet" 316 help 317 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs. 318 319config XILINX_EMACLITE 320 depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS) 321 select PHYLIB 322 select MII 323 bool "Xilinx Ethernetlite" 324 help 325 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs. 326 327config ZYNQ_GEM 328 depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP) 329 select PHYLIB 330 bool "Xilinx Ethernet GEM" 331 help 332 This MAC is present in Xilinx Zynq and ZynqMP SoCs. 333 334config PIC32_ETH 335 bool "Microchip PIC32 Ethernet Support" 336 depends on DM_ETH && MACH_PIC32 337 select PHYLIB 338 help 339 This driver implements 10/100 Mbps Ethernet and MAC layer for 340 Microchip PIC32 microcontrollers. 341 342config GMAC_ROCKCHIP 343 bool "Rockchip Synopsys Designware Ethernet MAC" 344 depends on DM_ETH && ETH_DESIGNWARE 345 help 346 This driver provides Rockchip SoCs network support based on the 347 Synopsys Designware driver. 348 349config RENESAS_RAVB 350 bool "Renesas Ethernet AVB MAC" 351 depends on DM_ETH && RCAR_GEN3 352 select PHYLIB 353 help 354 This driver implements support for the Ethernet AVB block in 355 Renesas M3 and H3 SoCs. 356 357config MPC8XX_FEC 358 bool "Fast Ethernet Controller on MPC8XX" 359 depends on MPC8xx 360 select MII 361 help 362 This driver implements support for the Fast Ethernet Controller 363 on MPC8XX 364 365config ETHER_ON_FEC1 366 bool "FEC1" 367 depends on MPC8XX_FEC 368 default y 369 370config FEC1_PHY 371 int "FEC1 PHY" 372 depends on ETHER_ON_FEC1 373 default -1 374 help 375 Define to the hardcoded PHY address which corresponds 376 to the given FEC; i. e. 377 #define CONFIG_FEC1_PHY 4 378 means that the PHY with address 4 is connected to FEC1 379 380 When set to -1, means to probe for first available. 381 382config PHY_NORXERR 383 bool "PHY_NORXERR" 384 depends on ETHER_ON_FEC1 385 default n 386 help 387 The PHY does not have a RXERR line (RMII only). 388 (so program the FEC to ignore it). 389 390config ETHER_ON_FEC2 391 bool "FEC2" 392 depends on MPC8XX_FEC && MPC885 393 default y 394 395config FEC2_PHY 396 int "FEC2 PHY" 397 depends on ETHER_ON_FEC2 398 default -1 399 help 400 Define to the hardcoded PHY address which corresponds 401 to the given FEC; i. e. 402 #define CONFIG_FEC1_PHY 4 403 means that the PHY with address 4 is connected to FEC1 404 405 When set to -1, means to probe for first available. 406 407config FEC2_PHY_NORXERR 408 bool "PHY_NORXERR" 409 depends on ETHER_ON_FEC2 410 default n 411 help 412 The PHY does not have a RXERR line (RMII only). 413 (so program the FEC to ignore it). 414 415config SYS_DPAA_QBMAN 416 bool "Device tree fixup for QBMan on freescale SOCs" 417 depends on (ARM || PPC) && !SPL_BUILD 418 default y if ARCH_B4860 || \ 419 ARCH_B4420 || \ 420 ARCH_P1023 || \ 421 ARCH_P2041 || \ 422 ARCH_T1023 || \ 423 ARCH_T1024 || \ 424 ARCH_T1040 || \ 425 ARCH_T1042 || \ 426 ARCH_T2080 || \ 427 ARCH_T2081 || \ 428 ARCH_T4240 || \ 429 ARCH_T4160 || \ 430 ARCH_P4080 || \ 431 ARCH_P3041 || \ 432 ARCH_P5040 || \ 433 ARCH_P5020 || \ 434 ARCH_LS1043A || \ 435 ARCH_LS1046A 436 help 437 QBman fixups to allow deep sleep in DPAA 1 SOCs 438 439config TSEC_ENET 440 select PHYLIB 441 bool "Enable Three-Speed Ethernet Controller" 442 help 443 This driver implements support for the (Enhanced) Three-Speed 444 Ethernet Controller found on Freescale SoCs. 445 446endif # NETDEVICES 447