• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-only
2config FS_ENET
3	tristate "Freescale Ethernet Driver"
4	depends on NET_VENDOR_FREESCALE && (CPM1 || CPM2 || PPC_MPC512x)
5	select MII
6	select PHYLIB
7
8config FS_ENET_MPC5121_FEC
9	def_bool y if (FS_ENET && PPC_MPC512x)
10	select FS_ENET_HAS_FEC
11
12config FS_ENET_HAS_SCC
13	bool "Chip has an SCC usable for ethernet"
14	depends on FS_ENET && (CPM1 || CPM2)
15	default y
16
17config FS_ENET_HAS_FCC
18	bool "Chip has an FCC usable for ethernet"
19	depends on FS_ENET && CPM2
20	default y
21
22config FS_ENET_HAS_FEC
23	bool "Chip has an FEC usable for ethernet"
24	depends on FS_ENET && (CPM1 || FS_ENET_MPC5121_FEC)
25	select FS_ENET_MDIO_FEC
26	default y
27
28config FS_ENET_MDIO_FEC
29	tristate "MDIO driver for FEC"
30	depends on FS_ENET && (CPM1 || FS_ENET_MPC5121_FEC)
31
32config FS_ENET_MDIO_FCC
33	tristate "MDIO driver for FCC"
34	depends on FS_ENET && CPM2
35	select MDIO_BITBANG
36