Direct MII connection between MPC8313 and VIRTEX FPGA

Grant Likely grant.likely at
Fri Jun 26 06:05:49 EST 2009

On Thu, Jun 25, 2009 at 9:11 AM, Frank
Prepelica<Frank.Prepelica at> wrote:
> Hi all,
> we removed the ethernet PHYs (MARVELL) from our customized board (based on MPC8313ERDB) and
> connected the CPU Ethernet lines directly to a FPGA which is now emulating the PHY. But the ifconfig
> command cannot find that eth device anymore. Does the emulated PHY needs to provide MDIO
> information that the ETH device can be found again?

No, you just need to make sure that the Ethernet driver is able to
support fixed speed MII links without a PHY.  It's trivial to do, but
not all drivers support it.  Search for "current-speed" in
drivers/net/fec_mpc52xx.c for an example.


Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

More information about the Linuxppc-dev mailing list