summary refs log tree commit diff stats
path: root/tests/qtest/libqos/e1000e.h
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-01-14 12:59:19 +0900
committerThomas Huth <thuth@redhat.com>2023-01-18 12:27:21 +0100
commit57b8d8d6c20f85f53bb3d4ad3bb3ec03e942f05c (patch)
treebfafb2b2506cacfc2e529b5edde5b6a652dfcb40 /tests/qtest/libqos/e1000e.h
parentda994bac07b486b5c5dc50ee411ba0bcf9f95e1e (diff)
downloadfocaccia-qemu-57b8d8d6c20f85f53bb3d4ad3bb3ec03e942f05c.tar.gz
focaccia-qemu-57b8d8d6c20f85f53bb3d4ad3bb3ec03e942f05c.zip
tests/qtest/libqos/e1000e: Remove duplicate register definitions
The register definitions in tests/qtest/libqos/e1000e.h had names
different from hw/net/e1000_regs.h, which made it hard to understand
what test codes corresponds to the implementation. Use
hw/net/e1000_regs.h from tests/qtest/libqos/e1000e.c to remove
these duplications.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230114035919.35251-20-akihiko.odaki@daynix.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qtest/libqos/e1000e.h')
-rw-r--r--tests/qtest/libqos/e1000e.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/qtest/libqos/e1000e.h b/tests/qtest/libqos/e1000e.h
index 3bf285af42..091ce139da 100644
--- a/tests/qtest/libqos/e1000e.h
+++ b/tests/qtest/libqos/e1000e.h
@@ -25,11 +25,6 @@
 #define E1000E_RX0_MSG_ID           (0)
 #define E1000E_TX0_MSG_ID           (1)
 
-#define E1000E_TDLEN    (0x3808)
-#define E1000E_TDT      (0x3818)
-#define E1000E_RDLEN    (0x2808)
-#define E1000E_RDT      (0x2818)
-
 typedef struct QE1000E QE1000E;
 typedef struct QE1000E_PCI QE1000E_PCI;