From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvZF1-0001hW-Bk for qemu-devel@nongnu.org; Wed, 07 Oct 2009 12:19:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvZEw-0001fV-Gl for qemu-devel@nongnu.org; Wed, 07 Oct 2009 12:19:51 -0400 Received: from [199.232.76.173] (port=56963 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvZEw-0001fR-CX for qemu-devel@nongnu.org; Wed, 07 Oct 2009 12:19:46 -0400 Received: from goliath.siemens.de ([192.35.17.28]:21724) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MvZEv-0001Aj-O5 for qemu-devel@nongnu.org; Wed, 07 Oct 2009 12:19:46 -0400 Received: from mail3.siemens.de (localhost [127.0.0.1]) by goliath.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id n97GJgP8013113 for ; Wed, 7 Oct 2009 18:19:42 +0200 Received: from [139.25.109.167] (mchn012c.ww002.siemens.net [139.25.109.167] (may be forged)) by mail3.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id n97GJg0T004458 for ; Wed, 7 Oct 2009 18:19:42 +0200 Message-ID: <4ACCBF9E.8050104@siemens.com> Date: Wed, 07 Oct 2009 18:19:42 +0200 From: Jan Kiszka MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [STABLE][PATCH] pcnet: Restart poll timer on pcnet_start List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel 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. Signed-off-by: Jan Kiszka --- hw/pcnet.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pcnet.c b/hw/pcnet.c index ee0c98c..69d4406 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)