summary refs log tree commit diff stats
path: root/hw/net/xilinx_ethlite.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-05-08 14:03:14 +0200
committerThomas Huth <thuth@redhat.com>2023-05-16 09:14:18 +0200
commita9ea0a9c930eedbc6356869099468cbe27cc7705 (patch)
treedfdcbc94bc5395bbafc2ade5cecf3cf970888799 /hw/net/xilinx_ethlite.c
parent89c81b3d4c1ccafa22f58a6169c9410003654b8e (diff)
downloadfocaccia-qemu-a9ea0a9c930eedbc6356869099468cbe27cc7705.tar.gz
focaccia-qemu-a9ea0a9c930eedbc6356869099468cbe27cc7705.zip
hw/net: Move xilinx_ethlite.c to the target-independent source set
Now that the tswap() functions are available for target-independent
code, too, we can move xilinx_ethlite.c from specific_ss to softmmu_ss
to avoid that we have to compile this file multiple times.

Message-Id: <20230508120314.59274-1-thuth@redhat.com>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/net/xilinx_ethlite.c')
-rw-r--r--hw/net/xilinx_ethlite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/xilinx_ethlite.c b/hw/net/xilinx_ethlite.c
index 99c22819ea..89f4f3b254 100644
--- a/hw/net/xilinx_ethlite.c
+++ b/hw/net/xilinx_ethlite.c
@@ -25,7 +25,7 @@
 #include "qemu/osdep.h"
 #include "qemu/module.h"
 #include "qom/object.h"
-#include "cpu.h" /* FIXME should not use tswap* */
+#include "exec/tswap.h"
 #include "hw/sysbus.h"
 #include "hw/irq.h"
 #include "hw/qdev-properties.h"