diff --git a/drivers/net/mmnif.c b/drivers/net/mmnif.c index 297bcec4..fa0da30e 100644 --- a/drivers/net/mmnif.c +++ b/drivers/net/mmnif.c @@ -23,7 +23,7 @@ #include /* struct iphdr*/ #include /* tcpip_input()*/ -#define DEBUG_MMNIF +//#define DEBUG_MMNIF #ifdef DEBUG_MMNIF #include "util.h" /* hex dump */ @@ -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 */ @@ -85,7 +85,7 @@ static int active = 0; /* decide wheter it's uses locking or not */ -static int disable_locking = 0; +static int disable_locking = 1; /* decide whether deliver work to a worker thread or instantly process all packets */ diff --git a/kernel/tests.c b/kernel/tests.c index 1eee0018..0dad1458 100644 --- a/kernel/tests.c +++ b/kernel/tests.c @@ -276,7 +276,7 @@ void* client_task(void* e) for (n = 0; n < 1024; n++) recv(sd,dir,sizeof(dir),0); - close(sd); +// close(sd); return NULL; }