# SPDX-License-Identifier: GPL-2.0-only
#
# Freescale device configuration
#
config [31mCONFIG_NET_VENDOR_FREESCALE[0m
bool "Freescale devices"
default y
depends on [31mCONFIG_FSL_SOC[0m || [31mCONFIG_QUICC_ENGINE[0m || [31mCONFIG_CPM1[0m || [31mCONFIG_CPM2[0m || [31mCONFIG_PPC_MPC512x[0m || \
[31mCONFIG_M523x[0m || [31mCONFIG_M527x[0m || [31mCONFIG_M5272[0m || [31mCONFIG_M528x[0m || [31mCONFIG_M520x[0m || [31mCONFIG_M532x[0m || \
[31mCONFIG_ARCH_MXC[0m || [31mCONFIG_ARCH_MXS[0m || ([31mCONFIG_PPC_MPC52xx[0m && [31mCONFIG_PPC_BESTCOMM[0m) || \
[31mCONFIG_ARCH_LAYERSCAPE[0m || [31mCONFIG_COMPILE_TEST[0m
---help---
If you have a network (Ethernet) card belonging to this class, say Y.
Note that the answer to this question doesn't directly affect the
kernel: saying N will just cause the configurator to skip all
the questions about Freescale devices. If you say Y, you will be
asked for your specific card in the following questions.
if [31mCONFIG_NET_VENDOR_FREESCALE[0m
config [31mCONFIG_FEC[0m
tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)"
depends on ([31mCONFIG_M523x[0m || [31mCONFIG_M527x[0m || [31mCONFIG_M5272[0m || [31mCONFIG_M528x[0m || [31mCONFIG_M520x[0m || [31mCONFIG_M532x[0m || \
[31mCONFIG_ARCH_MXC[0m || [31mCONFIG_SOC_IMX28[0m || [31mCONFIG_COMPILE_TEST[0m)
default [31mCONFIG_ARCH_MXC[0m || [31mCONFIG_SOC_IMX28[0m if [31mCONFIG_ARM[0m
select [31mCONFIG_PHYLIB[0m
imply [31mCONFIG_PTP_1588_CLOCK[0m
---help---
Say Y here if you want to use the built-in 10/100 Fast ethernet
controller on some Motorola ColdFire and Freescale i.MX processors.
config [31mCONFIG_FEC_MPC52xx[0m
tristate "FEC MPC52xx driver"
depends on [31mCONFIG_PPC_MPC52xx[0m && [31mCONFIG_PPC_BESTCOMM[0m
select [31mCONFIG_CRC32[0m
select [31mCONFIG_PHYLIB[0m
select [31mCONFIG_PPC_BESTCOMM_FEC[0m
---help---
This option enables support for the MPC5200's on-chip
Fast Ethernet Controller
If compiled as module, it will be called fec_mpc52xx.
config [31mCONFIG_FEC_MPC52xx_MDIO[0m
bool "FEC MPC52xx MDIO bus driver"
depends on [31mCONFIG_FEC_MPC52xx[0m
default y
---help---
The MPC5200's [31mCONFIG_FEC[0m can connect to the Ethernet either with
an external [31mCONFIG_MII[0m PHY chip or 10 Mbps 7-wire interface
(Motorola? industry standard).
If your board uses an external PHY connected to [31mCONFIG_FEC[0m, enable this.
If not sure, enable.
If compiled as module, it will be called fec_mpc52xx_phy.
source "drivers/net/ethernet/freescale/fs_enet/Kconfig"
source "drivers/net/ethernet/freescale/fman/Kconfig"
config [31mCONFIG_FSL_PQ_MDIO[0m
tristate "Freescale PQ MDIO"
select [31mCONFIG_PHYLIB[0m
---help---
This driver supports the [31mCONFIG_MDIO[0m bus used by the gianfar and [31mCONFIG_UCC[0m drivers.
config [31mCONFIG_FSL_XGMAC_MDIO[0m
tristate "Freescale XGMAC MDIO"
select [31mCONFIG_PHYLIB[0m
depends on [31mCONFIG_OF[0m
select [31mCONFIG_OF_MDIO[0m
---help---
This driver supports the [31mCONFIG_MDIO[0m bus on the Fman 10G Ethernet MACs, and
on the FMan mEMAC (which supports both Clauses 22 and 45)
config [31mCONFIG_UCC_GETH[0m
tristate "Freescale QE Gigabit Ethernet"
depends on [31mCONFIG_QUICC_ENGINE[0m
select [31mCONFIG_FSL_PQ_MDIO[0m
select [31mCONFIG_PHYLIB[0m
---help---
This driver supports the Gigabit Ethernet mode of the QUICC Engine,
which is available on some Freescale SOCs.
config [31mCONFIG_UGETH_TX_ON_DEMAND[0m
bool "Transmit on Demand support"
depends on [31mCONFIG_UCC_GETH[0m
config [31mCONFIG_GIANFAR[0m
tristate "Gianfar Ethernet"
depends on [31mCONFIG_HAS_DMA[0m
select [31mCONFIG_FSL_PQ_MDIO[0m
select [31mCONFIG_PHYLIB[0m
select [31mCONFIG_CRC32[0m
---help---
This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx,
and MPC86xx family of chips, the eTSEC on LS1021A and the [31mCONFIG_FEC[0m
on the 8540.
source "drivers/net/ethernet/freescale/dpaa/Kconfig"
source "drivers/net/ethernet/freescale/dpaa2/Kconfig"
source "drivers/net/ethernet/freescale/enetc/Kconfig"
endif # [31mCONFIG_NET_VENDOR_FREESCALE[0m