18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig FS_ENET
38c2ecf20Sopenharmony_ci	tristate "Freescale Ethernet Driver"
48c2ecf20Sopenharmony_ci	depends on NET_VENDOR_FREESCALE && (CPM1 || CPM2 || PPC_MPC512x)
58c2ecf20Sopenharmony_ci	select MII
68c2ecf20Sopenharmony_ci	select PHYLIB
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciconfig FS_ENET_MPC5121_FEC
98c2ecf20Sopenharmony_ci	def_bool y if (FS_ENET && PPC_MPC512x)
108c2ecf20Sopenharmony_ci	select FS_ENET_HAS_FEC
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciconfig FS_ENET_HAS_SCC
138c2ecf20Sopenharmony_ci	bool "Chip has an SCC usable for ethernet"
148c2ecf20Sopenharmony_ci	depends on FS_ENET && (CPM1 || CPM2)
158c2ecf20Sopenharmony_ci	default y
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciconfig FS_ENET_HAS_FCC
188c2ecf20Sopenharmony_ci	bool "Chip has an FCC usable for ethernet"
198c2ecf20Sopenharmony_ci	depends on FS_ENET && CPM2
208c2ecf20Sopenharmony_ci	default y
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciconfig FS_ENET_HAS_FEC
238c2ecf20Sopenharmony_ci	bool "Chip has an FEC usable for ethernet"
248c2ecf20Sopenharmony_ci	depends on FS_ENET && (CPM1 || FS_ENET_MPC5121_FEC)
258c2ecf20Sopenharmony_ci	select FS_ENET_MDIO_FEC
268c2ecf20Sopenharmony_ci	default y
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciconfig FS_ENET_MDIO_FEC
298c2ecf20Sopenharmony_ci	tristate "MDIO driver for FEC"
308c2ecf20Sopenharmony_ci	depends on FS_ENET && (CPM1 || FS_ENET_MPC5121_FEC)
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciconfig FS_ENET_MDIO_FCC
338c2ecf20Sopenharmony_ci	tristate "MDIO driver for FCC"
348c2ecf20Sopenharmony_ci	depends on FS_ENET && CPM2
358c2ecf20Sopenharmony_ci	select MDIO_BITBANG
36