qemu-patch-raspberry4/include/hw/net
Greg Ungerer 299f7bec5a hw/net: add simple phy support to mcf_fec driver
The Linux fec driver needs at least basic phy support to probe and work.
The current qemu mcf_fec emulation has no support for the reading or
writing of the MDIO lines to access an attached phy.

This code adds a very simple set of register results for a fixed phy
setup - very similar to that used on an m5208evb board. This is enough
to probe and identify an emulated attached phy.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1435296436-12152-4-git-send-email-gerg@uclinux.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-07-27 14:12:04 +01:00
..
allwinner_emac.h hw/net: create common collection of MII definitions 2015-07-27 14:12:04 +01:00
cadence_gem.h net: cadence_gem: Split state struct and type into header 2015-05-18 16:41:11 +01:00
mii.h hw/net: add simple phy support to mcf_fec driver 2015-07-27 14:12:04 +01:00