projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efb56cf
)
pcnet: Restart poll timer on pcnet_start
author
Jan Kiszka
<jan.kiszka@siemens.com>
Wed, 7 Oct 2009 16:19:42 +0000
(18:19 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Fri, 9 Oct 2009 02:17:22 +0000
(21:17 -0500)
Just like we call into pcnet_poll_timer on stop, we need to call it on
start to trigger the setup of the poll timer.
Patchworks-ID: 35313
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pcnet.c
patch
|
blob
|
history
diff --git
a/hw/pcnet.c
b/hw/pcnet.c
index
4ba1dcc
..
afeaca7
100644
(file)
--- a/
hw/pcnet.c
+++ b/
hw/pcnet.c
@@
-935,6
+935,7
@@
static void pcnet_start(PCNetState *s)
s->csr[0] &= ~0x0004; /* clear STOP bit */
s->csr[0] |= 0x0002;
+ pcnet_poll_timer(s);
}
static void pcnet_stop(PCNetState *s)