diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-10-07 18:19:42 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-08 21:17:22 -0500 |
commit | ad323081aa0e20d3d573ea64e88a893d576c05e0 (patch) | |
tree | 26e522b09b5bf9ad92fac1e2d3c4cdab70de5028 /hw/pcnet.c | |
parent | efb56cf7c2e8c21d6c00a2f14b3e780bdba344a6 (diff) |
pcnet: Restart poll timer on pcnet_start
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>
Diffstat (limited to 'hw/pcnet.c')
-rw-r--r-- | hw/pcnet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pcnet.c b/hw/pcnet.c index 4ba1dcc8ae..afeaca7f1d 100644 --- 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) |