aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2022-11-10 20:45:49 +0900
committerThomas Huth <thuth@redhat.com>2022-12-15 15:19:24 +0100
commit44c397b279d865db3067c272fb6ad8a825c0d546 (patch)
tree57088b7b4d84a8ba0bcb65ab65840625512b9d09
parentf2ae2fab47994efd347e9ec335696be9a3113f44 (diff)
downloadqemu-44c397b279d865db3067c272fb6ad8a825c0d546.zip
qemu-44c397b279d865db3067c272fb6ad8a825c0d546.tar.gz
qemu-44c397b279d865db3067c272fb6ad8a825c0d546.tar.bz2
tests/qtest/libqos/e1000e: Correctly group register accesses
Add a newline after E1000_TCTL write and make it clear that E1000_TCTL write is what enabling transmit. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Message-Id: <20221110114549.66081-1-akihiko.odaki@daynix.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r--tests/qtest/libqos/e1000e.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qtest/libqos/e1000e.c b/tests/qtest/libqos/e1000e.c
index 3b51baf..37c794b 100644
--- a/tests/qtest/libqos/e1000e.c
+++ b/tests/qtest/libqos/e1000e.c
@@ -151,6 +151,7 @@ static void e1000e_pci_start_hw(QOSGraphObject *obj)
/* Enable transmit */
e1000e_macreg_write(&d->e1000e, E1000_TCTL, E1000_TCTL_EN);
+
e1000e_macreg_write(&d->e1000e, E1000_RDBAL,
(uint32_t)d->e1000e.rx_ring);
e1000e_macreg_write(&d->e1000e, E1000_RDBAH,