xref: /linux/drivers/net/ethernet/freescale/fs_enet/Kconfig (revision 9410645520e9b820069761f3450ef6661418e279)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2ec21e2ecSJeff Kirsherconfig FS_ENET
3ec21e2ecSJeff Kirsher	tristate "Freescale Ethernet Driver"
4ec21e2ecSJeff Kirsher	depends on NET_VENDOR_FREESCALE && (CPM1 || CPM2 || PPC_MPC512x)
5ec21e2ecSJeff Kirsher	select MII
6*41f5fbffSMaxime Chevallier	select PHYLINK
7ec21e2ecSJeff Kirsher
8ec21e2ecSJeff Kirsherconfig FS_ENET_MPC5121_FEC
9ec21e2ecSJeff Kirsher	def_bool y if (FS_ENET && PPC_MPC512x)
10ec21e2ecSJeff Kirsher	select FS_ENET_HAS_FEC
11ec21e2ecSJeff Kirsher
12ec21e2ecSJeff Kirsherconfig FS_ENET_HAS_SCC
13ec21e2ecSJeff Kirsher	bool "Chip has an SCC usable for ethernet"
14ec21e2ecSJeff Kirsher	depends on FS_ENET && (CPM1 || CPM2)
15ec21e2ecSJeff Kirsher	default y
16ec21e2ecSJeff Kirsher
17ec21e2ecSJeff Kirsherconfig FS_ENET_HAS_FCC
18ec21e2ecSJeff Kirsher	bool "Chip has an FCC usable for ethernet"
19ec21e2ecSJeff Kirsher	depends on FS_ENET && CPM2
20ec21e2ecSJeff Kirsher	default y
21ec21e2ecSJeff Kirsher
22ec21e2ecSJeff Kirsherconfig FS_ENET_HAS_FEC
23ec21e2ecSJeff Kirsher	bool "Chip has an FEC usable for ethernet"
24ec21e2ecSJeff Kirsher	depends on FS_ENET && (CPM1 || FS_ENET_MPC5121_FEC)
25ec21e2ecSJeff Kirsher	select FS_ENET_MDIO_FEC
26ec21e2ecSJeff Kirsher	default y
27ec21e2ecSJeff Kirsher
28ec21e2ecSJeff Kirsherconfig FS_ENET_MDIO_FEC
29ec21e2ecSJeff Kirsher	tristate "MDIO driver for FEC"
30ec21e2ecSJeff Kirsher	depends on FS_ENET && (CPM1 || FS_ENET_MPC5121_FEC)
31ec21e2ecSJeff Kirsher
32ec21e2ecSJeff Kirsherconfig FS_ENET_MDIO_FCC
33ec21e2ecSJeff Kirsher	tristate "MDIO driver for FCC"
34ec21e2ecSJeff Kirsher	depends on FS_ENET && CPM2
35ec21e2ecSJeff Kirsher	select MDIO_BITBANG
36