aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/fsl-imx25.c
diff options
context:
space:
mode:
authorJean-Christophe Dubois <jcd@tribudubois.net>2016-05-30 19:26:10 +0200
committerJason Wang <jasowang@redhat.com>2016-06-02 10:42:46 +0800
commita699b410d7120dd67bc6c9beae44868780866f09 (patch)
treef312503e0fb76cc9284a4e951daff150ab764be3 /hw/arm/fsl-imx25.c
parentdb0de35268066108c693db52db24e89581878dd4 (diff)
downloadqemu-a699b410d7120dd67bc6c9beae44868780866f09.zip
qemu-a699b410d7120dd67bc6c9beae44868780866f09.tar.gz
qemu-a699b410d7120dd67bc6c9beae44868780866f09.tar.bz2
Add ENET/Gbps Ethernet support to FEC device
The ENET device (present in i.MX6) is "derived" from FEC and backward compatible with it. This patch adds the necessary support of the added feature in the ENET device to allow Linux to use it (on supported processors). Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/arm/fsl-imx25.c')
-rw-r--r--hw/arm/fsl-imx25.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/fsl-imx25.c b/hw/arm/fsl-imx25.c
index 2f878b9..1cd749a 100644
--- a/hw/arm/fsl-imx25.c
+++ b/hw/arm/fsl-imx25.c
@@ -191,6 +191,7 @@ static void fsl_imx25_realize(DeviceState *dev, Error **errp)
}
qdev_set_nic_properties(DEVICE(&s->fec), &nd_table[0]);
+
object_property_set_bool(OBJECT(&s->fec), true, "realized", &err);
if (err) {
error_propagate(errp, err);