Kernel config
----------------------------
│ Symbol: FS_ENET [=n] │
│ Type : tristate │
│ Prompt: Freescale Ethernet Driver │
│ Location: │
│ -> Device Drivers │
│ -> Network device support (NETDEVICES [=y]) │
│ -> Ethernet driver support (ETHERNET [=y]) │
│ (1) -> Freescale devices (NET_VENDOR_FREESCALE [=y]) │
│ Defined at drivers/net/ethernet/freescale/fs_enet/Kconfig:2 │
│ Depends on: NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_FREESCALE [=y] && (CPM1 || CPM2 || PPC_MPC512x) │
│ Selects: MII [=y] && PHYLIB [=y]
More info
======
https://cateee.net/lkddb/web-lkddb/FS_ENET.html
Query:
======
Why(CPM1 || CPM2 || PPC_MPC512x) necessary for FS_ENET support?
Because the ENET module it is basically the same from the MPC512, it is the same IP, this means that we can reuse some of the code that it is avialable for the other device.
If Arch is arm, then how we can enable PowerPC arch ?
Like..
./arch/powerpc/sysdev/Makefile:45:obj-$(CONFIG_PPC_MPC512x) += mpc5xxx_clocks.o
./arch/powerpc/platforms/Makefile:10:obj-$(CONFIG_PPC_MPC512x) += 512x/
Can't we enabled FS NET directly ?