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