CONFIG_FEC is not good for mpc8xx ethernet?
Shawn Jin
shawnxjin at gmail.com
Mon Oct 18 19:13:30 EST 2010
Hi,
My target is a mpc875 based board and has FEC ethernet. The phy is
AM79C874. I have the following configuration for the network support.
CONFIG_PHYLIB=y
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
CONFIG_FS_ENET=y
CONFIG_FS_ENET_HAS_FEC=y
CONFIG_FS_ENET_MDIO_FEC=y
However I found that the phy support (AM79C874) is actually in
drivers/net/fec.c which is compiled only when CONFIG_FEC=y. However
CONFIG_FEC is not on for mpc8xx targets, seen the dependency below.
config FEC
bool "FEC ethernet controller (of ColdFire and some i.MX CPUs)"
depends on M523x || M527x || M5272 || M528x || M520x || M532x
|| MACH_MX27 || ARCH_MX35 || ARCH_MX25
help
Say Y here if you want to use the built-in 10/100 Fast ethernet
controller on some Motorola ColdFire and Freescale i.MX processors.
Does it mean that the phy driver for AM79C874 doesn't exist for MPC8xx
and I'll have to write one for myself?
Thanks,
-Shawn.
More information about the Linuxppc-dev
mailing list