]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
tests/qtest/libqos/e1000e: Correctly group register accesses
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 10 Nov 2022 11:45:49 +0000 (20:45 +0900)
committerThomas Huth <thuth@redhat.com>
Thu, 15 Dec 2022 14:19:24 +0000 (15:19 +0100)
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>
tests/qtest/libqos/e1000e.c

index 3b51bafcb7ab642c0f99fba466b8b1118b373a35..37c794b1301a70d3e20d3cf64318130b09f14bf6 100644 (file)
@@ -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,