mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
f2ae2fab47
commit
44c397b279
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue