1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Freescale Ethernet Driver"
4 depends on NET_VENDOR_FREESCALE && (CPM1 || CPM2 || PPC_MPC512x)
8 config FS_ENET_MPC5121_FEC
9 def_bool y if (FS_ENET && PPC_MPC512x)
10 select FS_ENET_HAS_FEC
12 config FS_ENET_HAS_SCC
13 bool "Chip has an SCC usable for ethernet"
14 depends on FS_ENET && (CPM1 || CPM2)
17 config FS_ENET_HAS_FCC
18 bool "Chip has an FCC usable for ethernet"
19 depends on FS_ENET && CPM2
22 config 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
28 config FS_ENET_MDIO_FEC
29 tristate "MDIO driver for FEC"
30 depends on FS_ENET && (CPM1 || FS_ENET_MPC5121_FEC)
32 config FS_ENET_MDIO_FCC
33 tristate "MDIO driver for FCC"
34 depends on FS_ENET && CPM2