mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

fs_enet is a quite old but still used Ethernet driver found on some NXP devices. It has support for 10/100 Mbps ethernet, with half and full duplex. Some variants of it can use RMII, while other integrations are MII-only. Add phylink support, thus removing custom fixed-link hanldling. This also allows removing some internal flags such as the use_rmii flag. Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
35 lines
876 B
Text
35 lines
876 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
config FS_ENET
|
|
tristate "Freescale Ethernet Driver"
|
|
depends on NET_VENDOR_FREESCALE && (CPM1 || CPM2 || PPC_MPC512x)
|
|
select MII
|
|
select PHYLINK
|
|
|
|
config FS_ENET_MPC5121_FEC
|
|
def_bool y if (FS_ENET && PPC_MPC512x)
|
|
select FS_ENET_HAS_FEC
|
|
|
|
config FS_ENET_HAS_SCC
|
|
bool "Chip has an SCC usable for ethernet"
|
|
depends on FS_ENET && (CPM1 || CPM2)
|
|
default y
|
|
|
|
config FS_ENET_HAS_FCC
|
|
bool "Chip has an FCC usable for ethernet"
|
|
depends on FS_ENET && CPM2
|
|
default y
|
|
|
|
config FS_ENET_HAS_FEC
|
|
bool "Chip has an FEC usable for ethernet"
|
|
depends on FS_ENET && (CPM1 || FS_ENET_MPC5121_FEC)
|
|
select FS_ENET_MDIO_FEC
|
|
default y
|
|
|
|
config FS_ENET_MDIO_FEC
|
|
tristate "MDIO driver for FEC"
|
|
depends on FS_ENET && (CPM1 || FS_ENET_MPC5121_FEC)
|
|
|
|
config FS_ENET_MDIO_FCC
|
|
tristate "MDIO driver for FCC"
|
|
depends on FS_ENET && CPM2
|
|
select MDIO_BITBANG
|