From be7ca23929c25c8fea92f81bd93707e219409ac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Benedikt=20Kr=C3=BCger?= Date: Tue, 5 Jul 2011 14:03:21 +0200 Subject: [PATCH] benchmark --- drivers/net/mmnif.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/mmnif.c b/drivers/net/mmnif.c index 616652cc..fefbc664 100644 --- a/drivers/net/mmnif.c +++ b/drivers/net/mmnif.c @@ -77,7 +77,7 @@ extern HANDLE hProc; /* decide whether it's polling mode or not */ -static int no_irq = 0; +static int no_irq = 1; /* this will be set by open() and close() and shows wether the driver is running or not */ @@ -1202,6 +1202,8 @@ int mmnif_poll(void* e) sem_wait(&mmnif->com_poll); mmnif->stats.pll_empty = 1; } + mmnif->stats.pll_empty++; + mmnif->stats.pll_empty = 0; } mmnif->stats.pll_empty--; mmnif_rx(mmnif_dev);