From 97575f89c96983142120d2459de1958a74acf513 Mon Sep 17 00:00:00 2001 From: Robert Dickenson Date: Mon, 7 Oct 2002 12:44:51 +0000 Subject: [PATCH] Added define _USE_NE2000 with increased tracing level instead of #if 0 block to bind stack to NIC. svn path=/trunk/; revision=3630 --- reactos/drivers/net/tcpip/tcpip/main.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reactos/drivers/net/tcpip/tcpip/main.c b/reactos/drivers/net/tcpip/tcpip/main.c index 20cadbe3301..dde71b9adcc 100644 --- a/reactos/drivers/net/tcpip/tcpip/main.c +++ b/reactos/drivers/net/tcpip/tcpip/main.c @@ -16,12 +16,19 @@ #include #include +//#define _USE_NE2000 + #ifdef DBG /* See debug.h for debug/trace constants */ +#ifdef _USE_NE2000 +DWORD DebugTraceLevel = MID_TRACE; +//DWORD DebugTraceLevel = (MAX_TRACE + DEBUG_DATALINK); +#else DWORD DebugTraceLevel = MIN_TRACE; //DWORD DebugTraceLevel = MAX_TRACE; //DWORD DebugTraceLevel = DEBUG_ULTRA; +#endif #endif /* DBG */ @@ -818,7 +825,7 @@ DriverEntry( /* FIXME: Get binding information from registry */ /* Put your own NDIS adapter device name here */ -#if 0 +#ifdef _USE_NE2000 /* ReactOS */ NdisInitUnicodeString(&DeviceName, L"\\Device\\ne2000");